|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JonasConfigurator
Interface who defines the method that could be called to configure the JOnAS server.
| Method Summary | |
|---|---|
void |
addAdmin(String username,
String password)
Add a new Admin |
void |
addJdbcRA(String raName,
JDBCConfiguration configuration)
[jdbc] Add a JDBC resource adapter |
void |
addJdbcResource(JdbcXMLConfiguration jdbcXMLConfiguration)
Configure a JDBC resource |
void |
addJdbcResource(String ref,
JdbcXMLConfiguration jdbcXMLConfiguration)
Configure a JDBC resource |
void |
addMailMimme(String name,
String host,
String mailto,
String subject)
|
void |
addMailSession(String name)
|
void |
addUser(String username,
String password,
String roles,
String groups,
String description)
Add a new User |
void |
execute()
Apply the configuration |
void |
executeCDConf()
Apply the cluster daemon configuration |
void |
isJOnASBaseToUpdate(Boolean update)
|
void |
setAjpAcceptCount(String acceptCount)
|
void |
setAjpConnectionTimeout(String connectionTimeout)
|
void |
setAjpConnectorActivation(Boolean activation)
[web] Enable or disable https connector |
void |
setAjpEnableLookups(Boolean enableLookups)
|
void |
setAjpMaxSpareThreads(String ajpMaxSpareThreads)
Deprecated. |
void |
setAjpMaxThreads(String ajpMaxThreads)
[web] Set the max number of connections for ajp |
void |
setAjpMinSpareThreads(String ajpMinSpareThreads)
[web] Set the minimum spare threads for ajp connector |
void |
setAjpPort(String ajpPort)
[web] Set the ajp connector port |
void |
setAjpRedirectPort(String redirectPort)
|
void |
setCarolHost(String host)
|
void |
setCDAutoBoot(boolean autoBoot)
Set the auto boot mode |
void |
setCDClusterDomain(String clusterDomain)
Set the cluster daemon domain name |
void |
setCDClusterName(String clusterName)
Set the cluster daemon name |
void |
setCDDestDirPrefix(String destDirPrefix)
Set the dest dir prefix |
void |
setCDInteractionMode(String interactionMode)
Set the interaction mode |
void |
setCDJavaHome(String javaHome)
Set the java home |
void |
setCDJonasRoot(String jonasRoot)
Set the jonas root |
void |
setCDJOnASScript(String jonasScript)
|
void |
setCDNbInstances(int nbInsts)
Set the number of servers in the cluster |
void |
setCDPort(String port)
[protocols] Set the port for the cluster daemon's protocol |
void |
setCDProtocol(String protocol)
[protocols] Set the cluster daemon's protocol |
void |
setCDServerNamePrefix(String serverNamePrefix)
Set the server name prefix |
void |
setCDXparam(String xparam)
Set the xparam |
void |
setCsiv2Propagation(Boolean csiv2Propagation)
|
void |
setDbId(String dbId)
|
void |
setDbName(String name)
[db] Set the DB name used by hsqldb (embedded) |
void |
setDbPort(String port)
[db] Set the port used by hsqldb (embedded) |
void |
setDbUsers(String users)
[db] Set the users used by hsqldb (embedded) |
void |
setDiscoveryDomainName(String domainName)
[discovery] Set the domain name |
void |
setDiscoveryGreetingPort(String greetingPort)
[discovery] Set the greeting port |
void |
setDiscoveryMasterActivated(Boolean masterActivated)
[discovery] Enable or disable master node |
void |
setDiscoveryMulticastAddress(String multicastAddress)
[discovery] Set the multicast address |
void |
setDiscoveryMulticastPort(String multicastPort)
[discovery] Set the multicast port |
void |
setDiscoverySourcePort(String sourcePort)
[discovery] Set the source port |
void |
setDiscoveryTTL(String ttl)
[discovery] Set the packet time to live |
void |
setEjbClusteringActivated(Boolean activated)
[ha]Enable or disable ejb clustering |
void |
setEjbClusteringMulticastAddress(String multicastAddr)
[Ejb clustering] Set the multicast address |
void |
setEjbClusteringMulticastPort(String multicastPort)
[Ejb clustering] Set the multicast port |
void |
setEjbClusteringReplicationEnable(Boolean enable)
|
void |
setHaActivated(Boolean activated)
[ha]Enable or disable ha service |
void |
setHaMulticastAddress(String multicastAddr)
[ha] Set the multicast address |
void |
setHaMulticastPort(String multicastPort)
[ha] Set the multicast port |
void |
setHost(String jonasHost)
[global parameters] Set the ip alias or ip address |
void |
setHttpAcceptCount(String acceptCount)
|
void |
setHttpCompression(String compression)
|
void |
setHttpConnectionTimeout(String connectionTimeout)
|
void |
setHttpConnectorActivation(Boolean activation)
|
void |
setHttpEnableLookups(Boolean enableLookups)
|
void |
setHttpMaxKeepAliveRequest(String maxKeepAliveRequest)
|
void |
setHttpMaxSpareThreads(String httpMaxSpareThreads)
Deprecated. |
void |
setHttpMaxThreads(String httpMaxThreads)
[web] Set the max number of connections for http connector |
void |
setHttpMinSpareThreads(String httpMinSpareThreads)
[web] Set the minimum spare threads for http connector |
void |
setHttpPort(String httpPort)
[web] Set the http connector port |
void |
setHttpRedirectPort(String redirectPort)
|
void |
setHttpReplicationAlgorithm(String algorithm)
|
void |
setHttpReplicationClusterName(String clusterName)
[web] Set the cluster name for the http replication |
void |
setHttpReplicationListenPort(String listenPort)
[web] Set the listen port for http replication |
void |
setHttpReplicationMulticastAddress(String mCastAddr)
[web] Set the multicast address for the http replication |
void |
setHttpReplicationMulticastPort(String mCastPort)
[web] Set the multicast port for the http replication |
void |
setHttpsAcceptCount(String acceptCount)
|
void |
setHttpsCompression(String compression)
|
void |
setHttpsConnectionTimeout(String connectionTimeout)
|
void |
setHttpsConnectorActivation(Boolean activation)
[web] Enable or disable https connector |
void |
setHttpsEnableLookups(Boolean enableLookups)
|
void |
setHttpSessionManagerActivation(Boolean activation)
|
void |
setHttpSessionReplicationActivation(Boolean activation)
[web] Enable or disable http session replication |
void |
setHttpsKeystoreFile(String keystoreFile)
|
void |
setHttpsKeystorePass(String keystorePass)
|
void |
setHttpsMaxKeepAliveRequest(String maxKeepAliveRequest)
|
void |
setHttpsMaxSpareThreads(String httpsMaxSpareThreads)
Deprecated. |
void |
setHttpsMaxThreads(String httpsMaxThreads)
[web] Set the max number of connections for https |
void |
setHttpsMinSpareThreads(String httpsMinSpareThreads)
[web] Set the minimum spare threads for https connector |
void |
setHttpsPort(String httpsPort)
[web] Set the https connector port |
void |
setHttpsRedirectPort(String redirectPort)
|
void |
setJavaOpts(String javaOpts)
[global parameters] Set the java environment to set |
void |
setJdk(String jdk)
[global parameters] Set the jdk path |
void |
setJmsHost(String host)
|
void |
setJmsPort(String port)
[jms] Set the port |
void |
setJmsQueues(String queue)
[jms] Set the queues (comma-seperated) |
void |
setJmsTopics(String topic)
[jms] Set the topics (comma-seperated) |
void |
setJmxSecured(boolean enabled)
Set whether JMX security is enabled |
void |
setJonasBase(String jonasBase)
[global parameters] Set the jonas base path |
void |
setJonasDevelopment(boolean development)
[global parameters] Set the jonas.development option |
void |
setJonasDomain(String jonasDomain)
[global parameters] Set the domain name for the jonas instance. |
void |
setJonasName(String jonasName)
[global parameters] Set the jonas instance name |
void |
setJvmRoute(String jvmRoute)
[web] Set the mod_jk configuration |
void |
setLogConfigFile(String logConfigFile)
|
void |
setMailFactoryName(String factoryName)
[mail] Set the mail factory name |
void |
setMailFactoryType(String factoryType)
[mail] Set the mail factory type |
void |
setMaster(Boolean isMaster)
|
void |
setMaxActiveWebSessions(String maxActiveSession)
|
void |
setProtocolsCmiPort(String cmiPort)
[protocols] Set the cmi port |
void |
setProtocolsIiopPort(String iiop)
[protocols] Set the iiop port |
void |
setProtocolsIrmiPort(String irmiPort)
[protocols] Set the irmi port |
void |
setProtocolsJrmLocalRegistry(Boolean localRegistry)
|
void |
setProtocolsJrmpPort(String jrmpPort)
[protocols] Set the jrmp port |
void |
setProtocolsList(String protocolsList)
[protocols] Set the initial protocols when JOnAS start. |
void |
setProtocolsLocalCallOptimized(Boolean localCallOptimized)
[protocols] Enable or disable optimization for local call |
void |
setSecurityManagerActivated(Boolean activation)
[SecurityManager] Enable or disable security manager service |
void |
setSecurityPropagation(Boolean securityPropagation)
|
void |
setServices(String services)
[services] Set the active services list |
void |
setSmartClientPort(String port)
|
void |
setTransactionPropagation(Boolean transactionPropagation)
|
void |
setWebcontainer(String webContainer)
[web] Set the web container |
void |
setWebOndemandActivation(Boolean activation)
|
void |
setWebOndemandRedirectPort(String redirectPort)
|
void |
setWrapperConfiguration(String javaHome,
String wrapperHome,
String serviceName,
String serviceDescription,
Boolean verbosity,
String logfile,
String logfileRollmode)
Set wrapper configuration |
void |
setWsdlPublisherFileDirectory(String fileDir)
[ws] Set the wsdl file directory |
void |
setWsdlPublisherFileName(String fileName)
[ws] Set the wsdl file name |
| Method Detail |
|---|
void execute()
void setJdk(String jdk)
jdk - The jdk pathvoid setJavaOpts(String javaOpts)
javaOpts - The java environmentvoid setJonasBase(String jonasBase)
jonasBase - The jonas base pathvoid isJOnASBaseToUpdate(Boolean update)
update - True if the JONAS_BASE need to update. Otherwise it'll be recreatedvoid setJonasName(String jonasName)
jonasName - The jonas instance namevoid setJonasDomain(String jonasDomain)
jonasDomain - The domain namevoid setHost(String jonasHost)
jonasHost - ip alias or ip addressvoid setJonasDevelopment(boolean development)
development - jonas.development optionvoid setLogConfigFile(String logConfigFile)
logConfigFile - The log config file to setvoid setMaster(Boolean isMaster)
isMaster - The master activation to setvoid setSecurityPropagation(Boolean securityPropagation)
securityPropagation - The security propagation to setvoid setTransactionPropagation(Boolean transactionPropagation)
transactionPropagation - The transaction propagation activation to setvoid setCsiv2Propagation(Boolean csiv2Propagation)
csiv2Propagation - The csiv2 propagation activation to setvoid setProtocolsList(String protocolsList)
protocolsList - The protocols list.void setProtocolsIrmiPort(String irmiPort)
irmiPort - The irmi portvoid setProtocolsIiopPort(String iiop)
irmiPort - The iiop portvoid setProtocolsJrmpPort(String jrmpPort)
jrmpPort - The jrmp portvoid setProtocolsJrmLocalRegistry(Boolean localRegistry)
localRegistry - The Jrmp local registry to setvoid setCarolHost(String host)
host - Carol's hostvoid setProtocolsCmiPort(String cmiPort)
cmiPort - The cmi portvoid setProtocolsLocalCallOptimized(Boolean localCallOptimized)
localCallOptimized - true or falsevoid setServices(String services)
services - List of the services to activated, sepated by comma.void setWebcontainer(String webContainer)
webContainer - The web containervoid setHttpConnectorActivation(Boolean activation)
activation - Enable or disable http connectorvoid setHttpsConnectorActivation(Boolean activation)
activation - true or falsevoid setAjpConnectorActivation(Boolean activation)
activation - true or falsevoid setHttpSessionReplicationActivation(Boolean activation)
activation - true or falsevoid setHttpSessionManagerActivation(Boolean activation)
activation - True if the session manager is enabledvoid setWebOndemandActivation(Boolean activation)
activation - True if the web ondemand feature is enabledvoid setWebOndemandRedirectPort(String redirectPort)
redirectPort - Web ondemand redirect port to setvoid setHttpPort(String httpPort)
httpPort - The http connector portvoid setHttpMaxThreads(String httpMaxThreads)
httpMaxThreads - Max number of connectionsvoid setHttpMinSpareThreads(String httpMinSpareThreads)
httpMinSpareThreads - The minimum spare threads for http connector@Deprecated void setHttpMaxSpareThreads(String httpMaxSpareThreads)
httpMaxSpareThreads - The maximum spare threads for http connectorvoid setHttpEnableLookups(Boolean enableLookups)
enableLookups - The http enableLookups property to setvoid setHttpConnectionTimeout(String connectionTimeout)
connectionTimeout - The http connection timeout property to setvoid setHttpAcceptCount(String acceptCount)
acceptCount - The http accept count property to setvoid setHttpMaxKeepAliveRequest(String maxKeepAliveRequest)
maxKeepAliveRequest - The http maxKeepAliveRequest property to setvoid setHttpCompression(String compression)
compression - The http compression property to setvoid setHttpRedirectPort(String redirectPort)
redirectPort - The http redirect port to setvoid setHttpsPort(String httpsPort)
httpsPort - The https connector portvoid setHttpsMaxThreads(String httpsMaxThreads)
httpsMaxThreads - Max number of connectionsvoid setHttpsMinSpareThreads(String httpsMinSpareThreads)
httpsMinSpareThreads - The minimum spare threads for https connector@Deprecated void setHttpsMaxSpareThreads(String httpsMaxSpareThreads)
httpsMaxSpareThreads - The maximum spare threads for https connectorvoid setHttpsEnableLookups(Boolean enableLookups)
enableLookups - The https enableLookups property to setvoid setHttpsConnectionTimeout(String connectionTimeout)
connectionTimeout - The https connection timeout property to setvoid setHttpsAcceptCount(String acceptCount)
acceptCount - The https accept count property to setvoid setHttpsMaxKeepAliveRequest(String maxKeepAliveRequest)
maxKeepAliveRequest - The https maxKeepAliveRequest property to setvoid setHttpsCompression(String compression)
compression - The https compression property to setvoid setHttpsRedirectPort(String redirectPort)
redirectPort - The https redirect port to setvoid setHttpsKeystoreFile(String keystoreFile)
keystoreFile - The https keystore filename to setvoid setHttpsKeystorePass(String keystorePass)
keystorePass - The https keystore password to setvoid setAjpPort(String ajpPort)
ajpPort - The ajp connector portvoid setAjpMaxThreads(String ajpMaxThreads)
ajpMaxThreads - Max number of connectionsvoid setAjpMinSpareThreads(String ajpMinSpareThreads)
ajpMinSpareThreads - The minimum spare threads for ajp connector@Deprecated void setAjpMaxSpareThreads(String ajpMaxSpareThreads)
ajpMaxSpareThreads - The maximum spare threads for ajp connectorvoid setAjpEnableLookups(Boolean enableLookups)
enableLookups - The http enableLookups property to setvoid setAjpConnectionTimeout(String connectionTimeout)
connectionTimeout - The http connection timeout property to setvoid setAjpAcceptCount(String acceptCount)
acceptCount - The http accept count property to setvoid setAjpRedirectPort(String redirectPort)
redirectPort - The http redirect port to setvoid setMaxActiveWebSessions(String maxActiveSession)
maxActiveSession - The max active web session to setvoid setJmxSecured(boolean enabled)
enabled - Whether JMX security is enabled
void addUser(String username,
String password,
String roles,
String groups,
String description)
username - The name of the userpassword - The password of the userroles - Roles of the usergroups - Groups of the userdescription - Description of the user
void addAdmin(String username,
String password)
username - The name of the adminpassword - The password of the adminvoid setJvmRoute(String jvmRoute)
jvmRoute - The mod_jk configurationvoid setHttpReplicationClusterName(String clusterName)
clusterName - Cluster namevoid setHttpReplicationMulticastAddress(String mCastAddr)
mCastAddr - The multicast addressvoid setHttpReplicationMulticastPort(String mCastPort)
mCastPort - The multicast portvoid setHttpReplicationListenPort(String listenPort)
listenPort - The listen portvoid setHttpReplicationAlgorithm(String algorithm)
algorithm - Session replication algorithm to setvoid setDbPort(String port)
port - The port used by hsqldbvoid setDbName(String name)
name - The DB name used by hsqldbvoid setDbUsers(String users)
users - The users used by hsqldbvoid setDbId(String dbId)
dbId - Set the id of the databasevoid addJdbcResource(JdbcXMLConfiguration jdbcXMLConfiguration)
jdbcXMLConfiguration - JdbcXMLConfiguration
void addJdbcResource(String ref,
JdbcXMLConfiguration jdbcXMLConfiguration)
ref - reference to a database idjdbcXMLConfiguration - JdbcXMLConfigurationvoid setDiscoveryMasterActivated(Boolean masterActivated)
masterActivated - true or falsevoid setDiscoverySourcePort(String sourcePort)
sourcePort - The source portvoid setDiscoveryDomainName(String domainName)
domainName - The domain namevoid setDiscoveryGreetingPort(String greetingPort)
greetingPort - The greeting portvoid setDiscoveryMulticastAddress(String multicastAddress)
multicastAddress - The multicast addressvoid setDiscoveryMulticastPort(String multicastPort)
multicastPort - The multicast portvoid setDiscoveryTTL(String ttl)
ttl - paquet time to livevoid setMailFactoryType(String factoryType)
factoryType - The mail factory typevoid setMailFactoryName(String factoryName)
factoryName - The mail factory name
void addMailMimme(String name,
String host,
String mailto,
String subject)
name - Name of the mail mimme to sethost - host of the mail mimme to setmailto - mailto of the mail mimme to setsubject - subject of the mail mimme to setvoid addMailSession(String name)
name - Name of a mail session to createvoid setWsdlPublisherFileName(String fileName)
fileName - The file namevoid setWsdlPublisherFileDirectory(String fileDir)
fileDir - The wsdl file directoryvoid setHaActivated(Boolean activated)
activated - true or falsevoid setHaMulticastAddress(String multicastAddr)
multicastAddr - void setHaMulticastPort(String multicastPort)
multicastPort - The multicast portvoid setSecurityManagerActivated(Boolean activation)
activation - true or falsevoid setEjbClusteringActivated(Boolean activated)
activated - true or falsevoid setEjbClusteringMulticastAddress(String multicastAddr)
multicastAddr - The multicast addressvoid setEjbClusteringMulticastPort(String multicastPort)
multicastPort - The mulitcast portvoid setEjbClusteringReplicationEnable(Boolean enable)
enable - True if the replication is enabledvoid setJmsPort(String port)
port - The portvoid setJmsQueues(String queue)
queue - The queues (comma-seperated)void setJmsTopics(String topic)
topic - The topics (comma-seperated)void setJmsHost(String host)
host - JMS'host to set
void addJdbcRA(String raName,
JDBCConfiguration configuration)
raName - JDBC resource adapter's nameconfiguration - JDBC resource adapter's configurationvoid setSmartClientPort(String port)
port - Port of the smartclient to configurevoid setCDClusterName(String clusterName)
clusterName - the cluster namevoid setCDClusterDomain(String clusterDomain)
clusterDomain - the cluster domain namevoid setCDProtocol(String protocol)
protocol - The cluster daemon's protocolvoid setCDPort(String port)
port - The port for the cluster daemon's protocolvoid setCDDestDirPrefix(String destDirPrefix)
destDirPrefix - the dest dir prefixvoid setCDInteractionMode(String interactionMode)
interactionMode - the interaction modevoid setCDJavaHome(String javaHome)
javaHome - the java homevoid setCDJonasRoot(String jonasRoot)
jonasRoot - the jonas rootvoid setCDServerNamePrefix(String serverNamePrefix)
serverNamePrefix - the server name prefixvoid setCDXparam(String xparam)
xparam - the xparamvoid setCDAutoBoot(boolean autoBoot)
autoBoot - the auto boot modevoid setCDNbInstances(int nbInsts)
nbInsts - the number of servers in the Clustervoid setCDJOnASScript(String jonasScript)
jonasScript - The JOnAS script to set
void setWrapperConfiguration(String javaHome,
String wrapperHome,
String serviceName,
String serviceDescription,
Boolean verbosity,
String logfile,
String logfileRollmode)
javaHome - Path to the JAVA_HOMEwrapperHome - Path to the wrapper HOMEserviceName - Wrapper service nameserviceDescription - Wrapper service descriptionverbosity - Verbosity to setlogfile - Logfile filepath and name to setlogfileRollmode - logfile rollmode to setvoid executeCDConf()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||