org.apache.jetspeed
Class Jetspeed

java.lang.Object
  extended by org.apache.jetspeed.Jetspeed

public class Jetspeed
extends java.lang.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

Constructor Summary
Jetspeed()
           
 
Method Summary
static ComponentManager getComponentManager()
           
static PortalConfiguration getConfiguration()
           
static PortalContext getContext()
           
static RequestContext getCurrentRequestContext()
          Delegtes to the current Engine to retreive the RequestContext appropriate for the current thread.
static java.util.Locale getDefaultLocale()
           
static Engine getEngine()
           
static java.lang.String getRealPath(java.lang.String path)
          Given a application relative path, returns the real path relative to the application root
static void setEngine(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
 

Constructor Detail

Jetspeed

public Jetspeed()
Method Detail

shutdown

public static void shutdown()
                     throws JetspeedException
Shuts down the currently running instance of the portal Engine.

Throws:
JetspeedException

getEngine

public static Engine getEngine()

getContext

public static PortalContext getContext()

getRealPath

public static java.lang.String getRealPath(java.lang.String path)
Given a application relative path, returns the real path relative to the application root


getCurrentRequestContext

public static 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 java.util.Locale getDefaultLocale()

getComponentManager

public static ComponentManager getComponentManager()

setEngine

public static void setEngine(Engine engine)

getConfiguration

public static PortalConfiguration getConfiguration()


Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.