|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LifecycleInterceptor
An OSGi bundle lifecycle interceptor.
Field Summary | |
---|---|
static int |
RELATIVE_ORDER_DEFAULT
The default relative order: 1000 |
Method Summary | |
---|---|
Set<Class<?>> |
getInput()
Get the required set of inputs. |
Set<Class<?>> |
getOutput()
Get the provided set of outputs. |
int |
getRelativeOrder()
Get the relative order of this interceptor |
void |
invoke(int state,
InvocationContext context)
Called by the LifecycleInterceptorService when the
given bundle is about to change to the given state |
Field Detail |
---|
static final int RELATIVE_ORDER_DEFAULT
Method Detail |
---|
int getRelativeOrder()
Set<Class<?>> getInput()
Set<Class<?>> getOutput()
void invoke(int state, InvocationContext context) throws LifecycleInterceptorException
LifecycleInterceptorService
when the
given bundle is about to change to the given state
state
- The future state of the bundlecontext
- The interceptor context
LifecycleInterceptorException
- if the invocation of the interceptor fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |