当前页面: 
在线文档首页 > 
JBoss Seam  1.1.0 API 英文版文档
Interceptor (JBoss Seam API Documentation) - JBoss Seam  1.1.0 API 英文版文档
org.jboss.seam.intercept
Class Interceptor
java.lang.Object
   org.jboss.seam.util.Reflections
org.jboss.seam.util.Reflections
       org.jboss.seam.intercept.Interceptor
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, getCollectionElementType, getField, getGetterMethod, getMethod, getSetterMethod, invoke, invokeAndWrap, set, setAndWrap | 
 
 
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:
- toStringin class- Object
 
- 
 
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