|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Contract public interface ServerEnvironment
Allow access to the environment under which GlassFish operates. TODO : dochez : this needs to be reconciled with ServerContext and simplified...
| Nested Class Summary | |
|---|---|
static class |
ServerEnvironment.Status
|
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_INSTANCE_NAME
|
static java.lang.String |
kCompileJspDirName
folder where the compiled JSP pages reside |
| Method Summary | |
|---|---|
java.io.File |
getApplicationCompileJspPath()
Returns the path for compiled JSP Pages from an application that is deployed on this instance. |
java.io.File |
getApplicationEJBStubPath()
|
java.io.File |
getApplicationGeneratedXMLPath()
|
java.io.File |
getApplicationPolicyFilePath()
|
java.io.File |
getApplicationRepositoryPath()
Gets the directory to store deployed applications Normally ROOT/applications |
java.io.File |
getApplicationStubPath()
Gets the directory to store generated stuff. |
java.io.File |
getConfigDirPath()
|
java.io.File |
getDomainRoot()
Deprecated. As of GlassFish 3.1 replaced with getInstanceRoot() |
java.io.File |
getDomainXML()
The domain.xml config file |
java.lang.String |
getInstanceName()
Every server has a name that can be found in the server element in domain.xml |
java.io.File |
getInstanceRoot()
|
java.io.File |
getJKS()
A Java KeyStore which is locked by administrator's master password. |
java.io.File |
getLibPath()
Gets the directory for hosting user-provided jar files. |
java.io.File |
getMasterPasswordFile()
A JCEKS keystore which is locked with a fixed-key. |
RuntimeType |
getRuntimeType()
Returns the process type of this instance. |
com.sun.enterprise.module.bootstrap.StartupContext |
getStartupContext()
return the startup context used to initialize this runtime |
ServerEnvironment.Status |
getStatus()
Gets the server status |
java.io.File |
getTrustStore()
The truststore used by the server. |
boolean |
isDas()
|
boolean |
isInstance()
|
| Field Detail |
|---|
static final java.lang.String kCompileJspDirName
static final java.lang.String DEFAULT_INSTANCE_NAME
| Method Detail |
|---|
@Deprecated java.io.File getDomainRoot()
getInstanceRoot()
java.io.File getInstanceRoot()
com.sun.enterprise.module.bootstrap.StartupContext getStartupContext()
java.io.File getConfigDirPath()
java.io.File getLibPath()
ROOT/lib
java.io.File getApplicationRepositoryPath()
ROOT/applications
java.io.File getApplicationStubPath()
ROOT/generated
java.io.File getApplicationCompileJspPath()
java.io.File getApplicationGeneratedXMLPath()
java.io.File getApplicationEJBStubPath()
java.io.File getApplicationPolicyFilePath()
java.io.File getMasterPasswordFile()
java.io.File getJKS()
java.io.File getTrustStore()
java.io.File getDomainXML()
ServerEnvironment.Status getStatus()
RuntimeType getRuntimeType()
java.lang.String getInstanceName()
boolean isInstance()
boolean isDas()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||