public class EmbeddedServerOptions extends HashStructureAdapter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATA_KEY |
static int |
DEFAULT_DELAY_BEFORE_BROWSER_LAUNCH |
static boolean |
DEFAULT_LOAD_ALL_JARS_AT_STARTUP |
static boolean |
DEFAULT_LOOKUP_ALL_EJBS_AT_STARTUP |
static int |
DEFAULT_REFER_TO_HOST_AS |
static int |
DEFAULT_SHUTDOWN_POLICY |
static java.lang.String |
DEFAULT_SPECIFIED_HOST_NAME |
static int |
DEFAULT_TIMEOUT_BEFORE_BROWSER_LAUNCH |
static int |
DEFAULT_TIMEOUT_FOR_HTTP_KEEP_ALIVE |
static java.lang.String |
DEFAULT_VERIFY_CLASS_FILES |
static int |
REFER_TO_HOST_AS_FULL_HOST_NAME |
static int |
REFER_TO_HOST_AS_IP_ADDRESS |
static int |
REFER_TO_HOST_AS_SHORT_HOST_NAME |
static int |
REFER_TO_HOST_AS_SPECIFIED |
static int |
SHUTDOWN_FORCEFULLY_ALWAYS |
static int |
SHUTDOWN_GRACEFULLY_ALWAYS |
static int |
SHUTDOWN_GRACEFULLY_THEN_FORCEFULLY |
static java.lang.String |
VERIFY_ALL |
static java.lang.String |
VERIFY_NONE |
_hash
Constructor and Description |
---|
EmbeddedServerOptions() |
EmbeddedServerOptions(HashStructure hash) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getDelayBeforeBrowserLaunch() |
static java.lang.String |
getHostFullName() |
static java.lang.String |
getHostIpAddress() |
static java.lang.String |
getHostShortName() |
java.lang.String |
getHttpHost() |
static EmbeddedServerOptions |
getInstance(PropertyStorage prefs) |
boolean |
getLoadAllJarsAtStartup() |
boolean |
getLookupAllEJBsAtStartup() |
int |
getReferToHostAs() |
int |
getShutdownPolicy() |
java.lang.String |
getSpecifiedHostName() |
java.lang.Integer |
getTimeoutBeforeBrowserLaunch() |
java.lang.Integer |
getTimeoutForHttpKeepAlive()
Timeout is in milliseconds.
|
java.lang.String |
getVerifyClassFiles() |
void |
setDelayBeforeBrowserLaunch(java.lang.Integer delayBeforeBrowserLaunch)
Delay is in milliseconds.
|
void |
setLoadAllJarsAtStartup(boolean loadAllJarsAtStartup) |
void |
setLookupAllEJBsAtStartup(boolean lookupAllEJBsAtStartup) |
void |
setReferToHostAs(int referToHostAs) |
void |
setShutdownPolicy(int shutdownPolicy) |
void |
setSpecifiedHostName(java.lang.String specifiedHostName) |
void |
setTimeoutBeforeBrowserLaunch(java.lang.Integer timeoutBeforeBrowserLaunch)
Timeout is in milliseconds.
|
void |
setTimeoutForHttpKeepAlive(java.lang.Integer timeoutForHttpKeepAlive)
Timeout is in milliseconds.
|
void |
setVerifyClassFiles(java.lang.String verify) |
addStructureChangeListener, containsKey, copyTo, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals
public static final java.lang.String DATA_KEY
public static final int REFER_TO_HOST_AS_IP_ADDRESS
public static final int REFER_TO_HOST_AS_SHORT_HOST_NAME
public static final int REFER_TO_HOST_AS_FULL_HOST_NAME
public static final int REFER_TO_HOST_AS_SPECIFIED
public static final int DEFAULT_REFER_TO_HOST_AS
public static final java.lang.String DEFAULT_SPECIFIED_HOST_NAME
public static final int DEFAULT_DELAY_BEFORE_BROWSER_LAUNCH
public static final int DEFAULT_TIMEOUT_BEFORE_BROWSER_LAUNCH
public static final int DEFAULT_TIMEOUT_FOR_HTTP_KEEP_ALIVE
public static final boolean DEFAULT_LOAD_ALL_JARS_AT_STARTUP
public static final boolean DEFAULT_LOOKUP_ALL_EJBS_AT_STARTUP
public static final java.lang.String VERIFY_ALL
public static final java.lang.String VERIFY_NONE
public static final java.lang.String DEFAULT_VERIFY_CLASS_FILES
public static final int SHUTDOWN_FORCEFULLY_ALWAYS
public static final int SHUTDOWN_GRACEFULLY_THEN_FORCEFULLY
public static final int SHUTDOWN_GRACEFULLY_ALWAYS
public static final int DEFAULT_SHUTDOWN_POLICY
public EmbeddedServerOptions()
public EmbeddedServerOptions(HashStructure hash)
public static EmbeddedServerOptions getInstance(PropertyStorage prefs)
public int getReferToHostAs()
public void setReferToHostAs(int referToHostAs)
public java.lang.String getSpecifiedHostName()
public void setSpecifiedHostName(java.lang.String specifiedHostName)
public java.lang.Integer getDelayBeforeBrowserLaunch()
public void setDelayBeforeBrowserLaunch(java.lang.Integer delayBeforeBrowserLaunch)
public java.lang.Integer getTimeoutBeforeBrowserLaunch()
public void setTimeoutBeforeBrowserLaunch(java.lang.Integer timeoutBeforeBrowserLaunch)
public java.lang.Integer getTimeoutForHttpKeepAlive()
public void setTimeoutForHttpKeepAlive(java.lang.Integer timeoutForHttpKeepAlive)
public boolean getLoadAllJarsAtStartup()
public void setLoadAllJarsAtStartup(boolean loadAllJarsAtStartup)
public boolean getLookupAllEJBsAtStartup()
public void setLookupAllEJBsAtStartup(boolean lookupAllEJBsAtStartup)
public java.lang.String getVerifyClassFiles()
public void setVerifyClassFiles(java.lang.String verify)
public int getShutdownPolicy()
public void setShutdownPolicy(int shutdownPolicy)
public static java.lang.String getHostIpAddress() throws java.net.UnknownHostException
java.net.UnknownHostException
public static java.lang.String getHostShortName() throws java.net.UnknownHostException
java.net.UnknownHostException
public static java.lang.String getHostFullName() throws java.net.UnknownHostException
java.net.UnknownHostException
public java.lang.String getHttpHost()