Package org.glassfish.tests.utils.mock
Class TestServerEnvironment
java.lang.Object
org.glassfish.server.ServerEnvironmentImpl
org.glassfish.tests.utils.mock.TestServerEnvironment
- All Implemented Interfaces:
org.glassfish.api.admin.ServerEnvironment
@Service
@Singleton
public class TestServerEnvironment
extends org.glassfish.server.ServerEnvironmentImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.glassfish.api.admin.ServerEnvironment
org.glassfish.api.admin.ServerEnvironment.Status -
Field Summary
Fields inherited from class org.glassfish.server.ServerEnvironmentImpl
DEFAULT_ADMIN_CONSOLE_APP_NAME, DEFAULT_ADMIN_CONSOLE_CONTEXT_ROOT, kAppAltDDDirName, kConfigDirName, kConfigXMLFileName, kConfigXMLFileNameBackup, kDefaultLoggingPropertiesFileName, kEJBStubDirName, kGeneratedDirName, kGeneratedXMLDirName, kInitFileName, kLoggingPropertiesFileName, kPolicyFileDirName, kRepositoryDirNameFields inherited from interface org.glassfish.api.admin.ServerEnvironment
DEFAULT_INSTANCE_NAME, kCompileJspDirName -
Constructor Summary
ConstructorsConstructorDescriptionTestServerEnvironment(com.sun.enterprise.module.bootstrap.StartupContext startupContext) -
Method Summary
Modifier and TypeMethodDescriptioncom.sun.enterprise.module.bootstrap.StartupContextMethods inherited from class org.glassfish.server.ServerEnvironmentImpl
getApplicationAltDDPath, getApplicationCompileJspPath, getApplicationEJBStubPath, getApplicationGeneratedXMLPath, getApplicationPolicyFilePath, getApplicationRepositoryPath, getApplicationStubPath, getConfigDirPath, getDefaultAdminConsoleFolderOnDisk, getDomainName, getInitFilePath, getInstanceName, getInstanceRoot, getJKS, getLibPath, getMasterPasswordFile, getProp, getProps, getRuntimeType, getStatus, getTrustStore, isDas, isDebug, isEmbedded, isInstance, isVerbose, postConstruct, setStatus
-
Constructor Details
-
TestServerEnvironment
public TestServerEnvironment(com.sun.enterprise.module.bootstrap.StartupContext startupContext)
-
-
Method Details
-
getStartupContext
public com.sun.enterprise.module.bootstrap.StartupContext getStartupContext()- Specified by:
getStartupContextin interfaceorg.glassfish.api.admin.ServerEnvironment- Overrides:
getStartupContextin classorg.glassfish.server.ServerEnvironmentImpl
-