org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation
Class CloseConversationGroupInterceptor
java.lang.Object
org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.CloseConversationGroupInterceptor
- All Implemented Interfaces:
- Serializable
@CloseConversationGroup
@Interceptor
public class CloseConversationGroupInterceptor
- extends Object
- implements Serializable
This interceptor should be used just in case of simple use-cases.
It's an alternative for injecting and using the
WindowContext
or
Conversation
directly.
- See Also:
- Serialized Form
Method Summary |
Object |
handleCloseConversation(javax.interceptor.InvocationContext invocationContext)
Interceptor methods which closes the conversation of the bean after the execution of the method
or if the declared exception was thrown. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CloseConversationGroupInterceptor
public CloseConversationGroupInterceptor()
handleCloseConversation
public Object handleCloseConversation(javax.interceptor.InvocationContext invocationContext)
throws Exception
- Interceptor methods which closes the conversation of the bean after the execution of the method
or if the declared exception was thrown.
- Parameters:
invocationContext
- current invocation-context
- Returns:
- result of the intercepted method
- Throws:
Exception
- exception which might be thrown by the intercepted method
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.