|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBean interface.
Field Summary | |
static javax.management.ObjectName |
OBJECT_NAME
|
Method Summary | |
boolean |
getBlockingShutdown()
Get the current value of the blocking shutdown flag. |
boolean |
getExitOnShutdown()
Get the current value of the exit on shutdown flag. |
File |
getHomeDir()
Get the local home directory which the server is running from. |
URL |
getHomeURL()
Get the home URL which the server is running from. |
URL |
getLibraryURL()
Get the home URL which the server is running from. |
URL |
getPatchURL()
Get the patch URL for the server. |
boolean |
getRequireJBossURLStreamHandlerFactory()
Get the current value of the requireJBossURLStreamHandlerFactory flag. |
String |
getRootDeploymentFilename()
Get the filename of the root deployable that will be used to finalize the bootstrap process. |
File |
getServerBaseDir()
Get the base directory for calculating server home directories. |
URL |
getServerBaseURL()
Get the base directory for calculating server home URLs. |
URL |
getServerConfigURL()
Get the server configuration URL. |
File |
getServerDataDir()
Get the directory where local data will be stored. |
File |
getServerHomeDir()
Get the server home directory. |
URL |
getServerHomeURL()
Get the server home URL. |
URL |
getServerLibraryURL()
Get the server library URL. |
String |
getServerName()
Get the name of the server. |
File |
getServerTempDir()
Get the directory where temporary files will be stored. |
void |
setBlockingShutdown(boolean flag)
Enable or disable blocking when Server.shutdown() is called. |
void |
setExitOnShutdown(boolean flag)
Enable or disable exiting the JVM when Server.shutdown() is called. |
void |
setRequireJBossURLStreamHandlerFactory(boolean flag)
Set the RequireJBossURLStreamHandlerFactory flag. |
void |
setRootDeploymentFilename(String filename)
Set the filename of the root deployable that will be used to finalize the bootstrap process. |
Field Detail |
public static final javax.management.ObjectName OBJECT_NAME
Method Detail |
public File getHomeDir()
public URL getHomeURL()
public URL getLibraryURL()
public URL getPatchURL()
public String getServerName()
public File getServerBaseDir()
public File getServerHomeDir()
public File getServerTempDir()
public File getServerDataDir()
public URL getServerBaseURL()
public URL getServerHomeURL()
public URL getServerLibraryURL()
public URL getServerConfigURL()
public void setExitOnShutdown(boolean flag)
Server.shutdown()
is called. If enabled, then shutdown calls Server.exit(int)
. If disabled, then only the shutdown hook will be run.
flag
- True to enable calling exit on shutdown.public boolean getExitOnShutdown()
public void setBlockingShutdown(boolean flag)
Server.shutdown()
is called. If enabled, then shutdown will be called in the current thread. If disabled, then the shutdown hook will be run ansynchronously in a separate thread.
flag
- True to enable blocking shutdown.public boolean getBlockingShutdown()
public void setRequireJBossURLStreamHandlerFactory(boolean flag)
flag
- True to enable blocking shutdown.public boolean getRequireJBossURLStreamHandlerFactory()
public void setRootDeploymentFilename(String filename)
filename
- The filename of the root deployable.public String getRootDeploymentFilename()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |