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

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


org.jboss.seam.intercept
Class SessionBeanInterceptor

java.lang.Object
  extended by org.jboss.seam.intercept.RootInterceptor
      extended by org.jboss.seam.intercept.SessionBeanInterceptor
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SeamInterceptor

public class SessionBeanInterceptor
extends RootInterceptor

Controller interceptor for server-side interceptors of EJB3 session bean components.

Author:
Gavin King
See Also:
Serialized Form

Field Summary
static ThreadLocal<Component> COMPONENT
           
 
Constructor Summary
SessionBeanInterceptor()
          Called when instatiated by EJB container.
 
Method Summary
 Object aroundInvoke(javax.interceptor.InvocationContext invocation)
           
 void postActivate(javax.interceptor.InvocationContext invocation)
           
 void postConstruct(javax.interceptor.InvocationContext invocation)
           
 void preDestroy(javax.interceptor.InvocationContext invocation)
           
 void prePassivate(javax.interceptor.InvocationContext invocation)
           
 
Methods inherited from class org.jboss.seam.intercept.RootInterceptor
getComponent, getComponentName, init, initNonSeamComponent, invoke, invokeAndHandle, isSeamComponent, postConstruct
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT

public static ThreadLocal<Component> COMPONENT
Constructor Detail

SessionBeanInterceptor

public SessionBeanInterceptor()
Called when instatiated by EJB container. (In this case it might be a Seam component, but we won't know until postConstruct() is called.)

Method Detail

aroundInvoke

public Object aroundInvoke(javax.interceptor.InvocationContext invocation)
                    throws Exception
Throws:
Exception

prePassivate

public void prePassivate(javax.interceptor.InvocationContext invocation)

postActivate

public void postActivate(javax.interceptor.InvocationContext invocation)

preDestroy

public void preDestroy(javax.interceptor.InvocationContext invocation)

postConstruct

public void postConstruct(javax.interceptor.InvocationContext invocation)