public interface LifecycleInterceptorService
LifecycleInterceptor
services and orders them
to an interceptor chain according to their input/output requirements and relative order.Modifier and Type | Method and Description |
---|---|
void |
handleStateChange(int state,
org.osgi.framework.Bundle bundle)
Invoke the registered set of interceptors for the given bundle state change.
|
void |
start(org.osgi.framework.BundleContext bundleContext)
Start tracking
LifecycleInterceptor services |
void |
stop()
Start tracking
LifecycleInterceptor services |
void start(org.osgi.framework.BundleContext bundleContext)
LifecycleInterceptor
servicesvoid stop()
LifecycleInterceptor
servicesvoid handleStateChange(int state, org.osgi.framework.Bundle bundle)
state
- The future state of the bundlebundle
- The bundle that changes stateLifecycleInterceptorException
- if the invocation of an interceptor failsCopyright © 2013 JBoss by Red Hat. All rights reserved.