public interface EditableConversation extends Conversation
Conversation
Modifier and Type | Method and Description |
---|---|
<T> void |
addBean(BeanEntry<T> beanInstance)
Adds a
BeanEntry which represents a scoped bean to the current conversation |
void |
deactivate()
has to expire a conversation.
|
boolean |
getActiveState() |
<T> T |
getBean(Class<T> key) |
<T> Set<Class<T>> |
getBeanSubGroup(Class<T> key) |
boolean |
isActive() |
<T> BeanEntry<T> |
removeBeanEntry(Class<T> type)
Allows to remove a bean of the given type
|
close, restart
boolean isActive()
boolean getActiveState()
void deactivate()
<T> void addBean(BeanEntry<T> beanInstance)
BeanEntry
which represents a scoped bean to the current conversationT
- 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-groupCopyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.