|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.Task org.objectweb.jonas.ant.JOnASClusterConfigTask
public class JOnASClusterConfigTask
Class used to create a JOnAS Cluster Configuration
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.Task |
---|
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
project |
Constructor Summary | |
---|---|
JOnASClusterConfigTask()
Constructor |
Method Summary | |
---|---|
void |
addConfiguredClusterDaemon(ClusterDaemon clusterDaemon)
Add tasks for the is |
void |
addConfiguredCommon(Common common)
Add tasks for the common instances (both web & ejb ) |
void |
addConfiguredEjbLevel(EjbLevel ejbLevel)
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 |
void |
addConfiguredScript(Script script)
Add tasks for the is |
void |
addConfiguredWebLevel(WebLevel webLevel)
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 |
void |
addTasks(Tasks subTasks)
Add tasks for configured object |
void |
execute()
Run this task |
void |
setArch(java.lang.String arch)
Set architecture |
void |
setCdDir(java.lang.String cdDir)
Set the cluster daemon directory |
void |
setDestDirPrefix(java.lang.String destDirPrefix)
Set the destination directory prefix |
void |
setEjbInstNb(int ejbInstNb)
Set the ejb instances number |
void |
setJonasRoot(java.io.File jonasRoot)
Set the source directory for the replacement |
void |
setUpdate(boolean onlyUpdate)
Set if this is only an update or a new JONAS_BASE |
void |
setWebInstNb(int webInstNb)
Set the web instances number |
Methods inherited from class org.apache.tools.ant.Task |
---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
getProject, setProject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JOnASClusterConfigTask()
Method Detail |
---|
public void execute()
execute
in class org.apache.tools.ant.Task
Task.execute()
public void addTasks(Tasks subTasks)
subTasks
- some tasks to do on filespublic void setDestDirPrefix(java.lang.String destDirPrefix)
destDirPrefix
- the destination directory prefixpublic void setCdDir(java.lang.String cdDir)
cdDir
- the destination directory for the cluster daemon configurationpublic void setJonasRoot(java.io.File jonasRoot)
jonasRoot
- the source directorypublic void setArch(java.lang.String arch)
arch
- the architecturepublic void setWebInstNb(int webInstNb)
webInstNb
- number of web instancespublic void setEjbInstNb(int ejbInstNb)
ejbInstNb
- number of ejb instancespublic void addConfiguredCommon(Common common)
common
- common tasks to dopublic void addConfiguredWebLevel(WebLevel webLevel)
webLevel
- tasks to do on filespublic void addConfiguredEjbLevel(EjbLevel ejbLevel)
ejbLevel
- tasks to do on filespublic void addConfiguredScript(Script script)
script
- Tasks to do on filespublic void addConfiguredClusterDaemon(ClusterDaemon clusterDaemon)
script
- Tasks to do on filespublic void setUpdate(boolean onlyUpdate)
onlyUpdate
- If true update, else create and then update
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |