com.sun.enterprise.v3.server
Class ServerContextImpl
java.lang.Object
com.sun.enterprise.v3.server.ServerContextImpl
- All Implemented Interfaces:
- org.glassfish.hk2.PostConstruct, ServerContext
@Service
@Scoped(value=org.jvnet.hk2.component.Singleton.class)
public class ServerContextImpl
- extends Object
- implements ServerContext, org.jvnet.hk2.component.PostConstruct
This is the Server Context object.
- Author:
- Jerome Dochez
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerContextImpl
public ServerContextImpl()
postConstruct
public void postConstruct()
- Creates a new instance of ServerContextImpl
- Specified by:
postConstruct in interface org.glassfish.hk2.PostConstruct
getInstanceRoot
public File getInstanceRoot()
getCmdLineArgs
public String[] getCmdLineArgs()
- Specified by:
getCmdLineArgs in interface ServerContext
getInstallRoot
public File getInstallRoot()
- Specified by:
getInstallRoot in interface ServerContext
getInstanceName
public String getInstanceName()
- Specified by:
getInstanceName in interface ServerContext
getServerConfigURL
public String getServerConfigURL()
- Specified by:
getServerConfigURL in interface ServerContext
getConfigBean
public Server getConfigBean()
- Specified by:
getConfigBean in interface ServerContext
getInitialContext
public InitialContext getInitialContext()
- Specified by:
getInitialContext in interface ServerContext
getCommonClassLoader
public ClassLoader getCommonClassLoader()
- Specified by:
getCommonClassLoader in interface ServerContext
getSharedClassLoader
public ClassLoader getSharedClassLoader()
- Specified by:
getSharedClassLoader in interface ServerContext
getLifecycleParentClassLoader
public ClassLoader getLifecycleParentClassLoader()
- Specified by:
getLifecycleParentClassLoader in interface ServerContext
getInvocationManager
public InvocationManager getInvocationManager()
- Specified by:
getInvocationManager in interface ServerContext
getDefaultDomainName
public String getDefaultDomainName()
- Specified by:
getDefaultDomainName in interface ServerContext
getDefaultServices
public org.glassfish.hk2.Services getDefaultServices()
- Returns the default services for this instance
- Specified by:
getDefaultServices in interface ServerContext
- Returns:
- default services
Copyright © 2012. All Rights Reserved.