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<AttachmentKey<?>> |
getInput()
Get the required set of inputs.
|
Set<AttachmentKey<?>> |
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<AttachmentKey<?>> getInput()
Set<AttachmentKey<?>> 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 © 2013 JBoss by Red Hat. All Rights Reserved.