Save This Page
Home » JBoss-5.1.0 » org » jboss » system » server » [javadoc | source]
org.jboss.system.server
public interface: ServerConfigImplMBean [javadoc | source]

All Known Implementing Classes:
    ServerConfigImpl

MBean interface.
Field Summary
 ObjectName OBJECT_NAME    Default ObjectName 
Method from org.jboss.system.server.ServerConfigImplMBean Summary:
getBlockingShutdown,   getCommonBaseURL,   getCommonLibraryURL,   getExitOnShutdown,   getHomeDir,   getHomeURL,   getLibraryURL,   getPatchURL,   getPlatformMBeanServer,   getRequireJBossURLStreamHandlerFactory,   getRootDeploymentFilename,   getServerBaseDir,   getServerBaseURL,   getServerConfigURL,   getServerDataDir,   getServerHomeDir,   getServerHomeURL,   getServerLibraryURL,   getServerLogDir,   getServerName,   getServerNativeDir,   getServerTempDeployDir,   getServerTempDir,   getSpecificationVersion,   setBlockingShutdown,   setExitOnShutdown,   setRequireJBossURLStreamHandlerFactory,   setRootDeploymentFilename
Method from org.jboss.system.server.ServerConfigImplMBean Detail:
 public boolean getBlockingShutdown()
    Get the current value of the blocking shutdown flag.
 public URL getCommonBaseURL()
    Get the common base URL.
 public URL getCommonLibraryURL()
    Get the common library URL.
 public boolean getExitOnShutdown()
    Get the current value of the exit on shutdown flag.
 public File getHomeDir()
    Get the local home directory which the server is running from.
 public URL getHomeURL()
    Get the home URL which the server is running from.
 public URL getLibraryURL()
    Get the home URL which the server is running from.
 public URL getPatchURL()
    Get the patch URL for the server.
 public boolean getPlatformMBeanServer()
    Get the current value of the flag that indicates if we are using the platform MBeanServer as the main jboss server. Both the ServerConfig.PLATFORM_MBEANSERVER property must be set, and the jvm must be jdk1.5+
 public boolean getRequireJBossURLStreamHandlerFactory()
    Get the current value of the requireJBossURLStreamHandlerFactory flag.
 public String getRootDeploymentFilename()
    Get the filename of the root deployable that will be used to finalize the bootstrap process.
 public File getServerBaseDir()
    Get the base directory for calculating server home directories.
 public URL getServerBaseURL()
    Get the base directory for calculating server home URLs.
 public URL getServerConfigURL()
    Get the server configuration URL.
 public File getServerDataDir()
    Get the directory where local data will be stored.
 public File getServerHomeDir()
    Get the server home directory.
 public URL getServerHomeURL()
    Get the server home URL.
 public URL getServerLibraryURL()
    Get the server library URL.
 public File getServerLogDir()
    Get the directory where log files will be stored.
 public String getServerName()
    Get the name of the server.
 public File getServerNativeDir()
    Get the native dir for unpacking
 public File getServerTempDeployDir()
    Get the temporary deployment dir for unpacking
 public File getServerTempDir()
    Get the directory where temporary files will be stored.
 public String getSpecificationVersion()
    Get the server Specification-Version
 public  void setBlockingShutdown(boolean flag)
    Enable or disable blocking when 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.
 public  void setExitOnShutdown(boolean flag)
    Enable or disable exiting the JVM when Server#shutdown is called. If enabled, then shutdown calls Server#exit . If disabled, then only the shutdown hook will be run.
 public  void setRequireJBossURLStreamHandlerFactory(boolean flag)
    Set the RequireJBossURLStreamHandlerFactory flag. if false, exceptions when setting the URLStreamHandlerFactory will be logged and ignored.
 public  void setRootDeploymentFilename(String filename)
    Set the filename of the root deployable that will be used to finalize the bootstrap process.