|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gridsystems.innergrid.kernel.Kernel
public class Kernel
Kernel integration provider. Methods in this class give centralized access to a variety of extensibility points.
As most of this class fields are declared protected, and no setter methods are provided from them, their initialization must be performed from a subclass.
Field Summary | |
---|---|
protected static AAService |
aas
Reference to the default AAService instance. |
protected static PluginVersion |
kernelVersion
Kernel Version Info. |
protected static javax.swing.event.EventListenerList |
listenerList
Container for the list of registered KernelListeners. |
protected static PluginManager |
manager
Reference to the PluginManager instance. |
protected static ApiRegistry |
registry
Reference to the ApiRegistry instance. |
protected static java.util.Timer |
timer
Timer instance for global task scheduling. |
Constructor Summary | |
---|---|
protected |
Kernel()
This class MUST not be instantiated, but subclasses may be. |
Method Summary | |
---|---|
static void |
addKernelListener(KernelListener l)
Registers a kernel listener for receiving notification on kernel events. |
static int |
addPreWSSFilter(RequestFilter requestFilter,
int position)
Adds a filter at the specified position. |
protected static void |
clearListeners()
Clears the listener list. |
static ApiRegistry |
getApiRegistry()
Gets a unique instance of ApiRegistry. |
static AAService |
getDefaultAAS()
Gets the current Authenticator implementation. |
static PluginManager |
getPluginManager()
Gets a unique instance of PluginManager. |
static java.util.Timer |
getTimer()
Gets a global timer for scheduled task execution. |
static PluginVersion |
getVersion()
Gets the version of the kernel engine. |
protected static void |
notifyShutdown(javax.servlet.ServletContext ctx)
Sends a "Shutdown event" notification to all registered listeners. |
protected static void |
notifyStartup(javax.servlet.ServletContext ctx)
Sends a "Startup event" notification to all registered listeners. |
static void |
removeKernelListener(KernelListener l)
Unregisters a kernel listener. |
static boolean |
removePreWSSFilter(RequestFilter requestFilter)
Removes a filter. |
protected static PluginVersion |
retrieveKernelVersion()
Gets the kernel version from the VERSION_PROPERTIES_RSC resource. |
static void |
setDefaultAAS(AAService a)
Sets the current Authenticator implementation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static PluginVersion kernelVersion
protected static ApiRegistry registry
protected static PluginManager manager
protected static AAService aas
protected static java.util.Timer timer
protected static javax.swing.event.EventListenerList listenerList
KernelListener
Constructor Detail |
---|
protected Kernel()
Method Detail |
---|
public static ApiRegistry getApiRegistry()
public static PluginManager getPluginManager()
public static java.util.Timer getTimer()
public static AAService getDefaultAAS()
public static void setDefaultAAS(AAService a)
a
- The new Authenticator instancepublic static PluginVersion getVersion()
public static void addKernelListener(KernelListener l)
l
- The listener instance to registerpublic static void removeKernelListener(KernelListener l)
l
- The listener instance to unregisterprotected static void notifyStartup(javax.servlet.ServletContext ctx)
ctx
- The context in which the event has been firedprotected static void notifyShutdown(javax.servlet.ServletContext ctx)
ctx
- The context in which the event has been firedprotected static void clearListeners()
This method is for cleanup on context shutdown. It should NEVER be called in any other context, as it would break down kernel functionality.
public static int addPreWSSFilter(RequestFilter requestFilter, int position)
requestFilter
- the filter to add.position
- the position at which at the filter. If it is a negative
number, the filter will be added at the end of the list.
public static boolean removePreWSSFilter(RequestFilter requestFilter)
requestFilter
- the filter to remove.
protected static PluginVersion retrieveKernelVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |