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, toString
public 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
Exception
public Object aroundTimeout(InvocationContext invocation, Object userInterceptor) throws Exception
Exception
public Object postConstruct(InvocationContext invocation, Object userInterceptor) throws Exception
Exception
public Object preDestroy(InvocationContext invocation, Object userInterceptor) throws Exception
Exception
public Object prePassivate(InvocationContext invocation, Object userInterceptor) throws Exception
Exception
public Object postActivate(InvocationContext invocation, Object userInterceptor) throws Exception
Exception
public boolean isInterceptorEnabled()
Copyright © 2015 Seam Framework. All Rights Reserved.