| 
 | ||||||||||
| 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 | |
|---|---|
| private  org.apache.jetspeed.components.ComponentManager | componentManager | 
| private  javax.servlet.ServletConfig | config | 
| private  org.apache.jetspeed.PortalContext | context | 
| protected  String | defaultPipelineName | 
| protected static org.apache.commons.logging.Log | log | 
| private  Map | pipelineMapper | 
| private  org.apache.jetspeed.statistics.PortalStatistics | statistics | 
| 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,
               String applicationRoot,
               javax.servlet.ServletConfig config,
               org.apache.jetspeed.components.ComponentManager componentManager) | |
| JetspeedEngine(org.apache.jetspeed.administration.PortalConfiguration configuration,
               String applicationRoot,
               javax.servlet.ServletConfig config,
               org.apache.jetspeed.components.ComponentManager componentManager) | |
| Method Summary | |
|---|---|
|  org.apache.jetspeed.components.ComponentManager | getComponentManager() | 
|  org.apache.pluto.services.ContainerService | getContainerService(Class service)getContainerService | 
|  org.apache.jetspeed.PortalContext | getContext()Returns the context associated with this engine. | 
|  org.apache.jetspeed.request.RequestContext | getCurrentRequestContext() | 
|  org.apache.pluto.factory.Factory | getFactory(Class theClass)getFactory | 
|  org.apache.jetspeed.pipeline.Pipeline | getPipeline() | 
|  org.apache.jetspeed.pipeline.Pipeline | getPipeline(String pipelineName) | 
|  String | getRealPath(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(org.apache.jetspeed.request.RequestContext context) | 
|  void | shutdown() | 
|  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 | 
|---|
private final org.apache.jetspeed.PortalContext context
private final javax.servlet.ServletConfig config
private final org.apache.jetspeed.components.ComponentManager componentManager
private Map pipelineMapper
private org.apache.jetspeed.statistics.PortalStatistics statistics
protected static final org.apache.commons.logging.Log log
protected String defaultPipelineName
| Constructor Detail | 
|---|
public JetspeedEngine(org.apache.commons.configuration.Configuration configuration,
                      String applicationRoot,
                      javax.servlet.ServletConfig config,
                      org.apache.jetspeed.components.ComponentManager componentManager)
public JetspeedEngine(org.apache.jetspeed.administration.PortalConfiguration configuration,
                      String applicationRoot,
                      javax.servlet.ServletConfig config,
                      org.apache.jetspeed.components.ComponentManager componentManager)
| Method Detail | 
|---|
public void start()
           throws org.apache.jetspeed.exception.JetspeedException
start in interface org.apache.jetspeed.engine.Engineconfiguration - a commons Configuration setapplicationRoot - a String path to the application root for
                  resourcesorg.apache.jetspeed.exception.JetspeedException - when the engine fails to initilializepublic javax.servlet.ServletConfig getServletConfig()
getServletConfig in interface org.apache.jetspeed.engine.Engine
public void shutdown()
              throws org.apache.jetspeed.exception.JetspeedException
shutdown in interface org.apache.jetspeed.engine.Engineorg.apache.jetspeed.exception.JetspeedException
public void service(org.apache.jetspeed.request.RequestContext context)
             throws org.apache.jetspeed.exception.JetspeedException
service in interface org.apache.jetspeed.engine.Engineorg.apache.jetspeed.exception.JetspeedExceptionpublic org.apache.jetspeed.PortalContext getContext()
getContext in interface org.apache.jetspeed.engine.EngineEngineContext associated with this enginepublic String getRealPath(String path)
getRealPath in interface org.apache.jetspeed.engine.Enginepublic org.apache.jetspeed.pipeline.Pipeline getPipeline(String pipelineName)
getPipeline in interface org.apache.jetspeed.engine.Enginepublic org.apache.jetspeed.pipeline.Pipeline getPipeline()
getPipeline in interface org.apache.jetspeed.engine.Enginepublic org.apache.jetspeed.request.RequestContext getCurrentRequestContext()
getCurrentRequestContext in interface org.apache.jetspeed.engine.EngineEngine.getCurrentRequestContext()public org.apache.jetspeed.components.ComponentManager getComponentManager()
getComponentManager in interface org.apache.jetspeed.engine.Enginepublic org.apache.pluto.factory.Factory getFactory(Class theClass)
getFactory
getFactory in interface org.apache.pluto.services.factory.FactoryManagerServicetheClass - 
FactoryManagerService.getFactory(java.lang.Class)public org.apache.pluto.services.ContainerService getContainerService(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 | |||||||||