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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Interceptor
public Interceptor(java.lang.Object interceptor,
Component component)
Interceptor
public Interceptor(java.lang.Class[] classes,
java.lang.annotation.Annotation annotation,
Component component)
createUserInterceptor
public java.lang.Object createUserInterceptor()
getUserInterceptorClass
public java.lang.Class getUserInterceptorClass()
getType
public InterceptorType getType()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
isOptimized
public boolean isOptimized()
aroundInvoke
public java.lang.Object aroundInvoke(InvocationContext invocation,
java.lang.Object userInterceptor)
throws java.lang.Exception
- Throws:
java.lang.Exception
postConstruct
public java.lang.Object postConstruct(InvocationContext invocation,
java.lang.Object userInterceptor)
throws java.lang.Exception
- Throws:
java.lang.Exception
preDestroy
public java.lang.Object preDestroy(InvocationContext invocation,
java.lang.Object userInterceptor)
throws java.lang.Exception
- Throws:
java.lang.Exception
prePassivate
public java.lang.Object prePassivate(InvocationContext invocation,
java.lang.Object userInterceptor)
throws java.lang.Exception
- Throws:
java.lang.Exception
postActivate
public java.lang.Object postActivate(InvocationContext invocation,
java.lang.Object userInterceptor)
throws java.lang.Exception
- Throws:
java.lang.Exception
isInterceptorEnabled
public boolean isInterceptorEnabled()
- Return true if the interceptor should be enabled for the component instance
Should only be called during deployment
Copyright © 2011 Seam Framework. All Rights Reserved.