org.jboss.seam.intercept
public final class Interceptor extends Reflections
| Constructor and Description |
|---|
Interceptor(Class[] classes,
Annotation annotation,
Component component) |
Interceptor(Object interceptor,
Component component) |
| Modifier and Type | Method and Description |
|---|---|
Object |
aroundInvoke(InvocationContext invocation,
Object userInterceptor) |
Object |
aroundTimeout(InvocationContext invocation,
Object userInterceptor) |
Object |
createUserInterceptor() |
InterceptorType |
getType() |
Class |
getUserInterceptorClass() |
boolean |
isInterceptorEnabled()
Return true if the interceptor should be enabled for the component instance
Should only be called during deployment
|
boolean |
isOptimized() |
Object |
postActivate(InvocationContext invocation,
Object userInterceptor) |
Object |
postConstruct(InvocationContext invocation,
Object userInterceptor) |
Object |
preDestroy(InvocationContext invocation,
Object userInterceptor) |
Object |
prePassivate(InvocationContext invocation,
Object userInterceptor) |
String |
toString() |
classForName, get, getAndWrap, getCollectionElementType, getField, getFields, getGetterMethod, getGetterMethods, getMapKeyType, getMethod, getMethod, getSetterMethod, invoke, invokeAndWrap, isClassAvailable, isInstanceOf, set, setAndWrap, toString, toStringpublic Interceptor(Class[] classes, Annotation annotation, Component component)
public Object createUserInterceptor()
public Class getUserInterceptorClass()
public InterceptorType getType()
public boolean isOptimized()
public Object aroundInvoke(InvocationContext invocation, Object userInterceptor) throws Exception
Exceptionpublic Object aroundTimeout(InvocationContext invocation, Object userInterceptor) throws Exception
Exceptionpublic Object postConstruct(InvocationContext invocation, Object userInterceptor) throws Exception
Exceptionpublic Object preDestroy(InvocationContext invocation, Object userInterceptor) throws Exception
Exceptionpublic Object prePassivate(InvocationContext invocation, Object userInterceptor) throws Exception
Exceptionpublic Object postActivate(InvocationContext invocation, Object userInterceptor) throws Exception
Exceptionpublic boolean isInterceptorEnabled()
Copyright © 2015 Seam Framework. All Rights Reserved.