|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.system.server.ServerConfigImpl
public class ServerConfigImpl
An mbean wrapper for the BaseServerConfig that exposes the config as the legacy ServerConfigImplMBean.
Field Summary |
---|
Fields inherited from interface org.jboss.system.server.ServerConfigImplMBean |
---|
OBJECT_NAME |
Constructor Summary | |
---|---|
ServerConfigImpl(org.jboss.bootstrap.spi.ServerConfig config)
Construct a ServerConfigImpl with the ServerConfig pojo which will be used as the delegate for the ServerConfigImplMBean ops. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
boolean |
getBlockingShutdown()
Get the current value of the blocking shutdown flag. |
URL |
getCommonBaseURL()
Get the common base URL. |
URL |
getCommonLibraryURL()
Get the common library URL. |
org.jboss.bootstrap.spi.ServerConfig |
getConfig()
|
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. |
String |
getSpecificationVersion()
Get the server Specification-Version |
int |
hashCode()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerConfigImpl(org.jboss.bootstrap.spi.ServerConfig config)
config
- - the ServerConfig pojo to expose as a ServerConfigImplMBeanMethod Detail |
---|
public org.jboss.bootstrap.spi.ServerConfig getConfig()
public boolean equals(Object obj)
equals
in class Object
public boolean getBlockingShutdown()
ServerConfigImplMBean
getBlockingShutdown
in interface ServerConfigImplMBean
public boolean getExitOnShutdown()
ServerConfigImplMBean
getExitOnShutdown
in interface ServerConfigImplMBean
public File getHomeDir()
ServerConfigImplMBean
getHomeDir
in interface ServerConfigImplMBean
public URL getHomeURL()
ServerConfigImplMBean
getHomeURL
in interface ServerConfigImplMBean
public URL getLibraryURL()
ServerConfigImplMBean
getLibraryURL
in interface ServerConfigImplMBean
public URL getPatchURL()
ServerConfigImplMBean
getPatchURL
in interface ServerConfigImplMBean
public boolean getPlatformMBeanServer()
ServerConfigImplMBean
ServerConfig.PLATFORM_MBEANSERVER
property must be set, and the jvm must be jdk1.5+
getPlatformMBeanServer
in interface ServerConfigImplMBean
public boolean getRequireJBossURLStreamHandlerFactory()
ServerConfigImplMBean
getRequireJBossURLStreamHandlerFactory
in interface ServerConfigImplMBean
public String getRootDeploymentFilename()
ServerConfigImplMBean
getRootDeploymentFilename
in interface ServerConfigImplMBean
public File getServerBaseDir()
ServerConfigImplMBean
getServerBaseDir
in interface ServerConfigImplMBean
public URL getServerBaseURL()
ServerConfigImplMBean
getServerBaseURL
in interface ServerConfigImplMBean
public URL getServerConfigURL()
ServerConfigImplMBean
getServerConfigURL
in interface ServerConfigImplMBean
public File getServerDataDir()
ServerConfigImplMBean
getServerDataDir
in interface ServerConfigImplMBean
public File getServerHomeDir()
ServerConfigImplMBean
getServerHomeDir
in interface ServerConfigImplMBean
public URL getServerHomeURL()
ServerConfigImplMBean
getServerHomeURL
in interface ServerConfigImplMBean
public URL getServerLibraryURL()
ServerConfigImplMBean
getServerLibraryURL
in interface ServerConfigImplMBean
public URL getCommonBaseURL()
ServerConfigImplMBean
getCommonBaseURL
in interface ServerConfigImplMBean
public URL getCommonLibraryURL()
ServerConfigImplMBean
getCommonLibraryURL
in interface ServerConfigImplMBean
public File getServerLogDir()
ServerConfigImplMBean
getServerLogDir
in interface ServerConfigImplMBean
public String getServerName()
ServerConfigImplMBean
getServerName
in interface ServerConfigImplMBean
public File getServerNativeDir()
ServerConfigImplMBean
getServerNativeDir
in interface ServerConfigImplMBean
public File getServerTempDeployDir()
ServerConfigImplMBean
getServerTempDeployDir
in interface ServerConfigImplMBean
public File getServerTempDir()
ServerConfigImplMBean
getServerTempDir
in interface ServerConfigImplMBean
public int hashCode()
hashCode
in class Object
public void setBlockingShutdown(boolean flag)
ServerConfigImplMBean
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.
setBlockingShutdown
in interface ServerConfigImplMBean
flag
- True to enable blocking shutdown.public void setExitOnShutdown(boolean flag)
ServerConfigImplMBean
Server.shutdown()
is called. If enabled, then shutdown calls Server#exit
.
If disabled, then only the shutdown hook will be run.
setExitOnShutdown
in interface ServerConfigImplMBean
flag
- True to enable calling exit on shutdown.public void setRequireJBossURLStreamHandlerFactory(boolean flag)
ServerConfigImplMBean
setRequireJBossURLStreamHandlerFactory
in interface ServerConfigImplMBean
flag
- True to enable blocking shutdown.public void setRootDeploymentFilename(String filename)
ServerConfigImplMBean
setRootDeploymentFilename
in interface ServerConfigImplMBean
filename
- The filename of the root deployable.public String getSpecificationVersion()
ServerConfigImplMBean
getSpecificationVersion
in interface ServerConfigImplMBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |