org.exoplatform.container
Class ExoContainerContext
java.lang.Object
org.exoplatform.container.ExoContainerContext
- All Implemented Interfaces:
- Serializable
public final class ExoContainerContext
- extends Object
- implements Serializable
- Since:
- Jan 11, 2005
- Version:
- $Id: ExoContainerContext.java 6677 2006-07-03 10:49:59Z geaz $
- Author:
- Tuan Nguyen (tuan08@users.sourceforge.net)
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExoContainerContext
public ExoContainerContext(ExoContainer container)
ExoContainerContext
public ExoContainerContext(ExoContainer container,
String name)
getContainer
public ExoContainer getContainer()
getPortalContainerName
public String getPortalContainerName()
- Returns:
- if the embedded container is a
PortalContainer, it will return the name the
portal container otherwise it will return null
getRestContextName
public String getRestContextName()
- Returns:
- if the embedded container is a
PortalContainer, it will return the name
of the rest context related to the portal container otherwise it will return the default name
getRealmName
public String getRealmName()
- Returns:
- if the embedded container is a
PortalContainer, it will return the name
of the realm related to the portal container otherwise it will return the default name
getSetting
public Object getSetting(String settingName)
- Returns:
- if the embedded container is a
PortalContainer, it will return the value
of the setting related to the portal container otherwise it will return null
getName
public String getName()
setName
public void setName(String name)
getTopContainer
public static ExoContainer getTopContainer()
getCurrentContainer
public static ExoContainer getCurrentContainer()
getCurrentContainerIfPresent
public static ExoContainer getCurrentContainerIfPresent()
setCurrentContainer
public static void setCurrentContainer(ExoContainer instance)
getContainerByName
public static ExoContainer getContainerByName(String name)
getAttributeNames
public Set<String> getAttributeNames()
getAttribute
public Object getAttribute(String name)
setAttribute
public void setAttribute(String name,
Object value)
Copyright © 2012 eXo Platform SAS. All Rights Reserved.