org.pentaho.platform.web.http.context
Class WebApplicationContext
java.lang.Object
org.pentaho.platform.engine.core.system.StandaloneApplicationContext
org.pentaho.platform.web.http.context.WebApplicationContext
- All Implemented Interfaces:
- IApplicationContext
public class WebApplicationContext
- extends StandaloneApplicationContext
Constructor Summary |
WebApplicationContext(java.lang.String solutionRootPath,
java.lang.String fullyQualifiedServerUrl,
java.lang.String applicationPath)
|
WebApplicationContext(java.lang.String solutionRootPath,
java.lang.String fullyQualifiedServerUrl,
java.lang.String applicationPath,
java.lang.Object context)
|
Methods inherited from class org.pentaho.platform.engine.core.system.StandaloneApplicationContext |
addEntryPointHandler, addExitPointHandler, createTempFile, createTempFile, getApplicationPath, getBaseUrl, getContext, getFileOutputPath, getProperty, getProperty, getServerPort, getSolutionPath, getSolutionRootPath, invokeEntryPoints, invokeExitPoints, removeEntryPointHandler, removeExitPointHandler, setBaseUrl, setContext, setProperties, setSolutionRootPath |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebApplicationContext
public WebApplicationContext(java.lang.String solutionRootPath,
java.lang.String fullyQualifiedServerUrl,
java.lang.String applicationPath,
java.lang.Object context)
WebApplicationContext
public WebApplicationContext(java.lang.String solutionRootPath,
java.lang.String fullyQualifiedServerUrl,
java.lang.String applicationPath)
getFullyQualifiedServerURL
public java.lang.String getFullyQualifiedServerURL()
- Description copied from interface:
IApplicationContext
- Returns a fully qualified URL to the server application, up to and including the context.
This method should only be used if delivering an offline content or in a scenario where fully
qualified url is required.
- Specified by:
getFullyQualifiedServerURL
in interface IApplicationContext
- Overrides:
getFullyQualifiedServerURL
in class StandaloneApplicationContext
- Returns:
- the URL to the server application context root.
getPentahoServerName
public java.lang.String getPentahoServerName()
- Description copied from interface:
IApplicationContext
- Retrieves the descriptive name of the platform application.
The Pentaho server name should specified in the system settings
configuration file, using the name
element
- Specified by:
getPentahoServerName
in interface IApplicationContext
- Overrides:
getPentahoServerName
in class StandaloneApplicationContext
- Returns:
- the descriptive server name as specified in the system settings,
or "Pentaho Business Intelligence Platform" by default.
setFullyQualifiedServerURL
public void setFullyQualifiedServerURL(java.lang.String fullyQualifiedServerUrl)
- Specified by:
setFullyQualifiedServerURL
in interface IApplicationContext
- Overrides:
setFullyQualifiedServerURL
in class StandaloneApplicationContext