|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.v3.server.LifecycleEventContextImpl
public class LifecycleEventContextImpl
| Constructor Summary | |
|---|---|
LifecycleEventContextImpl(ServerContext ctx)
public constructor |
|
| Method Summary | |
|---|---|
String[] |
getCmdLineArgs()
Get the server command-line arguments |
InitialContext |
getInitialContext()
Get the initial naming context. |
String |
getInstallRoot()
Get server installation 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LifecycleEventContextImpl(ServerContext ctx)
| Method Detail |
|---|
public String[] getCmdLineArgs()
getCmdLineArgs in interface LifecycleEventContextpublic String getInstallRoot()
getInstallRoot in interface LifecycleEventContextpublic String getInstanceName()
getInstanceName in interface LifecycleEventContextpublic InitialContext getInitialContext()
getInitialContext in interface LifecycleEventContextpublic void log(String message)
log in interface LifecycleEventContextmsg - a String specifying the
message to be written to the log file
public void log(String message,
Throwable throwable)
Throwable exception
to the server log file.
log in interface LifecycleEventContextmessage - a String that
describes the error or exceptionthrowable - the Throwable error
or exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||