public class InterceptorInvocationContext extends Object implements ExperimentalInvocationContext
| Constructor and Description |
|---|
InterceptorInvocationContext(InterceptionChain interceptionChain,
Constructor<?> constructor,
Object[] parameters,
Map<String,Object> contextData,
Set<Annotation> interceptorBindings) |
InterceptorInvocationContext(InterceptionChain interceptionChain,
Object target,
Method targetMethod,
Object[] parameters,
Set<Annotation> interceptorBindings) |
InterceptorInvocationContext(InterceptionChain interceptionChain,
Object target,
Method targetMethod,
Object timer,
Set<Annotation> interceptorBindings) |
| Modifier and Type | Method and Description |
|---|---|
Constructor<?> |
getConstructor() |
Map<String,Object> |
getContextData() |
Set<Annotation> |
getInterceptorBindings()
The returning set may be empty if only interceptors using the
Interceptors annotation are associated. |
<T extends Annotation> |
getInterceptorBindingsByType(Class<T> annotationType)
The returning set may be empty if only interceptors using the
Interceptors annotation are associated. |
Method |
getMethod() |
Object[] |
getParameters() |
Object |
getTarget() |
Object |
getTimer() |
Object |
proceed() |
void |
setParameters(Object[] params) |
public InterceptorInvocationContext(InterceptionChain interceptionChain, Object target, Method targetMethod, Object[] parameters, Set<Annotation> interceptorBindings)
public InterceptorInvocationContext(InterceptionChain interceptionChain, Object target, Method targetMethod, Object timer, Set<Annotation> interceptorBindings)
public InterceptorInvocationContext(InterceptionChain interceptionChain, Constructor<?> constructor, Object[] parameters, Map<String,Object> contextData, Set<Annotation> interceptorBindings)
public Map<String,Object> getContextData()
getContextData in interface InvocationContextpublic Method getMethod()
getMethod in interface InvocationContextpublic Object[] getParameters()
getParameters in interface InvocationContextpublic Object getTarget()
getTarget in interface InvocationContextpublic Object proceed() throws Exception
proceed in interface InvocationContextExceptionpublic void setParameters(Object[] params)
setParameters in interface InvocationContextpublic Object getTimer()
getTimer in interface InvocationContextpublic Constructor<?> getConstructor()
getConstructor in interface InvocationContextpublic <T extends Annotation> Set<T> getInterceptorBindingsByType(Class<T> annotationType)
ExperimentalInvocationContextInterceptors annotation are associated.getInterceptorBindingsByType in interface ExperimentalInvocationContextpublic Set<Annotation> getInterceptorBindings()
ExperimentalInvocationContextInterceptors annotation are associated.getInterceptorBindings in interface ExperimentalInvocationContextCopyright © 2014. All Rights Reserved.