|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.appserv.server.ServerLifecycleImpl
public class ServerLifecycleImpl
ServerLifecycleImple class a dummmy implementation for ServerLifecycle interface. This implementaion stubs out various lifecycle interface methods.
| Constructor Summary | |
|---|---|
ServerLifecycleImpl()
|
|
| Method Summary | |
|---|---|
void |
onInitialization(com.sun.enterprise.server.ServerContext sc)
Server is initializing subsystems and setting up the runtime environment. |
void |
onReady(com.sun.enterprise.server.ServerContext sc)
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 sc)
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 |
| Constructor Detail |
|---|
public ServerLifecycleImpl()
| Method Detail |
|---|
public void onInitialization(com.sun.enterprise.server.ServerContext sc)
throws ServerLifecycleException
onInitialization in interface ServerLifecyclesc - ServerContext the server runtime context.
IllegalStateException - if this subsystem has already been
started
ServerLifecycleException - if this subsystem detects a fatal
error that prevents this subsystem from being used
public void onStartup(com.sun.enterprise.server.ServerContext sc)
throws ServerLifecycleException
onStartup in interface ServerLifecyclesc - ServerContext the server runtime context.
ServerLifecycleException - if this subsystem detects a fatal
error that prevents this subsystem from being used
public void onReady(com.sun.enterprise.server.ServerContext sc)
throws ServerLifecycleException
onReady in interface ServerLifecyclesc - ServerContext the server runtime context.
ServerLifecycleException - if this subsystem detects a fatal
error that prevents this subsystem from being used
public void onShutdown()
throws ServerLifecycleException
onShutdown in interface ServerLifecycleServerLifecycleException - if this subsystem detects a fatal
error that prevents this subsystem from being used
public void onTermination()
throws ServerLifecycleException
onTermination in interface ServerLifecycleServerLifecycleException - 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.