| java.lang.Object org.objectweb.jonas.ant.jonasbase.Tasks org.objectweb.jonas.ant.jonasbase.Discovery
Discovery | public class Discovery extends Tasks (Code) | | Defines properties for carol.properties
author: Florent Benoit |
Discovery | public Discovery()(Code) | | Default constructor
|
setDomainCluster | public void setDomainCluster(String clusterName, String clusterDesc, String nodesName, int nodesNb, String protocol, String[] portRange, String cdName, String cdUrl)(Code) | | Add a cluster in the domain
Parameters: clusterName - cluster name Parameters: clusterDesc - cluster desc Parameters: nodesName - prefix of the nodes names within the cluster Parameters: nodesNb - number of nodes within the cluster Parameters: protocol - protocol Parameters: portRange - protocol port range |
setDomainDesc | public void setDomainDesc(String domainDesc)(Code) | | Set the domain description
Parameters: domainDesc - domain description |
setDomainName | public void setDomainName(String domainName)(Code) | | Set the domain name
Parameters: domainName - domain name |
setGreetingPort | public void setGreetingPort(String portNumber)(Code) | | Set the port for the discovery service
Parameters: portNumber - port number |
setJonasRoot | public void setJonasRoot(String jonasRoot)(Code) | | Set the JONAS_ROOT dir
Parameters: jonasRoot - directory |
setMcastAddr | public void setMcastAddr(String mcastAddr)(Code) | | Set mcastAddr
Parameters: mcastAddr - multicast address |
setMcastPort | public void setMcastPort(String mcastPort)(Code) | | Set mcastPort
Parameters: mcastPort - multicast port |
setSourcePort | public void setSourcePort(String portNumber)(Code) | | Set the source port for the discovery service
Parameters: portNumber - port number (-1 means to disable to master node) |
|
|