org.ow2.jonas.ant.cluster
Class JmsCluster

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.JmsCluster

public class JmsCluster
extends ClusterTasks

Define JmsCluster 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
JmsCluster()
          Default constructor
 
Method Summary
 void generatesTasks()
          Generates the Jms tasks for each JOnAS's instances
 void setInitialQueues(String initialQueues)
          Set the initial queues when JOnAS start
 void setInitialTopics(String initialTopics)
          Set the initial topics
 void setPortRange(String portRange)
          Set ports range
 
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

JmsCluster

public JmsCluster()
Default constructor

Method Detail

setPortRange

public void setPortRange(String portRange)
Set ports range

Parameters:
portRange - ports range

setInitialTopics

public void setInitialTopics(String initialTopics)
Set the initial topics

Parameters:
initialTopics - comma separated list of topics

setInitialQueues

public void setInitialQueues(String initialQueues)
Set the initial queues when JOnAS start

Parameters:
initialQueues - comma separated list of topics

generatesTasks

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

Specified by:
generatesTasks in class ClusterTasks


Copyright © 2010 OW2 Consortium. All Rights Reserved.