当前页面:
在线文档首页 >
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
org.jboss.seam.intercept.RootInterceptor
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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPONENT
public static ThreadLocal<Component> COMPONENT
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.)
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)