|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Engine
Engine Abstraction - to run from both unit tests and servlet
Field Summary |
---|
Method Summary | |
---|---|
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(java.lang.String pipelineName)
Gets the specified engine's request pipeline. |
java.lang.String |
getRealPath(java.lang.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. |
Method Detail |
---|
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(java.lang.String pipelineName)
PortalContext getContext()
java.lang.String getRealPath(java.lang.String path)
path
- The application relative resource
javax.servlet.ServletConfig getServletConfig()
RequestContext getCurrentRequestContext()
org.apache.jetspeed.Jetspeed
environment class.
ComponentManager getComponentManager()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |