站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.2 API 英文版文档

NamedContext - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.common.context
Class NamedContext

java.lang.Object
  extended byorg.jboss.portal.common.context.NamedContext

public class NamedContext
extends java.lang.Object

POJO for a context linked to a name


Constructor Summary
NamedContext(java.lang.String name, Context ctx)
           
 
Method Summary
 Context getContext()
           
 java.lang.String getName()
           
 void setContext(Context context)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedContext

public NamedContext(java.lang.String name,
                    Context ctx)
Method Detail

getContext

public Context getContext()
Returns:
Returns the context.

getName

public java.lang.String getName()
Returns:
Returns the name.

setContext

public void setContext(Context context)
Parameters:
context - The context to set.

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.