|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jetspeed.JetspeedPortalContext
Implementation of Portal Context associated with running thread of the engine
| Field Summary | |
private String |
applicationRoot
The base from which the Jetspped application will operate. |
private HashMap |
attributes
Runtime attributes. |
private org.apache.commons.configuration.Configuration |
configuration
Configuration state |
private Engine |
engine
The engine associated with this context. |
private static String |
PORTAL_NAME_ATTR
|
private static String |
PORTAL_VERSION_ATTR
|
private String |
portalName
|
private String |
portalVersion
|
private List |
portletModes
Portlet Modes |
private static String |
SUPPORTED_PORTLETMODE_ATTR
|
private static String |
SUPPORTED_WINDOWSTATE_ATTR
|
private List |
windowStates
Window States |
| Constructor Summary | |
JetspeedPortalContext(Engine engine,
org.apache.commons.configuration.Configuration configuration,
String applicationRoot)
|
|
| Method Summary | |
String |
getApplicationRoot()
Returns the application root for this Jetspeed engine context. |
Object |
getAttribute(String name)
Returns the engine attribute with the given name, or null if there is no attribute by that name. |
org.apache.commons.configuration.Configuration |
getConfiguration()
Returns the configuration properties for this Jetspeed engine context. |
String |
getConfigurationProperty(String key)
|
String |
getConfigurationProperty(String key,
String defaultValue)
|
Engine |
getEngine()
Returns the engine associated with this context. |
String |
getPortalInfo()
|
String |
getProperty(String name)
|
Enumeration |
getPropertyNames()
|
Enumeration |
getSupportedPortletModes()
|
Enumeration |
getSupportedWindowStates()
|
void |
setApplicationRoot(String applicationRoot)
Sets the application root path for this Jetspeed engine context. |
void |
setAttribute(String name,
Object value)
Binds an object to a given attribute name in this servlet context. |
void |
setConfiguration(org.apache.commons.configuration.Configuration configuration)
Set the configuration properties for this Jetspeed engine context. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static final String SUPPORTED_WINDOWSTATE_ATTR
private static final String SUPPORTED_PORTLETMODE_ATTR
private static final String PORTAL_VERSION_ATTR
private static final String PORTAL_NAME_ATTR
private Engine engine
private HashMap attributes
private org.apache.commons.configuration.Configuration configuration
private String applicationRoot
private final List portletModes
private final List windowStates
private final String portalName
private final String portalVersion
| Constructor Detail |
public JetspeedPortalContext(Engine engine,
org.apache.commons.configuration.Configuration configuration,
String applicationRoot)
| Method Detail |
public org.apache.commons.configuration.Configuration getConfiguration()
getConfiguration in interface PortalContextConfiguration containing the configuration properties for this Jetspeed context.public String getConfigurationProperty(String key)
getConfigurationProperty in interface PortalContext
public String getConfigurationProperty(String key,
String defaultValue)
getConfigurationProperty in interface PortalContextpublic void setConfiguration(org.apache.commons.configuration.Configuration configuration)
setConfiguration in interface PortalContextconfiguration - - the configuration propertiespublic String getApplicationRoot()
getApplicationRoot in interface PortalContextString containing the application root path for this Jetspeed context.public void setApplicationRoot(String applicationRoot)
setApplicationRoot in interface PortalContextapplicationRoot - - the applicationRoot path on the file system.public Engine getEngine()
getEngine in interface PortalContextEngine associated with this contextpublic Object getAttribute(String name)
getAttribute in interface PortalContextObject containing the value of the attribute, or null if no attribute exists matching the given name
public void setAttribute(String name,
Object value)
setAttribute in interface PortalContextname - - a String specifying the name of the attributevalue - - an Object representing the attribute to be boundpublic String getProperty(String name)
getProperty in interface javax.portlet.PortalContextpublic Enumeration getPropertyNames()
getPropertyNames in interface javax.portlet.PortalContextpublic Enumeration getSupportedPortletModes()
getSupportedPortletModes in interface javax.portlet.PortalContextpublic Enumeration getSupportedWindowStates()
getSupportedWindowStates in interface javax.portlet.PortalContextpublic String getPortalInfo()
getPortalInfo in interface javax.portlet.PortalContext
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||