public class DialogueContext extends Object implements javax.enterprise.context.spi.Context
| Constructor and Description |
|---|
DialogueContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
attach(String dialogueId)
Attaches an existing dialogue to the current thread
|
String |
create() |
void |
destroy() |
void |
detach()
Detaches the dialogue from the current thread
|
<T> T |
get(javax.enterprise.context.spi.Contextual<T> contextual) |
<T> T |
get(javax.enterprise.context.spi.Contextual<T> contextual,
javax.enterprise.context.spi.CreationalContext<T> creationalContext) |
protected HashMapBeanStore |
getBeanStore() |
Class<? extends Annotation> |
getScope() |
void |
initialize(javax.servlet.ServletContext servletContext) |
boolean |
isActive() |
boolean |
isAttached() |
boolean |
isExistingDialogue(String dialogueId) |
void |
remove() |
protected HashMapBeanStore getBeanStore()
public void initialize(javax.servlet.ServletContext servletContext)
public void destroy()
public String create()
public void remove()
public boolean isExistingDialogue(String dialogueId)
public void attach(String dialogueId)
dialogueIdThreadLocal - public void detach()
public boolean isAttached()
public <T> T get(javax.enterprise.context.spi.Contextual<T> contextual,
javax.enterprise.context.spi.CreationalContext<T> creationalContext)
get in interface javax.enterprise.context.spi.Contextpublic <T> T get(javax.enterprise.context.spi.Contextual<T> contextual)
get in interface javax.enterprise.context.spi.Contextpublic Class<? extends Annotation> getScope()
getScope in interface javax.enterprise.context.spi.Contextpublic boolean isActive()
isActive in interface javax.enterprise.context.spi.ContextCopyright © 2013 Seam Framework. All Rights Reserved.