|
|||||||||
| 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.antmodular.jonasbase.bootstrap.AbstractJOnASBaseAntTask
org.ow2.jonas.antmodular.jonasbase.resource.JdbcXml
public class JdbcXml
Allow to create JDBC datasources.
| Field Summary | |
|---|---|
static java.lang.String |
JDBC_DS_CONF_FILE
Name of datasources configuration file |
| Fields inherited from class org.ow2.jonas.antmodular.jonasbase.bootstrap.AbstractJOnASBaseAntTask |
|---|
CONF_DIR, destDir, jonasRoot, tasks |
| 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 | |
|---|---|
JdbcXml()
|
|
| Method Summary | |
|---|---|
void |
execute()
Execute this task. |
boolean |
isNewFile()
|
void |
setClassName(java.lang.String className)
Set the name of the driver of this JDBC Resource Adaptor. |
void |
setConCheckLevel(java.lang.String conCheckLevel)
Set the connection check level. |
void |
setConnMaxAge(java.lang.String connMaxAge)
Set the connexion max age of this JDBC Resource Adaptor Connection Pool. |
void |
setConTestStmt(java.lang.String conTestStmt)
Set the statement for the connection check level. |
void |
setInitConPool(java.lang.String initConPool)
Set the init pool size of this JDBC Resource Adaptor Connection Pool. |
void |
setMapper(java.lang.String mapperName)
Set the mapper name of this JDBC Resource Adaptor. |
void |
setMaxConPool(java.lang.String maxConPool)
Set the max pool size of this JDBC Resource Adaptor Connection Pool. |
void |
setMaxOpenTime(java.lang.String maxOpenTime)
Set the open time max 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 |
setMinConPool(java.lang.String minConPool)
Set the min pool size of this JDBC Resource Adaptor Connection Pool. |
void |
setName(java.lang.String name)
Set the name of this JDBC Resource Adaptor. |
void |
setNewFile(java.lang.String newFile)
Set is a new file has to be created |
void |
setPassword(java.lang.String password)
Set the password of this JDBC Resource Adaptor. |
void |
setPstmtCachePolicy(java.lang.String pstmtCachePolicy)
Set the prepared statement cache policy of this JDBC Resource Adaptor Connection Pool. |
void |
setPstmtMax(java.lang.String pstmtMax)
Set the prepared statement pool size of this JDBC Resource Adaptor Connection Pool. |
void |
setSamplingPeriod(java.lang.String samplingPeriod)
Set the samplingPeriod of the JDBC Resource Adaptor. |
void |
setUrl(java.lang.String url)
Set the url of this JDBC Resource Adaptor. |
void |
setUserName(java.lang.String user)
Set the user of this JDBC Resource Adaptor. |
| Methods inherited from class org.ow2.jonas.antmodular.jonasbase.bootstrap.AbstractJOnASBaseAntTask |
|---|
addTask, addTasks, createServiceNameReplace, executeAllTask, getJOnASBase, getJOnASRoot, getTasks, setDestDir |
| 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 java.lang.String JDBC_DS_CONF_FILE
| Constructor Detail |
|---|
public JdbcXml()
| Method Detail |
|---|
public void setClassName(java.lang.String className)
className - the name of the driver of this JDBC Resource Adaptorpublic void setInitConPool(java.lang.String initConPool)
initConPool - init pool size of connectionpublic void setMinConPool(java.lang.String minConPool)
minConPool - min pool size of connectionpublic void setMaxConPool(java.lang.String maxConPool)
maxConPool - max pool size of connectionpublic void setPstmtMax(java.lang.String pstmtMax)
pstmtMax - pool size of connectionpublic void setPstmtCachePolicy(java.lang.String pstmtCachePolicy)
pstmtCachePolicy - cache policypublic void setConCheckLevel(java.lang.String conCheckLevel)
conCheckLevel - levelpublic void setConTestStmt(java.lang.String conTestStmt)
conTestStmt - requestpublic void setName(java.lang.String name)
name - the name of this JDBC Resource Adaptorpublic void setMapper(java.lang.String mapperName)
mapper - the mappername of this JDBC Resource Adaptorpublic void setUserName(java.lang.String user)
user - the user of this JDBC Resource Adaptorpublic void setPassword(java.lang.String password)
password - the name of this JDBC Resource Adaptorpublic void setSamplingPeriod(java.lang.String samplingPeriod)
samplingPeriod - the sampling periodpublic void setUrl(java.lang.String url)
url - the name of this JDBC Resource Adaptorpublic void setMaxWaitTime(java.lang.String maxWaitTime)
maxWaitTime - of the connectionpublic void setMaxWaiters(java.lang.String maxWaiters)
maxWaiters - of connectionpublic void setConnMaxAge(java.lang.String connMaxAge)
maxConnMAxAge - of connectionpublic void setMaxOpenTime(java.lang.String maxOpenTime)
maxWaiters - of connectionpublic boolean isNewFile()
public void setNewFile(java.lang.String newFile)
newFile - public void execute()
execute in class AbstractJOnASBaseAntTask
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||