|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JBossASBasedServerConfig<T extends JBossASBasedServerConfig<T>>
JBossASBasedServerConfig Contract for the configuration of AS-based Servers, may be extended for a direct AS ServerConfig
Field Summary | |
---|---|
static String |
ENV_VAR_JBOSSAS_HOME
Constant that holds the name of the environment variable which specifies the root of the AS installation |
static String |
PROP_KEY_JBOSSAS_BIND_ADDRESS
Constant that holds the name of the system or configuration property |
static String |
PROP_KEY_JBOSSAS_BOOT_LIBRARY_URL
Constant that holds the name of the system property for specifying the URL where JBoss will read library files from. |
static String |
PROP_KEY_JBOSSAS_COMMON_BASE_URL
Constant that holds the name of the system property for specifying the base URL for files and directories common to different server configurations |
static String |
PROP_KEY_JBOSSAS_COMMON_LIBRARY_URL
Constant that holds the name of the system property for specifying a library directory URL that points to libraries shared by the various server configurations. |
static String |
PROP_KEY_JBOSSAS_HOME
Constant that holds the name of the system or configuration property which specifies the root of the AS installation |
static String |
PROP_KEY_JBOSSAS_HOME_DIR
Constant that holds the name of the system property which specifies the home directory for JBossAS. |
static String |
PROP_KEY_JBOSSAS_HOME_URL
Constant that holds the name of the system property which specifies the home URL for JBossAS. |
static String |
PROP_KEY_JBOSSAS_NATIVE_DIR
Constant that holds the location of native libraries |
static String |
PROP_KEY_JBOSSAS_NATIVE_LOAD
Constant that holds the name of the system property designating whether to load native libraries |
static String |
PROP_KEY_JBOSSAS_PARTITION_NAME
Constant that holds the name of the system property for specifying the partition name for this instance in clustering |
static String |
PROP_KEY_JBOSSAS_PARTITION_UDP_GROUP
Constant that holds the name of the system property for specifying the UDP Group for this instance in clustering |
static String |
PROP_KEY_JBOSSAS_PARTITION_UDP_PORT
Constant that holds the name of the system property for specifying the UDP Port for this instance in clustering |
static String |
PROP_KEY_JBOSSAS_PLATFORM_MBEANSERVER
Constant that holds the name of the system property for specifying whether or not to use as the main jboss server the MBeanServer returned from ManagementFactory.getPlatformMBeanServer(), when running under jdk1.5+ |
static String |
PROP_KEY_JBOSSAS_SERVER_BASE_DIR
Constant that holds the name of the system property for specifying the base directory for calculating server home directories. |
static String |
PROP_KEY_JBOSSAS_SERVER_BASE_URL
Constant that holds the name of the system property for specifying the base URL for calculating server home URLs. |
static String |
PROP_KEY_JBOSSAS_SERVER_CONF_URL
Constant that holds the name of the system property for specifying the server configuration URL. |
static String |
PROP_KEY_JBOSSAS_SERVER_DATA_DIR
Constant that holds the name of the system property for specifying the directory which JBoss will use for persistent data file storage. |
static String |
PROP_KEY_JBOSSAS_SERVER_HOME_DIR
Constant that holds the name of the system property for specifying the server home directory for JBoss. |
static String |
PROP_KEY_JBOSSAS_SERVER_HOME_URL
Constant that holds the name of the system property for specifying the server home URL for JBoss. |
static String |
PROP_KEY_JBOSSAS_SERVER_LIBRARY_URL
Constant that holds the name of the system property for specifying the URL where JBoss will read server specific library files from. |
static String |
PROP_KEY_JBOSSAS_SERVER_LOG_DIR
Constant that holds the name of the system property for specifying the server log directory for JBoss. |
static String |
PROP_KEY_JBOSSAS_SERVER_NAME
Constant that holds the name of the system or configuration property which specifies the name of the server which will be used to calculate the servers home directory and url. |
static String |
PROP_KEY_JBOSSAS_SERVER_TEMP_DIR
Constant that holds the name of the system property for specifying the directory which JBoss will use for temporary file storage. |
Fields inherited from interface org.jboss.bootstrap.spi.config.ServerConfig |
---|
PROP_KEY_BOOTSTRAP_HOME_URL, PROP_KEY_BOOTSTRAP_NAME, PROP_KEY_BOOTSTRAP_URL |
Method Summary | |
---|---|
T |
bindAddress(String bindAddress)
Sets the bind address for the server |
T |
bootLibraryLocation(String bootLibraryLocation)
Sets the location of the JBossAS Boot Libraries |
T |
bootLibraryLocation(URL bootLibraryLocation)
Sets the location of the JBossAS Boot Libraries |
T |
commonBaseLocation(String commonBaseLocation)
Sets the location of the common base |
T |
commonBaseLocation(URL commonBaseLocation)
Sets the location of the common base |
T |
commonLibLocation(String commonLibLocation)
Sets the location of the common lib |
T |
commonLibLocation(URL commonLibLocation)
Sets the location of the common lib |
String |
getBindAddress()
Obtains the bind address to be used for the Server. |
URL |
getBootLibraryLocation()
Obtains the location of the JBossAS Boot Libraries |
URL |
getCommonBaseLocation()
Obtains the location of the common base |
URL |
getCommonLibLocation()
Obtains the location of the common lib |
URL |
getJBossHome()
Obtains the $JBOSS_HOME, the path to the root location of the JBossAS installation. |
URL |
getNativeLibraryLocation()
Obtains the location of the JBossAS Native Libraries |
String |
getPartitionName()
Obtains the partition name for this instance in clustering |
URL |
getServerBaseLocation()
Obtains the location of the server base, from which server homes (by default) decend |
URL |
getServerConfLocation()
Obtains the location in which the server configuration resides |
URL |
getServerDataLocation()
Obtains the location in which the server persistent data resides |
URL |
getServerHomeLocation()
Obtains the location of the server home |
URL |
getServerLibLocation()
Obtains the location in which the server libraries reside |
URL |
getServerLogLocation()
Obtains the location in which the server logs reside |
String |
getServerName()
Obtains the name of the server configuration. |
URL |
getServerTempLocation()
Obtains the location in which the server temp data resides |
String |
getUdpGroup()
Obtains the UDP Group for this instance in clustering |
Integer |
getUdpPort()
Obtains the JGroups UDP Multicast port for use in clustering |
Boolean |
isLoadNative()
Determines whether or not to load the native libraries |
Boolean |
isUsePlatformMBeanServer()
Determines whether or not to use as the main jboss server the MBeanServer returned from ManagementFactory.getPlatformMBeanServer(), when running under jdk1.5+ |
T |
jbossHome(String jbossHome)
Sets $JBOSS_HOME, the path to the root location of the JBossAS installation. |
T |
jbossHome(URL jbossHome)
Sets $JBOSS_HOME, the path to the root location of the JBossAS installation. |
T |
loadNative(Boolean loadNative)
Sets whether or not to load the native libraries |
T |
nativeLibraryLocation(String nativeLibraryLocation)
Sets the location of the JBossAS Native Libraries |
T |
nativeLibraryLocation(URL nativeLibraryLocation)
Sets the location of the JBossAS Native Libraries |
T |
partitionName(String partitionName)
Sets the partition name for this instance in clustering |
T |
serverBaseLocation(String serverBaseLocation)
Sets the location of the server base, from which server homes (by default) decend |
T |
serverBaseLocation(URL serverBaseLocation)
Sets the location of the server base, from which server homes (by default) decend |
T |
serverConfLocation(String serverConfLocation)
Sets the location in which the server configuration resides |
T |
serverConfLocation(URL serverConfLocation)
Sets the location in which the server configuration resides |
T |
serverDataLocation(String serverDataLocation)
Sets the location in which the server persistent data resides |
T |
serverDataLocation(URL serverDataLocation)
Sets the location in which the server persistent data resides |
T |
serverHomeLocation(String serverHomeLocation)
Sets the location of the server home |
T |
serverHomeLocation(URL serverHomeLocation)
Sets the location of the server home |
T |
serverLibLocation(String serverLibLocation)
Sets the location in which the server libraries reside |
T |
serverLibLocation(URL serverLibLocation)
Sets the location in which the server libraries reside |
T |
serverLogLocation(String serverLogLocation)
Sets the location in which the server logs reside |
T |
serverLogLocation(URL serverLogLocation)
Sets the location in which the server logs reside |
T |
serverName(String serverName)
Sets the name of the server configuration |
T |
serverTempLocation(String serverTempLocation)
Sets the location in which the server temp data resides |
T |
serverTempLocation(URL serverTempLocation)
Sets the location in which the server temp data resides |
T |
udpGroup(String udpGroup)
Sets the UDP Group for this instance in clustering |
T |
udpPort(Integer udpPort)
Sets the JGroups UDP Multicast port for use in clustering |
T |
usePlatformMBeanServer(Boolean usePlatformMBeanServer)
Sets whether or not to use as the main jboss server the MBeanServer returned from ManagementFactory.getPlatformMBeanServer(), when running under jdk1.5+ |
Methods inherited from interface org.jboss.bootstrap.spi.config.ServerConfig |
---|
bootstrapHome, bootstrapHome, bootstrapName, bootstrapUrl, bootstrapUrl, freeze, getBootstrapHome, getBootstrapName, getBootstrapUrl, getProperties, getProperty, isFrozen, properties, properties, property |
Field Detail |
---|
static final String PROP_KEY_JBOSSAS_BIND_ADDRESS
static final String PROP_KEY_JBOSSAS_SERVER_NAME
static final String ENV_VAR_JBOSSAS_HOME
static final String PROP_KEY_JBOSSAS_HOME
static final String PROP_KEY_JBOSSAS_HOME_DIR
static final String PROP_KEY_JBOSSAS_HOME_URL
static final String PROP_KEY_JBOSSAS_BOOT_LIBRARY_URL
static final String PROP_KEY_JBOSSAS_SERVER_BASE_DIR
static final String PROP_KEY_JBOSSAS_SERVER_BASE_URL
static final String PROP_KEY_JBOSSAS_SERVER_HOME_DIR
static final String PROP_KEY_JBOSSAS_SERVER_HOME_URL
static final String PROP_KEY_JBOSSAS_COMMON_BASE_URL
static final String PROP_KEY_JBOSSAS_COMMON_LIBRARY_URL
static final String PROP_KEY_JBOSSAS_SERVER_LOG_DIR
static final String PROP_KEY_JBOSSAS_SERVER_CONF_URL
static final String PROP_KEY_JBOSSAS_SERVER_LIBRARY_URL
static final String PROP_KEY_JBOSSAS_SERVER_DATA_DIR
static final String PROP_KEY_JBOSSAS_SERVER_TEMP_DIR
static final String PROP_KEY_JBOSSAS_PARTITION_NAME
static final String PROP_KEY_JBOSSAS_PARTITION_UDP_GROUP
static final String PROP_KEY_JBOSSAS_PARTITION_UDP_PORT
static final String PROP_KEY_JBOSSAS_NATIVE_LOAD
static final String PROP_KEY_JBOSSAS_NATIVE_DIR
static final String PROP_KEY_JBOSSAS_PLATFORM_MBEANSERVER
If not set then jboss will instantiate its own MBeanServer
Method Detail |
---|
String getBindAddress()
T bindAddress(String bindAddress)
bindAddress
-
String getServerName()
T serverName(String serverName)
serverName
-
URL getJBossHome()
T jbossHome(String jbossHome) throws IllegalArgumentException
jbossHome
- The location to $JBOSS_HOME
IllegalArgumentException
- If the specified argument
is non-null and cannot be constructed into a URLT jbossHome(URL jbossHome)
jbossHome
- The location to $JBOSS_HOME
URL getBootLibraryLocation()
T bootLibraryLocation(URL bootLibraryLocation)
bootLibraryLocation
-
T bootLibraryLocation(String bootLibraryLocation) throws IllegalArgumentException
bootLibraryLocation
-
IllegalArgumentException
- If the specified argument
is non-null and cannot be constructed into a URLURL getServerBaseLocation()
T serverBaseLocation(URL serverBaseLocation)
serverBaseLocation
-
T serverBaseLocation(String serverBaseLocation) throws IllegalArgumentException
serverBaseLocation
-
IllegalArgumentException
- If the specified argument
is non-null and cannot be constructed into a URLURL getServerHomeLocation()
T serverHomeLocation(URL serverHomeLocation)
serverBaseLocation
-
T serverHomeLocation(String serverHomeLocation) throws IllegalArgumentException
serverHomeLocation
-
IllegalArgumentException
- If the specified argument
is non-null and cannot be constructed into a URLURL getCommonBaseLocation()
T commonBaseLocation(URL commonBaseLocation)
serverBaseLocation
-
T commonBaseLocation(String commonBaseLocation) throws IllegalArgumentException
commonBaseLocation
-
IllegalArgumentException
- If the specified argument
is non-null and cannot be constructed into a URLURL getCommonLibLocation()
T commonLibLocation(URL commonLibLocation)
commonLibLocation
-
T commonLibLocation(String commonLibLocation) throws IllegalArgumentException
commonLibLocation
-
IllegalArgumentException
- If the specified argument
is non-null and cannot be constructed into a URLURL getServerLogLocation()
T serverLogLocation(URL serverLogLocation)
serverLogLocation
-
T serverLogLocation(String serverLogLocation) throws IllegalArgumentException
serverLogLocation
-
IllegalArgumentException
- If the specified argument
is non-null and cannot be constructed into a URLURL getServerConfLocation()
T serverConfLocation(URL serverConfLocation)
serverConfLocation
-
T serverConfLocation(String serverConfLocation) throws IllegalArgumentException
serverConfLocation
-
IllegalArgumentException
- If the specified argument
is non-null and cannot be constructed into a URLURL getServerLibLocation()
T serverLibLocation(URL serverLibLocation)
serverLibLocation
-
T serverLibLocation(String serverLibLocation) throws IllegalArgumentException
serverLibLocation
-
IllegalArgumentException
- If the specified argument
is non-null and cannot be constructed into a URLURL getServerDataLocation()
T serverDataLocation(URL serverDataLocation)
serverDataLocation
-
T serverDataLocation(String serverDataLocation) throws IllegalArgumentException
serverDataLocation
-
IllegalArgumentException
- If the specified argument
is non-null and cannot be constructed into a URLURL getServerTempLocation()
T serverTempLocation(URL serverTempLocation)
serverTempLocation
-
T serverTempLocation(String serverTempLocation) throws IllegalArgumentException
serverTempLocation
-
IllegalArgumentException
- If the specified argument
is non-null and cannot be constructed into a URLString getPartitionName()
T partitionName(String partitionName)
partitionName
-
String getUdpGroup()
T udpGroup(String udpGroup)
udpGroup
-
Integer getUdpPort()
T udpPort(Integer udpPort)
udpPort
- The port, or null to use the default
Boolean isLoadNative()
T loadNative(Boolean loadNative)
loadNative
- true or false, or null to use the default
URL getNativeLibraryLocation()
T nativeLibraryLocation(URL nativeLibraryLocation)
nativeLibraryLocation
-
T nativeLibraryLocation(String nativeLibraryLocation) throws IllegalArgumentException
nativeLibraryLocation
-
IllegalArgumentException
- If the specified argument
is non-null and cannot be constructed into a URLBoolean isUsePlatformMBeanServer()
T usePlatformMBeanServer(Boolean usePlatformMBeanServer)
usePlatformMBeanServer
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |