public class InterceptorWrapper extends Object implements LifecycleInterceptor
RELATIVE_ORDER_DEFAULT| Constructor and Description |
|---|
InterceptorWrapper(LifecycleInterceptor delegate) |
| 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 |
String |
toLongString() |
String |
toString() |
public InterceptorWrapper(LifecycleInterceptor delegate)
public Set<Class<?>> getInput()
LifecycleInterceptorgetInput in interface LifecycleInterceptorpublic Set<Class<?>> getOutput()
LifecycleInterceptorgetOutput in interface LifecycleInterceptorpublic int getRelativeOrder()
LifecycleInterceptorgetRelativeOrder in interface LifecycleInterceptorpublic void invoke(int state,
InvocationContext context)
throws LifecycleInterceptorException
LifecycleInterceptorLifecycleInterceptorService when the
given bundle is about to change to the given stateinvoke in interface LifecycleInterceptorstate - The future state of the bundlecontext - The interceptor contextLifecycleInterceptorException - if the invocation of the interceptor failspublic String toLongString()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.