public interface Engine extends JetspeedEngineConstants
APPLICATION_ROOT_DEFAULT, APPLICATION_ROOT_KEY, CONFIG_NAMESPACE, CONSOLE_LOGGER, DEFAULT_LOGGER, JETSPEED_PROPERTIES_DEFAULT, JETSPEED_PROPERTIES_KEY, JETSPEED_PROPERTIES_PATH_DEFAULT, JETSPEED_PROPERTIES_PATH_KEY, LOG4J_CONFIG_FILE, LOG4J_CONFIG_FILE_DEFAULT, LOGGING_ROOT, LOGGING_ROOT_DEFAULT, MAIL_SERVER_KEY, OVERRIDE_PROPERTIES, PIPELINE_CLASS, PIPELINE_DEFAULT, PIPELINE_DIRECTORY, SCHEDULER_LOG_FACILITY, SPRING_FILTER_KEY, SPRING_FILTER_KEY_DEFAULT, SPRING_FILTER_KEY_PROPERTIES, SPRING_FILTER_PROPERTIES, WEB_CONTEXT, WEBAPP_ROOT_KEY
Modifier and Type | Method and Description |
---|---|
ComponentManager |
getComponentManager() |
PortalContext |
getContext()
Get the Portal Context associated with running thread of the engine
|
RequestContext |
getCurrentRequestContext()
Returns the the RequestContext associated with the current
thread.
|
Pipeline |
getPipeline()
Gets the engine's request default pipeline.
|
Pipeline |
getPipeline(String pipelineName)
Gets the specified engine's request pipeline.
|
String |
getRealPath(String path)
Gets the real path to an application relative resource
|
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.
|
void start() throws JetspeedException
JetspeedException
- when the engine fails to initilializevoid shutdown() throws JetspeedException
JetspeedException
- when the engine fails to shutdownvoid service(RequestContext context) throws JetspeedException
context
- a RequestContext
with the state of the request.JetspeedException
- when the engine fails to initilializePipeline getPipeline()
Pipeline getPipeline(String pipelineName)
PortalContext getContext()
String getRealPath(String path)
path
- The application relative resourcejavax.servlet.ServletConfig getServletConfig()
RequestContext getCurrentRequestContext()
org.apache.jetspeed.Jetspeed
environment class.ComponentManager getComponentManager()
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.