org.ow2.jonas.tools.configurator.api
Interface JonasConfigurator


public interface JonasConfigurator

Interface who defines the method that could be called to configure the JOnAS server.

Author:
Remy Bresson

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

execute

void execute()
Apply the configuration


setJdk

void setJdk(String jdk)
[global parameters] Set the jdk path

Parameters:
jdk - The jdk path

setJavaOpts

void setJavaOpts(String javaOpts)
[global parameters] Set the java environment to set

Parameters:
javaOpts - The java environment

setJonasBase

void setJonasBase(String jonasBase)
[global parameters] Set the jonas base path

Parameters:
jonasBase - The jonas base path

isJOnASBaseToUpdate

void isJOnASBaseToUpdate(Boolean update)
Parameters:
update - True if the JONAS_BASE need to update. Otherwise it'll be recreated

setJonasName

void setJonasName(String jonasName)
[global parameters] Set the jonas instance name

Parameters:
jonasName - The jonas instance name

setJonasDomain

void setJonasDomain(String jonasDomain)
[global parameters] Set the domain name for the jonas instance.

Parameters:
jonasDomain - The domain name

setHost

void setHost(String jonasHost)
[global parameters] Set the ip alias or ip address

Parameters:
jonasHost - ip alias or ip address

setJonasDevelopment

void setJonasDevelopment(boolean development)
[global parameters] Set the jonas.development option

Parameters:
development - jonas.development option

setLogConfigFile

void setLogConfigFile(String logConfigFile)
Parameters:
logConfigFile - The log config file to set

setMaster

void setMaster(Boolean isMaster)
Parameters:
isMaster - The master activation to set

setSecurityPropagation

void setSecurityPropagation(Boolean securityPropagation)
Parameters:
securityPropagation - The security propagation to set

setTransactionPropagation

void setTransactionPropagation(Boolean transactionPropagation)
Parameters:
transactionPropagation - The transaction propagation activation to set

setCsiv2Propagation

void setCsiv2Propagation(Boolean csiv2Propagation)
Parameters:
csiv2Propagation - The csiv2 propagation activation to set

setProtocolsList

void setProtocolsList(String protocolsList)
[protocols] Set the initial protocols when JOnAS start.

Parameters:
protocolsList - The protocols list.

setProtocolsIrmiPort

void setProtocolsIrmiPort(String irmiPort)
[protocols] Set the irmi port

Parameters:
irmiPort - The irmi port

setProtocolsIiopPort

void setProtocolsIiopPort(String iiop)
[protocols] Set the iiop port

Parameters:
irmiPort - The iiop port

setProtocolsJrmpPort

void setProtocolsJrmpPort(String jrmpPort)
[protocols] Set the jrmp port

Parameters:
jrmpPort - The jrmp port

setProtocolsJrmLocalRegistry

void setProtocolsJrmLocalRegistry(Boolean localRegistry)
Parameters:
localRegistry - The Jrmp local registry to set

setCarolHost

void setCarolHost(String host)
Parameters:
host - Carol's host

setProtocolsCmiPort

void setProtocolsCmiPort(String cmiPort)
[protocols] Set the cmi port

Parameters:
cmiPort - The cmi port

setProtocolsLocalCallOptimized

void setProtocolsLocalCallOptimized(Boolean localCallOptimized)
[protocols] Enable or disable optimization for local call

Parameters:
localCallOptimized - true or false

setServices

void setServices(String services)
[services] Set the active services list

Parameters:
services - List of the services to activated, sepated by comma.

setWebcontainer

void setWebcontainer(String webContainer)
[web] Set the web container

Parameters:
webContainer - The web container

setHttpConnectorActivation

void setHttpConnectorActivation(Boolean activation)
Parameters:
activation - Enable or disable http connector

setHttpsConnectorActivation

void setHttpsConnectorActivation(Boolean activation)
[web] Enable or disable https connector

Parameters:
activation - true or false

setAjpConnectorActivation

void setAjpConnectorActivation(Boolean activation)
[web] Enable or disable https connector

Parameters:
activation - true or false

setHttpSessionReplicationActivation

void setHttpSessionReplicationActivation(Boolean activation)
[web] Enable or disable http session replication

Parameters:
activation - true or false

setHttpSessionManagerActivation

void setHttpSessionManagerActivation(Boolean activation)
Parameters:
activation - True if the session manager is enabled

setWebOndemandActivation

void setWebOndemandActivation(Boolean activation)
Parameters:
activation - True if the web ondemand feature is enabled

setWebOndemandRedirectPort

void setWebOndemandRedirectPort(String redirectPort)
Parameters:
redirectPort - Web ondemand redirect port to set

setHttpPort

void setHttpPort(String httpPort)
[web] Set the http connector port

Parameters:
httpPort - The http connector port

setHttpMaxThreads

