|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LifecycleEventContext
LifecycleEventContext 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 | |
|---|---|
String[] |
getCmdLineArgs()
Get the server command-line arguments |
InitialContext |
getInitialContext()
Get the initial naming context. |
String |
getInstallRoot()
Get server install root |
String |
getInstanceName()
Get the server instance name |
void |
log(String message)
Writes the specified message to a server log file. |
void |
log(String message,
Throwable throwable)
Writes an explanatory message and a stack trace for a given Throwable exception
to the server log file. |
| Method Detail |
|---|
String[] getCmdLineArgs()
String getInstallRoot()
String getInstanceName()
InitialContext getInitialContext()
void log(String message)
message - a String specifying the
message to be written to the log file
void log(String message,
Throwable throwable)
Throwable exception
to the server log file.
message - a String that
describes the error or exceptionthrowable - the Throwable error
or exception
|
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.