|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jetspeed.engine.JetspeedEngine
public class JetspeedEngine
AbstractEngine
| Field Summary | |
|---|---|
protected java.lang.String |
defaultPipelineName
|
protected static org.apache.commons.logging.Log |
log
|
| Fields inherited from interface org.apache.jetspeed.engine.JetspeedEngineConstants |
|---|
APPLICATION_ROOT_DEFAULT, APPLICATION_ROOT_KEY, CONFIG_NAMESPACE, CONSOLE_LOGGER, DEFAULT_LOGGER, JETSPEED_PROPERTIES_DEFAULT, JETSPEED_PROPERTIES_KEY, LOG4J_CONFIG_FILE, LOG4J_CONFIG_FILE_DEFAULT, LOGGING_ROOT, LOGGING_ROOT_DEFAULT, MAIL_SERVER_KEY, PIPELINE_CLASS, PIPELINE_DEFAULT, PIPELINE_DIRECTORY, PREFERENCES_FACTORY, PREFERENCES_FACTORY_DEFAULT, SCHEDULER_LOG_FACILITY, WEB_CONTEXT, WEBAPP_ROOT_KEY |
| Constructor Summary | |
|---|---|
JetspeedEngine(org.apache.commons.configuration.Configuration configuration,
java.lang.String applicationRoot,
javax.servlet.ServletConfig config,
ComponentManager componentManager)
|
|
JetspeedEngine(PortalConfiguration configuration,
java.lang.String applicationRoot,
javax.servlet.ServletConfig config,
ComponentManager componentManager)
|
|
| Method Summary | |
|---|---|
ComponentManager |
getComponentManager()
|
org.apache.pluto.services.ContainerService |
getContainerService(java.lang.Class service)
getContainerService |
PortalContext |
getContext()
Returns the context associated with this engine. |
RequestContext |
getCurrentRequestContext()
Returns the the RequestContext associated with the current thread. |
org.apache.pluto.factory.Factory |
getFactory(java.lang.Class theClass)
getFactory |
Pipeline |
getPipeline()
Gets the engine's request default pipeline. |
Pipeline |
getPipeline(java.lang.String pipelineName)
Gets the specified engine's request pipeline. |
java.lang.String |
getRealPath(java.lang.String path)
Given a application relative path, returns the real path relative to the application root |
javax.servlet.ServletConfig |
getServletConfig()
Get the servlet configuration if this engine is running under a servlet container. |
void |
service(RequestContext context)
Makes a service request to the engine. |
void |
shutdown()
Shuts down the Jetspeed engine and all associated services |
void |
start()
Initializes the engine with a commons configuration, starting all early initable services. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.commons.logging.Log log
protected java.lang.String defaultPipelineName
| Constructor Detail |
|---|
public JetspeedEngine(org.apache.commons.configuration.Configuration configuration,
java.lang.String applicationRoot,
javax.servlet.ServletConfig config,
ComponentManager componentManager)
public JetspeedEngine(PortalConfiguration configuration,
java.lang.String applicationRoot,
javax.servlet.ServletConfig config,
ComponentManager componentManager)
| Method Detail |
|---|
public void start()
throws JetspeedException
start in interface Engineconfiguration - a commons Configuration setapplicationRoot - a String path to the application root for
resources -
JetspeedException - when the engine fails to initilializepublic javax.servlet.ServletConfig getServletConfig()
getServletConfig in interface Engine
public void shutdown()
throws JetspeedException
Engine
shutdown in interface EngineJetspeedException - when the engine fails to shutdown
public void service(RequestContext context)
throws JetspeedException
Engine
service in interface Enginecontext - a RequestContext with the state of the request.
JetspeedException - when the engine fails to initilializepublic PortalContext getContext()
getContext in interface EngineEngineContext associated with this enginepublic java.lang.String getRealPath(java.lang.String path)
getRealPath in interface Enginepath - The application relative resource
public Pipeline getPipeline(java.lang.String pipelineName)
Engine
getPipeline in interface Enginepublic Pipeline getPipeline()
Engine
getPipeline in interface Enginepublic RequestContext getCurrentRequestContext()
Engineorg.apache.jetspeed.Jetspeed
environment class.
getCurrentRequestContext in interface EngineEngine.getCurrentRequestContext()public ComponentManager getComponentManager()
getComponentManager in interface Enginepublic org.apache.pluto.factory.Factory getFactory(java.lang.Class theClass)
getFactory
getFactory in interface org.apache.pluto.services.factory.FactoryManagerServicetheClass -
FactoryManagerService.getFactory(java.lang.Class)public org.apache.pluto.services.ContainerService getContainerService(java.lang.Class service)
getContainerService
getContainerService in interface org.apache.pluto.services.PortletContainerEnvironmentservice -
PortletContainerEnvironment.getContainerService(java.lang.Class)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||