org.jboss.seam.security.external.dialogues
Class DialogueContext

java.lang.Object
  extended by org.jboss.seam.security.external.dialogues.DialogueContext
All Implemented Interfaces:
Context

public class DialogueContext
extends Object
implements Context

Author:
Marcel Kolsteren

Constructor Summary
DialogueContext()
           
 
Method Summary
 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(Contextual<T> contextual)
           
<T> T
get(Contextual<T> contextual, CreationalContext<T> creationalContext)
           
protected  HashMapBeanStore getBeanStore()
           
 Class<? extends Annotation> getScope()
           
 void initialize(ServletContext servletContext)
           
 boolean isActive()
           
 boolean isAttached()
           
 boolean isExistingDialogue(String dialogueId)
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DialogueContext

public DialogueContext()
Method Detail

getBeanStore

protected HashMapBeanStore getBeanStore()

initialize

public void initialize(ServletContext servletContext)

destroy

public void destroy()

create

public String create()

remove

public void remove()

isExistingDialogue

public boolean isExistingDialogue(String dialogueId)

attach

public void attach(String dialogueId)
Attaches an existing dialogue to the current thread

Parameters:
dialogueIdThreadLocal -

detach

public void detach()
Detaches the dialogue from the current thread


isAttached

public boolean isAttached()

get

public <T> T get(Contextual<T> contextual,
                 CreationalContext<T> creationalContext)
Specified by:
get in interface Context

get

public <T> T get(Contextual<T> contextual)
Specified by:
get in interface Context

getScope

public Class<? extends Annotation> getScope()
Specified by:
getScope in interface Context

isActive

public boolean isActive()
Specified by:
isActive in interface Context


Copyright © 2011 Seam Framework. All Rights Reserved.