站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.1.0 bate1 API 英文版文档

Contexts (JBoss Seam API Documentation) - JBoss Seam 1.1.0 bate1 API 英文版文档


org.jboss.seam.contexts
Class Contexts

java.lang.Object
  extended by org.jboss.seam.contexts.Contexts

public class Contexts
extends Object

Provides access to the current contexts associated with the thread.

Version:
$Revision: 1.43 $
Author:
Gavin King, Thomas Heute

Constructor Summary
Contexts()
           
 
Method Summary
static void destroy(Context context)
           
static Context getApplicationContext()
           
static Context getBusinessProcessContext()
           
static Context getConversationContext()
           
static Context getEventContext()
           
static Context getPageContext()
           
static Context getSessionContext()
           
static boolean isApplicationContextActive()
           
static boolean isBusinessProcessContextActive()
           
static boolean isConversationContextActive()
           
static boolean isEventContextActive()
           
static boolean isPageContextActive()
           
static boolean isSessionContextActive()
           
static Object lookupInStatefulContexts(String name)
           
static void removeFromAllContexts(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Contexts

public Contexts()
Method Detail

getEventContext

public static Context getEventContext()

getPageContext

public static Context getPageContext()

getSessionContext

public static Context getSessionContext()

getApplicationContext

public static Context getApplicationContext()

getConversationContext

public static Context getConversationContext()

getBusinessProcessContext

public static Context getBusinessProcessContext()

isConversationContextActive

public static boolean isConversationContextActive()

isEventContextActive

public static boolean isEventContextActive()

isPageContextActive

public static boolean isPageContextActive()

isSessionContextActive

public static boolean isSessionContextActive()

isApplicationContextActive

public static boolean isApplicationContextActive()

isBusinessProcessContextActive

public static boolean isBusinessProcessContextActive()

removeFromAllContexts

public static void removeFromAllContexts(String name)

lookupInStatefulContexts

public static Object lookupInStatefulContexts(String name)

destroy

public static void destroy(Context context)