org.apache.jetspeed
Class Jetspeed
java.lang.Object
org.apache.jetspeed.Jetspeed
public class Jetspeed
- extends Object
Jetspeed environment
Provides an easy way to access the current running environment
of jetspeed.
- Version:
- $Id: Jetspeed.java 552657 2007-07-03 03:57:47Z taylor $
- Author:
- David Sean Taylor
Field Summary |
private static org.apache.jetspeed.engine.Engine |
engine
|
Method Summary |
static org.apache.jetspeed.components.ComponentManager |
getComponentManager()
|
static org.apache.jetspeed.administration.PortalConfiguration |
getConfiguration()
|
static org.apache.jetspeed.PortalContext |
getContext()
|
static org.apache.jetspeed.request.RequestContext |
getCurrentRequestContext()
Delegtes to the current Engine to retreive the RequestContext
appropriate for the current thread. |
static Locale |
getDefaultLocale()
|
static org.apache.jetspeed.engine.Engine |
getEngine()
|
static String |
getRealPath(String path)
Given a application relative path, returns the real path relative to the application root |
static void |
setEngine(org.apache.jetspeed.engine.Engine engine)
|
static void |
shutdown()
Shuts down the currently running instance of the portal
Engine. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
engine
private static org.apache.jetspeed.engine.Engine engine
Jetspeed
public Jetspeed()
shutdown
public static void shutdown()
throws org.apache.jetspeed.exception.JetspeedException
- Shuts down the currently running instance of the portal
Engine.
- Throws:
org.apache.jetspeed.exception.JetspeedException
getEngine
public static org.apache.jetspeed.engine.Engine getEngine()
getContext
public static org.apache.jetspeed.PortalContext getContext()
getRealPath
public static String getRealPath(String path)
- Given a application relative path, returns the real path relative to the application root
getCurrentRequestContext
public static org.apache.jetspeed.request.RequestContext getCurrentRequestContext()
- Delegtes to the current Engine to retreive the RequestContext
appropriate for the current thread.
- Returns:
- The RequestContext for this current Thread.
- See Also:
Engine.getCurrentRequestContext()
getDefaultLocale
public static Locale getDefaultLocale()
getComponentManager
public static org.apache.jetspeed.components.ComponentManager getComponentManager()
setEngine
public static void setEngine(org.apache.jetspeed.engine.Engine engine)
getConfiguration
public static org.apache.jetspeed.administration.PortalConfiguration getConfiguration()
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.