void setHttpMaxThreads(String httpMaxThreads)
[web] Set the max number of connections for http connector

Parameters:
httpMaxThreads - Max number of connections

setHttpMinSpareThreads

void setHttpMinSpareThreads(String httpMinSpareThreads)
[web] Set the minimum spare threads for http connector

Parameters:
httpMinSpareThreads - The minimum spare threads for http connector

setHttpMaxSpareThreads

@Deprecated
void setHttpMaxSpareThreads(String httpMaxSpareThreads)
Deprecated. 

[web] sSet the maximum spare threads for http connector

Parameters:
httpMaxSpareThreads - The maximum spare threads for http connector

setHttpEnableLookups

void setHttpEnableLookups(Boolean enableLookups)
Parameters:
enableLookups - The http enableLookups property to set

setHttpConnectionTimeout

void setHttpConnectionTimeout(String connectionTimeout)
Parameters:
connectionTimeout - The http connection timeout property to set

setHttpAcceptCount

void setHttpAcceptCount(String acceptCount)
Parameters:
acceptCount - The http accept count property to set

setHttpMaxKeepAliveRequest

void setHttpMaxKeepAliveRequest(String maxKeepAliveRequest)
Parameters:
maxKeepAliveRequest - The http maxKeepAliveRequest property to set

setHttpCompression

void setHttpCompression(String compression)
Parameters:
compression - The http compression property to set

setHttpRedirectPort

void setHttpRedirectPort(String redirectPort)
Parameters:
redirectPort - The http redirect port to set

setHttpsPort

void setHttpsPort(String httpsPort)
[web] Set the https connector port

Parameters:
httpsPort - The https connector port

setHttpsMaxThreads

void setHttpsMaxThreads(String httpsMaxThreads)
[web] Set the max number of connections for https

Parameters:
httpsMaxThreads - Max number of connections

setHttpsMinSpareThreads

void setHttpsMinSpareThreads(String httpsMinSpareThreads)
[web] Set the minimum spare threads for https connector

Parameters:
httpsMinSpareThreads - The minimum spare threads for https connector

setHttpsMaxSpareThreads

@Deprecated
void setHttpsMaxSpareThreads(String httpsMaxSpareThreads)
Deprecated. 

[web] Set the maximum spare threads for https connector

Parameters:
httpsMaxSpareThreads - The maximum spare threads for https connector

setHttpsEnableLookups

void setHttpsEnableLookups(Boolean enableLookups)
Parameters:
enableLookups - The https enableLookups property to set

setHttpsConnectionTimeout

void setHttpsConnectionTimeout(String connectionTimeout)
Parameters:
connectionTimeout - The https connection timeout property to set

setHttpsAcceptCount

void setHttpsAcceptCount(String acceptCount)
Parameters:
acceptCount - The https accept count property to set

setHttpsMaxKeepAliveRequest

void setHttpsMaxKeepAliveRequest(String maxKeepAliveRequest)
Parameters:
maxKeepAliveRequest - The https maxKeepAliveRequest property to set

setHttpsCompression

void setHttpsCompression(String compression)
Parameters:
compression - The https compression property to set

setHttpsRedirectPort

void setHttpsRedirectPort(String redirectPort)
Parameters:
redirectPort - The https redirect port to set

setHttpsKeystoreFile

void setHttpsKeystoreFile(String keystoreFile)
Parameters:
keystoreFile - The https keystore filename to set

setHttpsKeystorePass

void setHttpsKeystorePass(String keystorePass)
Parameters:
keystorePass - The https keystore password to set

setAjpPort

void setAjpPort(String ajpPort)
[web] Set the ajp connector port

Parameters:
ajpPort - The ajp connector port

setAjpMaxThreads

void setAjpMaxThreads(String ajpMaxThreads)
[web] Set the max number of connections for ajp

Parameters:
ajpMaxThreads - Max number of connections

setAjpMinSpareThreads

void setAjpMinSpareThreads(String ajpMinSpareThreads)
[web] Set the minimum spare threads for ajp connector

Parameters:
ajpMinSpareThreads - The minimum spare threads for ajp connector

setAjpMaxSpareThreads

@Deprecated
void setAjpMaxSpareThreads(String ajpMaxSpareThreads)
Deprecated. 

[web] Set the maximum spare threads for ajp connector

Parameters:
ajpMaxSpareThreads - The maximum spare threads for ajp connector

setAjpEnableLookups

void setAjpEnableLookups(Boolean enableLookups)
Parameters:
enableLookups - The http enableLookups property to set

setAjpConnectionTimeout

void setAjpConnectionTimeout(String connectionTimeout)
Parameters:
connectionTimeout - The http connection timeout property to set

setAjpAcceptCount

void setAjpAcceptCount(String acceptCount)
Parameters:
acceptCount - The http accept count property to set

setAjpRedirectPort

