org.apache.jetspeed
Interface PortalContext

All Superinterfaces:
javax.portlet.PortalContext
All Known Implementing Classes:
JetspeedPortalContext

public interface PortalContext
extends javax.portlet.PortalContext

Portal Context associated with running thread of the engine

Version:
$Id: PortalContext.java 185962 2004-03-08 01:03:33Z jford $
Author:
David Sean Taylor

Method Summary
 String getApplicationRoot()
          Returns the application root for this Jetspeed engine context.
 Object getAttribute(String name)
           
 org.apache.commons.configuration.Configuration getConfiguration()
           
 String getConfigurationProperty(String key)
           
 String getConfigurationProperty(String key, String defaultValue)
           
 Engine getEngine()
           
 void setApplicationRoot(String applicationRoot)
          Sets the application root path for this Jetspeed engine context.
 void setAttribute(String name, Object value)
           
 void setConfiguration(org.apache.commons.configuration.Configuration configuration)
           
 
Methods inherited from interface javax.portlet.PortalContext
getPortalInfo, getProperty, getPropertyNames, getSupportedPortletModes, getSupportedWindowStates
 

Method Detail

getEngine

public Engine getEngine()

getConfiguration

public org.apache.commons.configuration.Configuration getConfiguration()

setConfiguration

public void setConfiguration(org.apache.commons.configuration.Configuration configuration)

getConfigurationProperty

public String getConfigurationProperty(String key)

getConfigurationProperty

public String getConfigurationProperty(String key,
                                       String defaultValue)

setAttribute

public void setAttribute(String name,
                         Object value)

getAttribute

public Object getAttribute(String name)

getApplicationRoot

public String getApplicationRoot()
Returns the application root for this Jetspeed engine context.

Returns:
a String containing the application root path for this Jetspeed context.

setApplicationRoot

public void setApplicationRoot(String applicationRoot)
Sets the application root path for this Jetspeed engine context.

Parameters:
applicationRoot - - the applicationRoot path on the file system.


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.