|
||||||||||
| 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.BootstrapTask
org.ow2.jonas.ant.jonasbase.JTask
org.ow2.jonas.ant.jonasbase.JdbcXml
public class JdbcXml
Allow to create JDBC datasources.
| Field Summary |
|---|
| Fields inherited from class org.ow2.jonas.ant.jonasbase.JTask |
|---|
SEPARATORS |
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
JdbcXml()
|
|
| Method Summary | |
|---|---|
void |
execute()
Execute this task. |
boolean |
isNewFile()
|
void |
setClassName(String className)
Set the name of the driver of this JDBC Resource Adaptor. |
void |
setConCheckLevel(String conCheckLevel)
Set the connection check level. |
void |
setConnMaxAge(String connMaxAge)
Set the connexion max age of this JDBC Resource Adaptor Connection Pool. |
void |
setConTestStmt(String conTestStmt)
Set the statement for the connection check level. |
void |
setInitConPool(String initConPool)
Set the init pool size of this JDBC Resource Adaptor Connection Pool. |
void |
setMapper(String mapperName)
Set the mapper name of this JDBC Resource Adaptor. |
void |
setMaxConPool(String maxConPool)
Set the max pool size of this JDBC Resource Adaptor Connection Pool. |
void |
setMaxOpenTime(String maxOpenTime)
Set the open time max of this JDBC Resource Adaptor Connection Pool. |
void |
setMaxWaiters(String maxWaiters)
Set the max waiters of this JDBC Resource Adaptor Connection Pool. |
void |
setMaxWaitTime(String maxWaitTime)
Set the max wait time of this JDBC Resource Adaptor Connection Pool. |
void |
setMinConPool(String minConPool)
Set the min pool size of this JDBC Resource Adaptor Connection Pool. |
void |
setName(String name)
Set the name of this JDBC Resource Adaptor. |
void |
setNewFile(String newFile)
Set is a new file has to be created |
void |
setPassword(String password)
Set the password of this JDBC Resource Adaptor. |
void |
setPstmtCachePolicy(String pstmtCachePolicy)
Set the prepared statement cache policy of this JDBC Resource Adaptor Connection Pool. |
void |
setPstmtMax(String pstmtMax)
Set the prepared statement pool size of this JDBC Resource Adaptor Connection Pool. |
void |
setSamplingPeriod(String samplingPeriod)
Set the samplingPeriod of the JDBC Resource Adaptor. |
void |
setUrl(String url)
Set the url of this JDBC Resource Adaptor. |
void |
setUserName(String user)
Set the user of this JDBC Resource Adaptor. |
| Methods inherited from class org.ow2.jonas.ant.jonasbase.JTask |
|---|
changeValueForKey, changeValueForKey, getConfigurationFile, getDestDir, getLogInfo, setConfigurationFile, setDestDir, setLogInfo, writePropsToFile |
| Methods inherited from class org.ow2.jonas.ant.BootstrapTask |
|---|
createClasspath, getBootstraptask, getBootstraptask, getDomainName, getJonasRoot, getMaven2Repository, getServerName, getTaskName, setCatalinaHome, setClasspath, setDomainName, setJettyHome, setJonasBase, setJonasRoot, setJvmopts, setServerName, setTaskName |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, 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 |
| Methods inherited from interface org.ow2.jonas.ant.jonasbase.BaseTaskItf |
|---|
getLogInfo, setConfigurationFile, setDestDir, setJonasRoot, setLogInfo |
| Constructor Detail |
|---|
public JdbcXml()
| Method Detail |
|---|
public void setClassName(String className)
className - the name of the driver of this JDBC Resource Adaptorpublic void setInitConPool(String initConPool)
initConPool - init pool size of connectionpublic void setMinConPool(String minConPool)
minConPool - min pool size of connectionpublic void setMaxConPool(String maxConPool)
maxConPool - max pool size of connectionpublic void setPstmtMax(String pstmtMax)
pstmtMax - pool size of connectionpublic void setPstmtCachePolicy(String pstmtCachePolicy)
pstmtCachePolicy - cache policypublic void setConCheckLevel(String conCheckLevel)
conCheckLevel - levelpublic void setConTestStmt(String conTestStmt)
conTestStmt - requestpublic void setName(String name)
name - the name of this JDBC Resource Adaptorpublic void setMapper(String mapperName)
mapper - the mappername of this JDBC Resource Adaptorpublic void setUserName(String user)
user - the user of this JDBC Resource Adaptorpublic void setPassword(String password)
password - the name of this JDBC Resource Adaptorpublic void setSamplingPeriod(String samplingPeriod)
samplingPeriod - the sampling periodpublic void setUrl(String url)
url - the name of this JDBC Resource Adaptorpublic void setMaxWaitTime(String maxWaitTime)
maxWaitTime - of the connectionpublic void setMaxWaiters(String maxWaiters)
maxWaiters - of connectionpublic void setConnMaxAge(String connMaxAge)
maxConnMAxAge - of connectionpublic void setMaxOpenTime(String maxOpenTime)
maxWaiters - of connectionpublic boolean isNewFile()
public void setNewFile(String newFile)
newFile - public void execute()
execute in interface BaseTaskItfexecute in class org.apache.tools.ant.Task
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||