站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.2.0 patch1 API 英文版文档

Interceptor (JBoss Seam API Documentation) - JBoss Seam 1.2.0 patch1 API 英文版文档


org.jboss.seam.intercept
Class Interceptor

java.lang.Object
  extended by org.jboss.seam.util.Reflections
      extended by org.jboss.seam.intercept.Interceptor

public final class Interceptor
extends Reflections

Wraps and delegates to a Seam interceptor.

Author:
Gavin King

Constructor Summary
Interceptor(Class[] classes, Annotation annotation, Component component)
           
Interceptor(Object interceptor, Component component)
           
 
Method Summary
 Object aroundInvoke(InvocationContext invocation, Object userInterceptor)
           
 Object createUserInterceptor()
           
 InterceptorType getType()
           
 Class getUserInterceptorClass()
           
 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()
           
 
Methods inherited from class org.jboss.seam.util.Reflections
classForName, get, getAndWrap, getCollectionElementType, getField, getGetterMethod, getMapKeyType, getMethod, getSetterMethod, invoke, invokeAndWrap, set, setAndWrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Interceptor

public Interceptor(Object interceptor,
                   Component component)

Interceptor

public Interceptor(Class[] classes,
                   Annotation annotation,
                   Component component)
Method Detail

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