public interface LifecycleInterceptor
| Modifier and Type | Field and Description |
|---|---|
static int |
RELATIVE_ORDER_DEFAULT
The default relative order: 1000
|
| Modifier and Type | Method and Description |
|---|---|
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 |
static final int RELATIVE_ORDER_DEFAULT
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 statestate - The future state of the bundlecontext - The interceptor contextLifecycleInterceptorException - if the invocation of the interceptor failsCopyright © 2012 JBoss by Red Hat. All Rights Reserved.