|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EditableConversation
Allows to implement custom implementations of Conversation
Method Summary | ||
---|---|---|
|
addBean(BeanEntry<T> beanInstance)
Adds a BeanEntry which represents a scoped bean to the current conversation |
|
void |
deactivate()
has to expire a conversation. if the conversation is expired afterwards it has to be inactive |
|
boolean |
getActiveState()
|
|
|
getBean(Class<T> key)
|
|
|
getBeanSubGroup(Class<T> key)
|
|
boolean |
isActive()
|
|
|
removeBeanEntry(Class<T> type)
Allows to remove a bean of the given type |
Methods inherited from interface org.apache.myfaces.extensions.cdi.core.api.scope.conversation.Conversation |
---|
close, restart |
Method Detail |
---|
boolean isActive()
boolean getActiveState()
void deactivate()
<T> void addBean(BeanEntry<T> beanInstance)
BeanEntry
which represents a scoped bean to the current conversation
T
- tpye of the beanbeanInstance
- bean instance which should be added to the conversation<T> T getBean(Class<T> key)
T
- type of the requested beankey
- class of the requested bean
<T> Set<Class<T>> getBeanSubGroup(Class<T> key)
T
- type of the requested groupkey
- class of the requested sub-group
<T> BeanEntry<T> removeBeanEntry(Class<T> type)
T
- target typetype
- type of the bean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |