org.objectweb.jonas.ant.jonasbase
Class JdbcRa

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.objectweb.jonas.ant.BootstrapTask
              extended by org.objectweb.jonas.ant.jonasbase.JTask
                  extended by org.objectweb.jonas.ant.jonasbase.JdbcRa
All Implemented Interfaces:
BaseTaskItf

public class JdbcRa
extends JTask
implements BaseTaskItf

Allow to create JDBC resource adaptors

Author:
Florent Benoit

Field Summary
 
Fields inherited from class org.objectweb.jonas.ant.jonasbase.JTask
SEPARATORS
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
JdbcRa()
           
 
Method Summary
 void execute()
          Execute this task
 boolean isAutoload()
          Copy rar to autoload or only in rars/ ?
 boolean isP6spy()
          Configure the using of the P6Spy tool or not ?
 void setAutoload(boolean autoload)
          opy rar to autoload or only in rars/ ?
 void setConnMaxAge(java.lang.String connMaxAge)
          Set the max aiters of this JDBC Resource Adaptor Connection Pool
 void setDriverName(java.lang.String driverName)
          Set the name of the driver of this JDBC Resource Adaptor
 void setJndiName(java.lang.String jndiName)
          Set the jndiName of this JDBC Resource Adaptor
 void setMapperName(java.lang.String mapperName)
          Set the mapper name of this JDBC Resource Adaptor
 void setMaxOpenTime(java.lang.String maxOpenTime)
          Set the max aiters of this JDBC Resource Adaptor Connection Pool
 void setMaxPoolSize(java.lang.String maxPoolSize)
          Set the max pool size of this JDBC Resource Adaptor Connection Pool
 void setMaxPreparedStatementsSize(java.lang.String maxPreparedStatementSize)
          Set the max prepared Statements size of this JDBC Resource Adaptor Connection Pool
 void setMaxWaiters(java.lang.String maxWaiters)
          Set the max waiters of this JDBC Resource Adaptor Connection Pool
 void setMaxWaitTime(java.lang.String maxWaitTime)
          Set the max wait time of this JDBC Resource Adaptor Connection Pool
 void setName(java.lang.String name)
          Set the name of this JDBC Resource Adaptor
 void setP6spy(boolean p6spy)
          Configure the using of the P6Spy tool or not ?
 void setPassword(java.lang.String password)
          Set the password of this JDBC Resource Adaptor
 void setUrl(java.lang.String url)
          Set the url of this JDBC Resource Adaptor
 void setUser(java.lang.String user)
          Set the user of this JDBC Resource Adaptor
 
Methods inherited from class org.objectweb.jonas.ant.jonasbase.JTask
changeValueForKey, changeValueForKey, getConfigurationFile, getDestDir, getLogInfo, setConfigurationFile, setDestDir, setLogInfo, writePropsToFile
 
Methods inherited from class org.objectweb.jonas.ant.BootstrapTask
createClasspath, getBootstraptask, getCatalinaHome, getDomainName, getJettyHome, getJonasRoot, getServerName, getTaskName, setCatalinaHome, setClasspath, setDomainName, setJettyHome, setJonasbase, setJonasRoot, setJvmopts, setServerName, setTaskName
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, 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
 
Methods inherited from interface org.objectweb.jonas.ant.jonasbase.BaseTaskItf
getLogInfo, setConfigurationFile, setDestDir, setJonasRoot, setLogInfo
 

Constructor Detail

JdbcRa

public JdbcRa()
Method Detail

setName

public void setName(java.lang.String name)
Set the name of this JDBC Resource Adaptor

Parameters:
name - the name of this JDBC Resource Adaptor

setMapperName

public void setMapperName(java.lang.String mapperName)
Set the mapper name of this JDBC Resource Adaptor

Parameters:
mapperName - the mappername of this JDBC Resource Adaptor

setUser

public void setUser(java.lang.String user)
Set the user of this JDBC Resource Adaptor

Parameters:
user - the user of this JDBC Resource Adaptor

setPassword

public void setPassword(java.lang.String password)
Set the password of this JDBC Resource Adaptor

Parameters:
password - the name of this JDBC Resource Adaptor

setUrl

public void setUrl(java.lang.String url)
Set the url of this JDBC Resource Adaptor

Parameters:
url - the name of this JDBC Resource Adaptor

setMaxPoolSize

public void setMaxPoolSize(java.lang.String maxPoolSize)
Set the max pool size of this JDBC Resource Adaptor Connection Pool

Parameters:
maxPoolSize - max pool size of connection

setMaxPreparedStatementsSize

public void setMaxPreparedStatementsSize(java.lang.String maxPreparedStatementSize)
Set the max prepared Statements size of this JDBC Resource Adaptor Connection Pool

Parameters:
maxPreparedStatementsSize - of connection

setMaxWaitTime

public void setMaxWaitTime(java.lang.String maxWaitTime)
Set the max wait time of this JDBC Resource Adaptor Connection Pool

Parameters:
maxWaitTime - of the connection

setMaxWaiters

public void setMaxWaiters(java.lang.String maxWaiters)
Set the max waiters of this JDBC Resource Adaptor Connection Pool

Parameters:
maxWaiters - of connection

setConnMaxAge

public void setConnMaxAge(java.lang.String connMaxAge)
Set the max aiters of this JDBC Resource Adaptor Connection Pool

Parameters:
maxWaiters - of connection

setMaxOpenTime

public void setMaxOpenTime(java.lang.String maxOpenTime)
Set the max aiters of this JDBC Resource Adaptor Connection Pool

Parameters:
maxWaiters - of connection

setDriverName

public void setDriverName(java.lang.String driverName)
Set the name of the driver of this JDBC Resource Adaptor

Parameters:
driverName - the name of the driver of this JDBC Resource Adaptor

setJndiName

public void setJndiName(java.lang.String jndiName)
Set the jndiName of this JDBC Resource Adaptor

Parameters:
jndiName - the jndiName of this JDBC Resource Adaptor

execute

public void execute()
Execute this task

Specified by:
execute in interface BaseTaskItf
Overrides:
execute in class org.apache.tools.ant.Task

isAutoload

public boolean isAutoload()
Copy rar to autoload or only in rars/ ?

Returns:
the autoload.

setAutoload

public void setAutoload(boolean autoload)
opy rar to autoload or only in rars/ ?

Parameters:
autoload - true of false

isP6spy

public boolean isP6spy()
Configure the using of the P6Spy tool or not ?

Returns:
the p6spy

setP6spy

public void setP6spy(boolean p6spy)
Configure the using of the P6Spy tool or not ?

Parameters:
p6spy - true or false