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 230516 2005-08-06 01:04:45Z taylor $
- Author:
- David Sean Taylor
Field Summary |
private static Engine |
engine
|
private static org.apache.commons.logging.Log |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
engine
private static Engine engine
log
private static final org.apache.commons.logging.Log log
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 Engine getEngine()
getContext
public static 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(Engine engine)
Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.