org.hippoecm.hst.site
Class HstServices

java.lang.Object
  extended by org.hippoecm.hst.site.HstServices

public class HstServices
extends Object

A static accessor to the ComponentManager managed by the HST container.

Version:
$Id: HstServices.java 29302 2011-08-04 00:16:45Z wko $

Method Summary
static ComponentManager getComponentManager()
          Returns the component manager of the HST container.
static String getImplementationVersion()
           
static Logger getLogger(String loggerName)
          Returns the centralized Logger component managed by the HST container.
static Logger getLogger(String loggerName, String fqcn)
          Returns the centralized Logger component managed by the HST container with wrapper logger fqcn used to find logging location
static HstRequestProcessor getRequestProcessor()
          Returns the RequestProcessor component to serve requests.
static boolean isAvailable()
          Returns the flag if the HST container is available or not to serve requests.
static void setComponentManager(ComponentManager compManager)
          Sets the component manager of the HST container.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setComponentManager

public static void setComponentManager(ComponentManager compManager)
Sets the component manager of the HST container.

Parameters:
compManager -

getComponentManager

public static ComponentManager getComponentManager()
Returns the component manager of the HST container.

Returns:

isAvailable

public static boolean isAvailable()
Returns the flag if the HST container is available or not to serve requests.

Returns:

getRequestProcessor

public static HstRequestProcessor getRequestProcessor()
Returns the RequestProcessor component to serve requests.

Returns:

getLogger

public static Logger getLogger(String loggerName)
Returns the centralized Logger component managed by the HST container.

Parameters:
loggerName -
Returns:

getLogger

public static Logger getLogger(String loggerName,
                               String fqcn)
Returns the centralized Logger component managed by the HST container with wrapper logger fqcn used to find logging location

Parameters:
loggerName -
fqcn -
Returns:

getImplementationVersion

public static String getImplementationVersion()


Copyright © 2008-2012 Hippo. All Rights Reserved.