| 
 | J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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 | |
|  java.lang.String[] | getCmdLineArgs()Get the server command-line arguments | 
|  javax.naming.InitialContext | getInitialContext()Get the initial naming context. | 
|  java.lang.String | getInstallRoot()Get server install root | 
|  java.lang.String | getInstanceName()Get the server instance name | 
|  void | log(java.lang.String message)Writes the specified message to a server log file. | 
|  void | log(java.lang.String message,
    java.lang.Throwable throwable)Writes an explanatory message and a stack trace for a given Throwableexception
 to the server log file. | 
| Method Detail | 
public java.lang.String[] getCmdLineArgs()
public java.lang.String getInstallRoot()
public java.lang.String getInstanceName()
public javax.naming.InitialContext getInitialContext()
public void log(java.lang.String message)
message - a String specifying the 
			message to be written to the log file
public void log(java.lang.String message,
                java.lang.Throwable throwable)
Throwable exception
 to the server log file.
message - a String that 
				describes the error or exceptionthrowable - the Throwable error 
				or exception| 
 | J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2003 Sun Microsystems, Inc. All rights reserved.