当前页面:
在线文档首页 >
JBOSS Portal 2.2 API 英文版文档
NamedContext - JBOSS Portal 2.2 API 英文版文档
org.jboss.portal.common.context
Class NamedContext
java.lang.Object
org.jboss.portal.common.context.NamedContext
- public class NamedContext
- extends java.lang.Object
POJO for a context linked to a name
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NamedContext
public NamedContext(java.lang.String name,
Context ctx)
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.