void setAjpRedirectPort(String redirectPort)
Parameters:
redirectPort - The http redirect port to set

setMaxActiveWebSessions

void setMaxActiveWebSessions(String maxActiveSession)
Parameters:
maxActiveSession - The max active web session to set

setJmxSecured

void setJmxSecured(boolean enabled)
Set whether JMX security is enabled

Parameters:
enabled - Whether JMX security is enabled

addUser

void addUser(String username,
             String password,
             String roles,
             String groups,
             String description)
Add a new User

Parameters:
username - The name of the user
password - The password of the user
roles - Roles of the user
groups - Groups of the user
description - Description of the user

addAdmin

void addAdmin(String username,
              String password)
Add a new Admin

Parameters:
username - The name of the admin
password - The password of the admin

setJvmRoute

void setJvmRoute(String jvmRoute)
[web] Set the mod_jk configuration

Parameters:
jvmRoute - The mod_jk configuration

setHttpReplicationClusterName

void setHttpReplicationClusterName(String clusterName)
[web] Set the cluster name for the http replication

Parameters:
clusterName - Cluster name

setHttpReplicationMulticastAddress

void setHttpReplicationMulticastAddress(String mCastAddr)
[web] Set the multicast address for the http replication

Parameters:
mCastAddr - The multicast address

setHttpReplicationMulticastPort

void setHttpReplicationMulticastPort(String mCastPort)
[web] Set the multicast port for the http replication

Parameters:
mCastPort - The multicast port

setHttpReplicationListenPort

void setHttpReplicationListenPort(String listenPort)
[web] Set the listen port for http replication

Parameters:
listenPort - The listen port

setHttpReplicationAlgorithm

void setHttpReplicationAlgorithm(String algorithm)
Parameters:
algorithm - Session replication algorithm to set

setDbPort

void setDbPort(String port)
[db] Set the port used by hsqldb (embedded)

Parameters:
port - The port used by hsqldb

setDbName

void setDbName(String name)
[db] Set the DB name used by hsqldb (embedded)

Parameters:
name - The DB name used by hsqldb

setDbUsers

void setDbUsers(String users)
[db] Set the users used by hsqldb (embedded)

Parameters:
users - The users used by hsqldb

setDbId

void setDbId(String dbId)
Parameters:
dbId - Set the id of the database

addJdbcResource

void addJdbcResource(JdbcXMLConfiguration jdbcXMLConfiguration)
Configure a JDBC resource

Parameters:
jdbcXMLConfiguration - JdbcXMLConfiguration

addJdbcResource

void addJdbcResource(String ref,
                     JdbcXMLConfiguration jdbcXMLConfiguration)
Configure a JDBC resource

Parameters:
ref - reference to a database id
jdbcXMLConfiguration - JdbcXMLConfiguration

setDiscoveryMasterActivated

void setDiscoveryMasterActivated(Boolean masterActivated)
[discovery] Enable or disable master node

Parameters:
masterActivated - true or false

setDiscoverySourcePort

void setDiscoverySourcePort(String sourcePort)
[discovery] Set the source port

Parameters:
sourcePort - The source port

setDiscoveryDomainName

void setDiscoveryDomainName(String domainName)
[discovery] Set the domain name

Parameters:
domainName - The domain name

setDiscoveryGreetingPort

void setDiscoveryGreetingPort(String greetingPort)
[discovery] Set the greeting port

Parameters:
greetingPort - The greeting port

setDiscoveryMulticastAddress

void setDiscoveryMulticastAddress(String multicastAddress)
[discovery] Set the multicast address

Parameters:
multicastAddress - The multicast address

setDiscoveryMulticastPort

void setDiscoveryMulticastPort(String multicastPort)
[discovery] Set the multicast port

Parameters:
multicastPort - The multicast port

setDiscoveryTTL

void setDiscoveryTTL(String ttl)
[discovery] Set the packet time to live

Parameters:
ttl - paquet time to live

setMailFactoryType

void setMailFactoryType(String factoryType)
[mail] Set the mail factory type

Parameters:
factoryType - The mail factory type

setMailFactoryName

void setMailFactoryName(String factoryName)
[mail] Set the mail factory name

Parameters:
factoryName - The mail factory name

addMailMimme

void addMailMimme(String name,
                  String host,
                  String mailto,
                  String subject)
Parameters:
name - Name of the mail mimme to set
host - host of the mail mimme to set
mailto - mailto of the mail mimme to set
subject - subject of the mail mimme to set

addMailSession

void addMailSession(String name)
Parameters:
name - Name of a mail session to create

setWsdlPublisherFileName

void setWsdlPublisherFileName(String fileName)
[ws] Set the wsdl file name

Parameters:
fileName - The file name

setWsdlPublisherFileDirectory

void setWsdlPublisherFileDirectory(String fileDir)
[ws] Set the wsdl file directory

