Package com.sun.appserv.server
Interface LifecycleEventContext
-
public interface LifecycleEventContextLifecycleEventContext interface exposes the server-wide runtime environment that is created by ApplicationServer. This context has only accessors and is a subset of ServerContext used by the server runtime.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]getCmdLineArgs()Get the server command-line argumentsInitialContextgetInitialContext()Get the initial naming context.StringgetInstallRoot()Get server install rootStringgetInstanceName()Get the server instance namevoidlog(String message)Writes the specified message to a server log file.voidlog(String message, Throwable throwable)Writes an explanatory message and a stack trace for a givenThrowableexception to the server log file.
-
-
-
Method Detail
-
getCmdLineArgs
String[] getCmdLineArgs()
Get the server command-line arguments
-
getInstallRoot
String getInstallRoot()
Get server install root
-
getInstanceName
String getInstanceName()
Get the server instance name
-
getInitialContext
InitialContext getInitialContext()
Get the initial naming context.
-
log
void log(String message)
Writes the specified message to a server log file.- Parameters:
message- aStringspecifying the message to be written to the log file
-
-