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

ConversationInterceptor (JBoss Seam API Documentation) - JBoss Seam 1.2.1 API 英文版文档


org.jboss.seam.interceptors
Class ConversationInterceptor

java.lang.Object
  extended by org.jboss.seam.interceptors.AbstractInterceptor
      extended by org.jboss.seam.interceptors.ConversationInterceptor
All Implemented Interfaces:
Serializable, OptimizedInterceptor

@Interceptor(stateless=true,
             around={ValidationInterceptor.class,BijectionInterceptor.class},
             within=BusinessProcessInterceptor.class)
public class ConversationInterceptor
extends AbstractInterceptor

After the end of the invocation, begin or end a long running conversation, if necessary.

Author:
Gavin King
See Also:
Serialized Form

Constructor Summary
ConversationInterceptor()
           
 
Method Summary
 Object aroundInvoke(InvocationContext invocation)
           
 boolean redirectToExistingConversation(Method method)
           
 
Methods inherited from class org.jboss.seam.interceptors.AbstractInterceptor
getComponent, setComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConversationInterceptor

public ConversationInterceptor()
Method Detail

aroundInvoke

@AroundInvoke
public Object aroundInvoke(InvocationContext invocation)
                    throws Exception
Throws:
Exception

redirectToExistingConversation

public boolean redirectToExistingConversation(Method method)