Parameters:
fileDir - The wsdl file directory

setHaActivated

void setHaActivated(Boolean activated)
[ha]Enable or disable ha service

Parameters:
activated - true or false

setHaMulticastAddress

void setHaMulticastAddress(String multicastAddr)
[ha] Set the multicast address

Parameters:
multicastAddr -

setHaMulticastPort

void setHaMulticastPort(String multicastPort)
[ha] Set the multicast port

Parameters:
multicastPort - The multicast port

setSecurityManagerActivated

void setSecurityManagerActivated(Boolean activation)
[SecurityManager] Enable or disable security manager service

Parameters:
activation - true or false

setEjbClusteringActivated

void setEjbClusteringActivated(Boolean activated)
[ha]Enable or disable ejb clustering

Parameters:
activated - true or false

setEjbClusteringMulticastAddress

void setEjbClusteringMulticastAddress(String multicastAddr)
[Ejb clustering] Set the multicast address

Parameters:
multicastAddr - The multicast address

setEjbClusteringMulticastPort

void setEjbClusteringMulticastPort(String multicastPort)
[Ejb clustering] Set the multicast port

Parameters:
multicastPort - The mulitcast port

setEjbClusteringReplicationEnable

void setEjbClusteringReplicationEnable(Boolean enable)
Parameters:
enable - True if the replication is enabled

setJmsPort

void setJmsPort(String port)
[jms] Set the port

Parameters:
port - The port

setJmsQueues

void setJmsQueues(String queue)
[jms] Set the queues (comma-seperated)

Parameters:
queue - The queues (comma-seperated)

setJmsTopics

void setJmsTopics(String topic)
[jms] Set the topics (comma-seperated)

Parameters:
topic - The topics (comma-seperated)

setJmsHost

void setJmsHost(String host)
Parameters:
host - JMS'host to set

addJdbcRA

void addJdbcRA(String raName,
               JDBCConfiguration configuration)
[jdbc] Add a JDBC resource adapter

Parameters:
raName - JDBC resource adapter's name
configuration - JDBC resource adapter's configuration

setSmartClientPort

void setSmartClientPort(String port)
Parameters:
port - Port of the smartclient to configure

setCDClusterName

void setCDClusterName(String clusterName)
Set the cluster daemon name

Parameters:
clusterName - the cluster name

setCDClusterDomain

void setCDClusterDomain(String clusterDomain)
Set the cluster daemon domain name

Parameters:
clusterDomain - the cluster domain name

setCDProtocol

void setCDProtocol(String protocol)
[protocols] Set the cluster daemon's protocol

Parameters:
protocol - The cluster daemon's protocol

setCDPort

void setCDPort(String port)
[protocols] Set the port for the cluster daemon's protocol

Parameters:
port - The port for the cluster daemon's protocol

setCDDestDirPrefix

void setCDDestDirPrefix(String destDirPrefix)
Set the dest dir prefix

Parameters:
destDirPrefix - the dest dir prefix

setCDInteractionMode

void setCDInteractionMode(String interactionMode)
Set the interaction mode

Parameters:
interactionMode - the interaction mode

setCDJavaHome

void setCDJavaHome(String javaHome)
Set the java home

Parameters:
javaHome - the java home

setCDJonasRoot

void setCDJonasRoot(String jonasRoot)
Set the jonas root

Parameters:
jonasRoot - the jonas root

setCDServerNamePrefix

void setCDServerNamePrefix(String serverNamePrefix)
Set the server name prefix

Parameters:
serverNamePrefix - the server name prefix

setCDXparam

void setCDXparam(String xparam)
Set the xparam

Parameters:
xparam - the xparam

setCDAutoBoot

void setCDAutoBoot(boolean autoBoot)
Set the auto boot mode

Parameters:
autoBoot - the auto boot mode

setCDNbInstances

void setCDNbInstances(int nbInsts)
Set the number of servers in the cluster

Parameters:
nbInsts - the number of servers in the Cluster

setCDJOnASScript

void setCDJOnASScript(String jonasScript)
Parameters:
jonasScript - The JOnAS script to set

setWrapperConfiguration

void setWrapperConfiguration(String javaHome,
                             String wrapperHome,
                             String serviceName,
                             String serviceDescription,
                             Boolean verbosity,
                             String logfile,
                             String logfileRollmode)
Set wrapper configuration

Parameters:
javaHome - Path to the JAVA_HOME
wrapperHome - Path to the wrapper HOME
serviceName - Wrapper service name
serviceDescription - Wrapper service description
verbosity - Verbosity to set
logfile - Logfile filepath and name to set
logfileRollmode - logfile rollmode to set

executeCDConf

void executeCDConf()
Apply the cluster daemon configuration



Copyright © 2012 OW2 Consortium. All Rights Reserved.