| |
|
| org.objectweb.jonas.ant.JOnASClusterConfigTask
JOnASClusterConfigTask | public class JOnASClusterConfigTask extends Task (Code) | | Class used to create a JOnAS Cluster Configuration
author: Benoit Pelletier |
JOnASClusterConfigTask | public JOnASClusterConfigTask()(Code) | | Constructor
|
addConfiguredClusterDaemon | public void addConfiguredClusterDaemon(ClusterDaemon clusterDaemon)(Code) | | Add tasks for the is
Parameters: script - Tasks to do on files |
addConfiguredCommon | public void addConfiguredCommon(Common common)(Code) | | Add tasks for the common instances (both web & ejb )
Parameters: common - common tasks to do |
addConfiguredEjbLevel | public void addConfiguredEjbLevel(EjbLevel ejbLevel)(Code) | | Add tasks for the ejb level instances
If choosen architecture is both web and ejb within the same JOnAS,
the tasks are added to all instances
Parameters: ejbLevel - tasks to do on files |
addConfiguredScript | public void addConfiguredScript(Script script)(Code) | | Add tasks for the is
Parameters: script - Tasks to do on files |
addConfiguredWebLevel | public void addConfiguredWebLevel(WebLevel webLevel)(Code) | | Add tasks for the web level instances
If choosen architecture is both web and ejb within the same JOnAS,
the tasks are added to all instances
Parameters: webLevel - tasks to do on files |
addTasks | public void addTasks(Tasks subTasks)(Code) | | Add tasks for configured object
Parameters: subTasks - some tasks to do on files |
execute | public void execute()(Code) | | Run this task
See Also: org.apache.tools.ant.Task.execute |
setArch | public void setArch(String arch)(Code) | | Set architecture
Parameters: arch - the architecture |
setCdDir | public void setCdDir(String cdDir)(Code) | | Set the cluster daemon directory
Parameters: cdDir - the destination directory for the cluster daemon configuration |
setDestDirPrefix | public void setDestDirPrefix(String destDirPrefix)(Code) | | Set the destination directory prefix
Parameters: destDirPrefix - the destination directory prefix |
setEjbInstNb | public void setEjbInstNb(int ejbInstNb)(Code) | | Set the ejb instances number
Parameters: ejbInstNb - number of ejb instances |
setJonasRoot | public void setJonasRoot(File jonasRoot)(Code) | | Set the source directory for the replacement
Parameters: jonasRoot - the source directory |
setUpdate | public void setUpdate(boolean onlyUpdate)(Code) | | Set if this is only an update or a new JONAS_BASE
Parameters: onlyUpdate - If true update, else create and then update |
setWebInstNb | public void setWebInstNb(int webInstNb)(Code) | | Set the web instances number
Parameters: webInstNb - number of web instances |
|
|
|