org.ow2.jonas.ant.cluster
Class HaCluster

java.lang.Object
  extended by org.ow2.jonas.ant.jonasbase.Tasks
      extended by org.ow2.jonas.ant.cluster.ClusterTasks
          extended by org.ow2.jonas.ant.cluster.HaCluster

public class HaCluster
extends ClusterTasks

Define HaCluster task

Author:
Benoit Pelletier

Field Summary
 
Fields inherited from class org.ow2.jonas.ant.cluster.ClusterTasks
ARCH_BOTH_WEB_EJB, ARCH_SEPARATED_WEB_EJB
 
Constructor Summary
HaCluster()
          Default constructor
 
Method Summary
 void generatesTasks()
          Generates the carol tasks for each JOnAS's instances
 void setMcastAddr(String mcastAddr)
          Set mcastAddr
 void setMcastPort(String mcastPort)
          Set mcastPort
 
Methods inherited from class org.ow2.jonas.ant.cluster.ClusterTasks
addClusterTask, getArch, getClusterTasks, getDestDir, getDestDirPrefix, getDestDirSuffixIndFirst, getDestDirSuffixIndLast, getEjbInstNb, getLogInfo, getRootTask, getWebInstNb, log, setArch, setDestDirPrefix, setDestDirSuffixIndFirst, setDestDirSuffixIndLast, setEjbInstNb, setLogInfo, setRootTask, setWebInstNb
 
Methods inherited from class org.ow2.jonas.ant.jonasbase.Tasks
addTask, addTasks, addTasks, getTasks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HaCluster

public HaCluster()
Default constructor

Method Detail

setMcastAddr

public void setMcastAddr(String mcastAddr)
Set mcastAddr

Parameters:
mcastAddr - multicast address to set

setMcastPort

public void setMcastPort(String mcastPort)
Set mcastPort

Parameters:
mcastPort - multicast port to set

generatesTasks

public void generatesTasks()
Generates the carol tasks for each JOnAS's instances

Specified by:
generatesTasks in class ClusterTasks


Copyright © 2010 OW2 Consortium. All Rights Reserved.