|
||||||||||
| 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.JOnASBaseTask
public class JOnASBaseTask
Class used to create a JOnAS base with different configuration like port, url for JNDI, etc.
| Field Summary | |
|---|---|
static String |
CAROL_CONF_FILE
Name of Carol configuration file. |
static String |
DEPLOY_DIR_NAME
Name of deploy directory. |
static String |
DOMAIN_CONF_FILE
Name of domain management file. |
static String |
JAAS_CONF_FILE
Name of JAAS configuration file. |
static String |
JETTY_CONF_FILE
Name of Tomcat configuration file. |
static String |
JGROUPS_CMI_CONF_FILE
Name of JGroups CMI configuration file. |
static String |
JGROUPS_HA_CONF_FILE
Name of JGroups HA configuration file. |
static String |
JONAS_CONF_FILE
Name of JOnAS configuration file. |
static String |
JORAM_ADMIN_CONF_FILE
Name of Joram admin configuration file (resource adaptor). |
static String |
JORAM_CONF_FILE
Name of Joram configuration file. |
static String |
LIB_EXT_DIR_NAME
Name of lib/ext directory. |
static String |
LOG_DIR_NAME
Name of logs directory. |
static String |
P6SPY_CONF_FILE
Name of P6Spy configuration file. |
static String |
TOMCAT_CONF_FILE
Name of Tomcat configuration file. |
| 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 | |
|---|---|
JOnASBaseTask()
Constructor. |
|
| Method Summary | |
|---|---|
void |
addConfiguredCarol(Carol carolTasks)
Add tasks for Carol configuration. |
void |
addConfiguredDb(Db dbTask)
Add task for the DB service. |
void |
addConfiguredDbm(Dbm dbTask)
Add task for the DBM service. |
void |
addConfiguredDiscovery(Discovery discoveryTasks)
Add tasks for Discovery configuration. |
void |
addConfiguredJaas(Jaas jaasTasks)
Add tasks for JAAS configuration. |
void |
addConfiguredJdbcRa(JdbcRa jdbcRaTask)
Add task for Resource adaptor. |
void |
addConfiguredJms(Jms jmsTasks)
Add tasks for JMS configuration. |
void |
addConfiguredJonasProperties(JonasProperties servicesTasks)
Add tasks for jonas.properties global properties configuration. |
void |
addConfiguredLib(Lib libTask)
Add task for library to put in JONAS_BASE/lib/ext. |
void |
addConfiguredMail(Mail mailTask)
Add task for Resource adaptor. |
void |
addConfiguredServices(Services servicesTasks)
Add tasks for services (wrapped to default method). |
void |
addConfiguredWebContainer(WebContainer webContainerTasks)
Add tasks for the web container configuration. |
void |
addConfiguredWsdlPublish(WsdlPublish wsdlTask)
Add task for WSDL. |
void |
addTask(BaseTaskItf task)
Add a task for configure some objects. |
void |
addTasks(Tasks subTasks)
Add tasks for configured object. |
void |
execute()
Run this task. |
void |
setDestDir(File destDir)
Set the destination directory for the replacement. |
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. |
| 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 JONAS_CONF_FILE
public static final String JORAM_CONF_FILE
public static final String JORAM_ADMIN_CONF_FILE
public static final String CAROL_CONF_FILE
public static final String JGROUPS_CMI_CONF_FILE
public static final String JGROUPS_HA_CONF_FILE
public static final String TOMCAT_CONF_FILE
public static final String JETTY_CONF_FILE
public static final String P6SPY_CONF_FILE
public static final String DOMAIN_CONF_FILE
public static final String JAAS_CONF_FILE
public static final String LOG_DIR_NAME
public static final String DEPLOY_DIR_NAME
public static final String LIB_EXT_DIR_NAME
| Constructor Detail |
|---|
public JOnASBaseTask()
| 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 addTask(BaseTaskItf task)
task - the task to dopublic void addConfiguredServices(Services servicesTasks)
servicesTasks - tasks to do on filespublic void addConfiguredJonasProperties(JonasProperties servicesTasks)
servicesTasks - tasks to do on filespublic void addConfiguredJms(Jms jmsTasks)
jmsTasks - tasks to do on filespublic void addConfiguredJdbcRa(JdbcRa jdbcRaTask)
jdbcRaTask - task to dopublic void addConfiguredMail(Mail mailTask)
mailTask - task to dopublic void addConfiguredDb(Db dbTask)
dbTask - task to dopublic void addConfiguredDbm(Dbm dbTask)
dbTask - task to dopublic void addConfiguredLib(Lib libTask)
libTask - task to dopublic void addConfiguredWsdlPublish(WsdlPublish wsdlTask)
wsdlTask - task to dopublic void addConfiguredCarol(Carol carolTasks)
carolTasks - tasks to do on filespublic void addConfiguredDiscovery(Discovery discoveryTasks)
discoveryTasks - tasks to do on filespublic void addConfiguredWebContainer(WebContainer webContainerTasks)
webContainerTasks - tasks to do on filespublic void addConfiguredJaas(Jaas jaasTasks)
jaasTasks - tasks to do on filespublic void setDestDir(File destDir)
destDir - the destination directorypublic void setJonasRoot(File jonasRoot)
jonasRoot - the source directorypublic 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 | |||||||||