|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerConfigImplMBean
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 |
getPlatformMBeanServer()
Get the current value of the flag that indicates if we are using the platform MBeanServer as the main jboss 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. |
File |
getServerLogDir()
Get the directory where log files will be stored. |
String |
getServerName()
Get the name of the server. |
File |
getServerNativeDir()
Get the native dir for unpacking |
File |
getServerTempDeployDir()
Get the temporary deployment dir for unpacking |
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 |
---|
static final javax.management.ObjectName OBJECT_NAME
Method Detail |
---|
File getHomeDir()
URL getHomeURL()
URL getLibraryURL()
URL getPatchURL()
String getServerName()
File getServerBaseDir()
File getServerHomeDir()
File getServerLogDir()
File getServerTempDir()
File getServerDataDir()
File getServerNativeDir()
File getServerTempDeployDir()
URL getServerBaseURL()
URL getServerHomeURL()
URL getServerLibraryURL()
URL getServerConfigURL()
boolean getPlatformMBeanServer()
ServerConfig.PLATFORM_MBEANSERVER
property must be set, and the jvm must be jdk1.5+
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.boolean getExitOnShutdown()
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.boolean getBlockingShutdown()
void setRequireJBossURLStreamHandlerFactory(boolean flag)
flag
- True to enable blocking shutdown.boolean getRequireJBossURLStreamHandlerFactory()
void setRootDeploymentFilename(String filename)
filename
- The filename of the root deployable.String getRootDeploymentFilename()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |