|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Contract public interface ServerContext
ServerContext interface: the server-wide runtime environment created by ApplicationServer and shared by its subsystems such as the web container or EJB container.
| Method Summary | |
|---|---|
java.lang.String[] |
getCmdLineArgs()
Get the server command-line arguments |
java.lang.ClassLoader |
getCommonClassLoader()
Get the classloader that loads .jars in $instance/lib and classes in $instance/lib/classes. |
Server |
getConfigBean()
Get the server configuration bean. |
java.lang.String |
getDefaultDomainName()
get the default domain name |
org.jvnet.hk2.component.Habitat |
getDefaultHabitat()
Returns the default habitat for this instance |
javax.naming.InitialContext |
getInitialContext()
Get the initial naming context. |
java.io.File |
getInstallRoot()
Get server install root |
java.lang.String |
getInstanceName()
Get the server instance name |
InvocationManager |
getInvocationManager()
get the J2EE Server invocation manager |
java.lang.ClassLoader |
getLifecycleParentClassLoader()
Get the parent class loader for the life cycle modules. |
java.lang.String |
getServerConfigURL()
Get a URL representation of server configuration |
java.lang.ClassLoader |
getSharedClassLoader()
Returns the shared class loader for this server instance. |
| Method Detail |
|---|
java.lang.String[] getCmdLineArgs()
java.io.File getInstallRoot()
java.lang.String getInstanceName()
java.lang.String getServerConfigURL()
Server getConfigBean()
javax.naming.InitialContext getInitialContext()
java.lang.ClassLoader getCommonClassLoader()
java.lang.ClassLoader getSharedClassLoader()
java.lang.ClassLoader getLifecycleParentClassLoader()
InvocationManager getInvocationManager()
java.lang.String getDefaultDomainName()
org.jvnet.hk2.component.Habitat getDefaultHabitat()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||