org.jboss.seam.intercept
Class Interceptor
java.lang.Object
org.jboss.seam.util.Reflections
org.jboss.seam.intercept.Interceptor
public final class Interceptor
- extends Reflections
Wraps and delegates to a Seam interceptor.
- Author:
- Gavin King
Methods inherited from class org.jboss.seam.util.Reflections |
classForName, get, getAndWrap, getCollectionElementType, getField, getFields, getGetterMethod, getGetterMethods, getMapKeyType, getMethod, getMethod, getSetterMethod, invoke, invokeAndWrap, isClassAvailable, isInstanceOf, set, setAndWrap, toString, toString |
Interceptor
public Interceptor(Object interceptor,
Component component)
Interceptor
public Interceptor(Class[] classes,
Annotation annotation,
Component component)
createUserInterceptor
public Object createUserInterceptor()
getUserInterceptorClass
public Class getUserInterceptorClass()
getType
public InterceptorType getType()
toString
public String toString()
- Overrides:
toString
in class Object
isOptimized
public boolean isOptimized()
aroundInvoke
public Object aroundInvoke(InvocationContext invocation,
Object userInterceptor)
throws Exception
- Throws:
Exception
postConstruct
public Object postConstruct(InvocationContext invocation,
Object userInterceptor)
throws Exception
- Throws:
Exception
preDestroy
public Object preDestroy(InvocationContext invocation,
Object userInterceptor)
throws Exception
- Throws:
Exception
prePassivate
public Object prePassivate(InvocationContext invocation,
Object userInterceptor)
throws Exception
- Throws:
Exception
postActivate
public Object postActivate(InvocationContext invocation,
Object userInterceptor)
throws Exception
- Throws:
Exception
isInterceptorEnabled
public boolean isInterceptorEnabled()
- Return true if the interceptor should be enabled for the component instance
Should only be called during deployment