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 addJdbcRA(String raName, JDBCConfiguration configuration)
          [jdbc] Add a JDBC resource adapter
 void execute()
          Apply the configuration
 void executeCDConf()
          Apply the cluster daemon configuration
 void setAjpConnectorActivation(Boolean activation)
          [web] Enable or disable https connector
 void setAjpMaxSpareThreads(String ajpMaxSpareThreads)
          [web] Set the maximum spare threads for ajp connector
 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 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 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 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 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 setHttpMaxSpareThreads(String httpMaxSpareThreads)
          [web] sSet the maximum spare threads for http connector
 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 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 setHttpsConnectorActivation(Boolean activation)
          [web] Enable or disable https connector
 void setHttpSessionReplicationActivation(Boolean activation)
          [web] Enable or disable http session replication
 void setHttpsMaxSpareThreads(String httpsMaxSpareThreads)
          [web] Set the maximum spare threads for https connector
 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 setJavaOpts(String javaOpts)
          [global parameters] Set the java environment to set
 void setJdk(String jdk)
          [global parameters] Set the jdk path
 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 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 setMailFactoryName(String factoryName)
          [mail] Set the mail factory name
 void setMailFactoryType(String factoryType)
          [mail] Set the mail factory type
 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 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 setServices(String services)
          [services] Set the active services list
 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

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

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

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.

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

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

void setHttpMaxSpareThreads(String httpMaxSpareThreads)
[web] sSet the maximum spare threads for http connector

Parameters:
httpMaxSpareThreads - The maximum spare threads for http connector

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

void setHttpsMaxSpareThreads(String httpsMaxSpareThreads)
[web] Set the maximum spare threads for https connector

Parameters:
httpsMaxSpareThreads - The maximum spare threads for https connector

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

void setAjpMaxSpareThreads(String ajpMaxSpareThreads)
[web] Set the maximum spare threads for ajp connector

Parameters:
ajpMaxSpareThreads - The maximum spare threads for ajp connector

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

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

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

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

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)

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

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

executeCDConf

void executeCDConf()
Apply the cluster daemon configuration



Copyright © 2011 OW2 Consortium. All Rights Reserved.