org.ow2.jonas.ant
Class JOnASBaseTaskDeprecated

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.ow2.jonas.ant.AbstractAntDeprecated
              extended by org.ow2.jonas.ant.JOnASBaseTaskDeprecated
All Implemented Interfaces:
Cloneable

public class JOnASBaseTaskDeprecated
extends AbstractAntDeprecated

Class only used for compatibility with previous version of JOnAS

Author:
Jeremy Cazaux

Field Summary
 
Fields inherited from class org.ow2.jonas.ant.AbstractAntDeprecated
logger
 
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
JOnASBaseTaskDeprecated()
           
 
Method Summary
 Object createCarol()
          Add tasks for Carol configuration.
 Object createDb()
          Add task for the DB service.
 Object createDbm()
          Add task for the DBM service.
 Object createDiscovery()
          Add tasks for Discovery configuration.
 Object createJdbcRa()
          Add task for Resource adaptor.
 Object createJdbcXml()
          Add task for Resource adaptor.
 Object createJms()
          tasks for JMS configuration.
 Object createJonasProperties()
          task for jonas.properties global properties configuration.
 Object createLib()
          Add task for library to put in JONAS_BASE/lib/ext.
 Object createMail()
          Add task for Resource adaptor.
 Object createWebcontainer()
          Add tasks for the web container configuration.
 Object createWsdlPublish()
          Add task for WSDL.
 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.ow2.jonas.ant.AbstractAntDeprecated
deprecated
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, execute, 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
 

Constructor Detail

JOnASBaseTaskDeprecated

public JOnASBaseTaskDeprecated()
Method Detail

setDestDir

public void setDestDir(File destDir)
                throws Exception
Set the destination directory for the replacement.

Parameters:
destDir - the destination directory
Throws:
Exception

setJonasRoot

public void setJonasRoot(File jonasRoot)
                  throws Exception
Set the source directory for the replacement.

Parameters:
jonasRoot - the source directory
Throws:
Exception

setUpdate

public void setUpdate(boolean onlyUpdate)
               throws Exception
Set if this is only an update or a new JONAS_BASE.

Parameters:
onlyUpdate - If true update, else create and then update
Throws:
Exception

createJonasProperties

public Object createJonasProperties()
                             throws Exception
task for jonas.properties global properties configuration.

Throws:
Exception

createJms

public Object createJms()
                 throws Exception
tasks for JMS configuration.

Throws:
Exception

createCarol

public Object createCarol()
                   throws Exception
Add tasks for Carol configuration.

Throws:
Exception

createWebcontainer

public Object createWebcontainer()
                          throws Exception
Add tasks for the web container configuration.

Throws:
Exception

createDb

public Object createDb()
                throws Exception
Add task for the DB service.

Throws:
Exception

createDiscovery

public Object createDiscovery()
                       throws Exception
Add tasks for Discovery configuration.

Throws:
Exception

createJdbcXml

public Object createJdbcXml()
                     throws Exception
Add task for Resource adaptor.

Throws:
Exception

createJdbcRa

public Object createJdbcRa()
                    throws Exception
Add task for Resource adaptor.

Throws:
Exception

createMail

public Object createMail()
                  throws Exception
Add task for Resource adaptor.

Throws:
Exception

createDbm

public Object createDbm()
                 throws Exception
Add task for the DBM service.

Throws:
Exception

createWsdlPublish

public Object createWsdlPublish()
                         throws Exception
Add task for WSDL.

Throws:
Exception

createLib

public Object createLib()
                 throws Exception
Add task for library to put in JONAS_BASE/lib/ext.

Throws:
Exception


Copyright © 2013 OW2 Consortium. All Rights Reserved.