@Contract
public interface ServerContext
| Modifier and Type | Method and Description |
|---|---|
String[] |
getCmdLineArgs()
Get the server command-line arguments
|
ClassLoader |
getCommonClassLoader()
Get the classloader that loads .jars in $instance/lib and classes
in $instance/lib/classes.
|
com.sun.enterprise.config.serverbeans.Server |
getConfigBean()
Get the server configuration bean.
|
String |
getDefaultDomainName()
get the default domain name
|
org.glassfish.hk2.api.ServiceLocator |
getDefaultServices()
Returns the default habitat for this instance
|
InitialContext |
getInitialContext()
Get the initial naming context.
|
File |
getInstallRoot()
Get server install root
|
String |
getInstanceName()
Get the server instance name
|
org.glassfish.api.invocation.InvocationManager |
getInvocationManager()
get the J2EE Server invocation manager
|
ClassLoader |
getLifecycleParentClassLoader()
Get the parent class loader for the life cycle modules.
|
String |
getServerConfigURL()
Get a URL representation of server configuration
|
ClassLoader |
getSharedClassLoader()
Returns the shared class loader for this server instance.
|
String[] getCmdLineArgs()
File getInstallRoot()
String getInstanceName()
String getServerConfigURL()
com.sun.enterprise.config.serverbeans.Server getConfigBean()
InitialContext getInitialContext()
ClassLoader getCommonClassLoader()
ClassLoader getSharedClassLoader()
ClassLoader getLifecycleParentClassLoader()
org.glassfish.api.invocation.InvocationManager getInvocationManager()
String getDefaultDomainName()
org.glassfish.hk2.api.ServiceLocator getDefaultServices()
Copyright © 2015. All rights reserved.