|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gridsystems.innergrid.kernel.Kernel com.gridsystems.innergrid.kernel.startup.KernelInitializer
public final class KernelInitializer
Kernel Initialization support.
Field Summary |
---|
Fields inherited from class com.gridsystems.innergrid.kernel.Kernel |
---|
aas, kernelVersion, listenerList, manager, registry, timer |
Method Summary | |
---|---|
static void |
dispose()
Resource clean up. |
static void |
registerPlugins(PluginFactory factory)
Registers all plug-ins the factory has found out. |
static void |
setup(javax.servlet.ServletContext ctx)
Initializes the Kernel framework. |
Methods inherited from class com.gridsystems.innergrid.kernel.Kernel |
---|
addKernelListener, addPreWSSFilter, clearListeners, getApiRegistry, getDefaultAAS, getPluginManager, getTimer, getVersion, notifyShutdown, notifyStartup, removeKernelListener, removePreWSSFilter, retrieveKernelVersion, setDefaultAAS |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setup(javax.servlet.ServletContext ctx)
ctx
- The servlet context into which the Kernel is being executionpublic static void registerPlugins(PluginFactory factory)
It first adds all of them to the plugin manager. After that, it filters them by their dependencies, removing all plug-ins whose dependencies are not available. Finally, it registers them as KernelListeners in such an orded that a plugin will always be notified of startup events after all its dependencies.
factory
- The factory containing the plug-in listpublic static void dispose()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |