org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.spi
Interface EditableConversation

All Superinterfaces:
Conversation, Serializable
All Known Implementing Classes:
DefaultConversation, InjectableConversation

public interface EditableConversation
extends Conversation

TODO

Author:
Gerhard Petracek

Method Summary
<T> void
addBean(BeanEntry<T> beanInstance)
           
 void deactivate()
          has to expire a conversation. if the conversation is expired afterwards it has to be inactive
 boolean getActiveState()
           
<T> T
getBean(Class<T> key)
           
 boolean isActive()
           
 
Methods inherited from interface org.apache.myfaces.extensions.cdi.core.api.scope.conversation.Conversation
close, restart
 

Method Detail

isActive

boolean isActive()
Returns:
evaluates and returns if the conversation is active

getActiveState

boolean getActiveState()
Returns:
returns if the conversation is active (without evaluation)

deactivate

void deactivate()
has to expire a conversation. if the conversation is expired afterwards it has to be inactive


addBean

<T> void addBean(BeanEntry<T> beanInstance)

getBean

<T> T getBean(Class<T> key)
Type Parameters:
T - type of the requested bean
Parameters:
key - class of the requested bean
Returns:
an instance of the requested bean if the conversation is active - null otherwise


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.