public class HstServices extends Object
ComponentManager
managed by the HST container.Modifier and Type | Method and Description |
---|---|
static ComponentManager |
getComponentManager()
Returns the component manager of the HST container.
|
static String |
getImplementationVersion() |
static Logger |
getLogger(String loggerName)
Deprecated.
since 2.26.05. It will be removed from 2.28.00 and onwards. Just use org.slf4j.LoggerFactory.getLogger(MyClass.class);
instead
|
static Logger |
getLogger(String loggerName,
String fqcn)
Deprecated.
since 2.26.05. It will be removed from 2.28.00 and onwards. Just use org.slf4j.LoggerFactory.getLogger(MyClass.class);
instead
|
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.
|
public static void setComponentManager(ComponentManager compManager)
compManager
- public static ComponentManager getComponentManager()
public static boolean isAvailable()
public static HstRequestProcessor getRequestProcessor()
RequestProcessor
component to serve requests.@Deprecated public static Logger getLogger(String loggerName)
Logger
component managed by the HST container.loggerName
- @Deprecated public static Logger getLogger(String loggerName, String fqcn)
Logger
component managed by the HST container with wrapper logger fqcn used to find logging locationloggerName
- fqcn
- public static String getImplementationVersion()
Copyright © 2008-2013 Hippo B.V. (http://www.onehippo.com). All Rights Reserved.