Java Doc for ServerConfig.java in » EJB-Server-JBoss-4.2.1 » system » org » jboss » system » server » Java Source Code / Java DocumentationJava Source Code and Java Documentation
The interface of the basic typed JBoss server configuration.
Clients should use
ServerConfigLocator to get an instance of
ServerConfig and then use it to get the server's configuration bits.
author: Jason Dillon author: Scott.Stark@jboss.org version: $Revision: 57205 $
BLOCKING_SHUTDOWN Constant that holds the name of the environment property for
specifying whether or not the server should shutdown
synchronously (true) or asynchronously (false).
BOOT_LIBRARY_LIST Constant that holds the name of the environment property
for specifying a comma seperated list of the basenames of
to the boot libraries required load the core system.
REQUIRE_JBOSS_URL_STREAM_HANDLER_FACTORY Constant that holds the name of the environment property for
specifying whether or not the server should log and ignore
exceptions when setting the URLStreamHandlerFactory.
ROOT_DEPLOYMENT_FILENAME Constant that holds the name of the environment property
for specifying the root deployment filename (relative to the server
config URL that will be deployed to finalize the boot strap process.
SERVER_DATA_DIR Constant that holds the name of the environment property
for specifying the directory which JBoss will use for
persistent data file storage.
SERVER_LIBRARY_URL Constant that holds the name of the environment property
for specifying the URL where JBoss will read server specific
library files from.
SERVER_NAME Constant that holds the name of the environment property
for specifying the name of the server which will be used to
calculate the servers home directory and url.
Constant that holds the name of the environment property for
specifying whether or not the server should shutdown
synchronously (true) or asynchronously (false).
If not set then the server will default to asynchronous shutdown.
Constant that holds the name of the environment property
for specifying a comma seperated list of the basenames of
to the boot libraries required load the core system.
Constant that holds the name of the environment property
for specifying the URL where JBoss will read patch library files
from.
If this value is a file URL, then all .zip and .jar files
inside will be prepended to the classpath. Otherwise the URL will be
added to the classpath. If not set then the no patch files will be
loaded.
Constant that holds the name of the environment property for specifying
whether or not to use as the main jboss server the MBeanServer returned
from ManagementFactory.getPlatformMBeanServer(), when running under jdk1.5+
If not set then jboss will instantiate its own MBeanServer
Constant that holds the name of the environment property for
specifying whether or not the server should log and ignore
exceptions when setting the URLStreamHandlerFactory.
If not set then the server will default to asynchronous shutdown.
Constant that holds the name of the environment property
for specifying the root deployment filename (relative to the server
config URL that will be deployed to finalize the boot strap process.
Constant that holds the name of the environment property
for specifying the name of the server which will be used to
calculate the servers home directory and url.
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+
true if jboss runs on the jvm platfrom MBeanServer
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.
Parameters: flag - True to enable calling exit on shutdown.
Set the RequireJBossURLStreamHandlerFactory value.
Parameters: requireJBossURLStreamHandlerFactory - The new RequireJBossURLStreamHandlerFactory value.
Set the filename of the root deployable that will be used to finalize
the bootstrap process.
Parameters: filename - The filename of the root deployable.