|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.ow2.jonas.ant.JOnASClusterConfigTask
public class JOnASClusterConfigTask
Class used to create a JOnAS Cluster Configuration
| Field Summary | |
|---|---|
static String |
DEPLOY_DIR_NAME
Name of deploy directory. |
static String[] |
DEPLOYMENT_PLAN_LIST
List of deployment plans to copy for each JONAS_BASE. |
static String |
LIB_EXT_DIR_NAME
Name of lib/ext directory. |
static String |
LOG_DIR_NAME
Name of logs directory. |
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, 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 chosen 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 chosen 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(String arch)
Set architecture |
void |
setCdDir(String cdDir)
Set the cluster daemon directory |
void |
setDestDirPrefix(String destDirPrefix)
Set the destination directory prefix |
void |
setEjbInstNb(int ejbInstNb)
Set the ejb instances number |
void |
setJonasRoot(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 |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String LOG_DIR_NAME
public static final String DEPLOY_DIR_NAME
public static final String LIB_EXT_DIR_NAME
public static final String[] DEPLOYMENT_PLAN_LIST
| Constructor Detail |
|---|
public JOnASClusterConfigTask()
| Method Detail |
|---|
public void execute()
execute in class org.apache.tools.ant.TaskTask.execute()public void addTasks(Tasks subTasks)
subTasks - some tasks to do on filespublic void setDestDirPrefix(String destDirPrefix)
destDirPrefix - the destination directory prefixpublic void setCdDir(String cdDir)
cdDir - the destination directory for the cluster daemon configurationpublic void setJonasRoot(File jonasRoot)
jonasRoot - the source directorypublic void setArch(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 | |||||||||