org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation
Class EditableWindowContextManagerProxy
java.lang.Object
org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.EditableWindowContextManagerProxy
- All Implemented Interfaces:
- Serializable, WindowContextManager, EditableWindowContextManager
@SessionScoped
@Named(value="windowContextManager")
public class EditableWindowContextManagerProxy
- extends Object
- implements EditableWindowContextManager
- Author:
- Gerhard Petracek
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EditableWindowContextManagerProxy
protected EditableWindowContextManagerProxy()
EditableWindowContextManagerProxy
@Inject
public EditableWindowContextManagerProxy(WindowContextConfig windowContextConfig,
ConversationConfig conversationConfig,
javax.enterprise.inject.spi.BeanManager beanManager)
- Workaround for a producer-method which produces a session-scoped instance.
Workaround for Weld 1.x
- Parameters:
windowContextConfig
- current windowContextConfigconversationConfig
- current conversationConfigbeanManager
- current beanManager
preDestroy
@PreDestroy
protected void preDestroy()
activateWindowContext
public boolean activateWindowContext(String windowContextId)
- Specified by:
activateWindowContext
in interface EditableWindowContextManager
activateWindowContext
public boolean activateWindowContext(EditableWindowContext windowContext)
- Specified by:
activateWindowContext
in interface EditableWindowContextManager
restartConversations
public void restartConversations()
- Specified by:
restartConversations
in interface EditableWindowContextManager
restartConversations
public void restartConversations(String windowContextId)
- Specified by:
restartConversations
in interface EditableWindowContextManager
restartConversations
public void restartConversations(EditableWindowContext windowContext)
- Specified by:
restartConversations
in interface EditableWindowContextManager
closeCurrentWindowContext
public void closeCurrentWindowContext()
- Specified by:
closeCurrentWindowContext
in interface EditableWindowContextManager
closeWindowContext
public void closeWindowContext(String windowContextId)
- Specified by:
closeWindowContext
in interface EditableWindowContextManager
closeWindowContext
public void closeWindowContext(EditableWindowContext windowContext)
- Specified by:
closeWindowContext
in interface EditableWindowContextManager
getWindowContexts
public Collection<EditableWindowContext> getWindowContexts()
- Specified by:
getWindowContexts
in interface EditableWindowContextManager
closeAllWindowContexts
public void closeAllWindowContexts()
- Specified by:
closeAllWindowContexts
in interface EditableWindowContextManager
getCurrentWindowContext
public WindowContext getCurrentWindowContext()
- Specified by:
getCurrentWindowContext
in interface WindowContextManager
getWindowContext
public WindowContext getWindowContext(String windowContextId)
- Specified by:
getWindowContext
in interface WindowContextManager
isWindowContextActive
public boolean isWindowContextActive(String windowContextId)
- Specified by:
isWindowContextActive
in interface EditableWindowContextManager
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.