|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.appserv.server.LifecycleModuleService
public class LifecycleModuleService
Support class to assist in firing LifecycleEvent notifications to registered LifecycleListeners.
Field Summary | |
---|---|
protected static boolean |
delayLifeCycleInit
|
Constructor Summary | |
---|---|
LifecycleModuleService()
|
Method Summary | |
---|---|
protected boolean |
lifeCycleVersionMatches()
|
void |
onInitialization(com.sun.enterprise.server.ServerContext context)
Server is initializing subsystems and setting up the runtime environment. |
void |
onReady(com.sun.enterprise.server.ServerContext context)
Server has complted loading the applications and is ready to serve requests. |
void |
onShutdown()
Server is shutting down applications |
void |
onStartup(com.sun.enterprise.server.ServerContext context)
Server is starting up applications |
void |
onTermination()
Server is terminating the subsystems and the runtime environment. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static boolean delayLifeCycleInit
Constructor Detail |
---|
public LifecycleModuleService()
Method Detail |
---|
protected boolean lifeCycleVersionMatches()
public void onInitialization(com.sun.enterprise.server.ServerContext context) throws ServerLifecycleException
ServerLifecycle
onInitialization
in interface ServerLifecycle
context
- ServerContext the server runtime context.
ServerLifecycleException
- if this subsystem detects a fatal
error that prevents this subsystem from being usedpublic void onStartup(com.sun.enterprise.server.ServerContext context) throws ServerLifecycleException
ServerLifecycle
onStartup
in interface ServerLifecycle
context
- ServerContext the server runtime context.
ServerLifecycleException
- if this subsystem detects a fatal
error that prevents this subsystem from being usedpublic void onReady(com.sun.enterprise.server.ServerContext context) throws ServerLifecycleException
ServerLifecycle
onReady
in interface ServerLifecycle
context
- ServerContext the server runtime context.
ServerLifecycleException
- if this subsystem detects a fatal
error that prevents this subsystem from being usedpublic void onShutdown() throws ServerLifecycleException
ServerLifecycle
onShutdown
in interface ServerLifecycle
ServerLifecycleException
- if this subsystem detects a fatal
error that prevents this subsystem from being usedpublic void onTermination() throws ServerLifecycleException
ServerLifecycle
onTermination
in interface ServerLifecycle
ServerLifecycleException
- if this subsystem detects a fatal
error that prevents this subsystem from being used
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.