|
|||||||||
| 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.db.base.Db
org.ow2.jonas.antmodular.jonasbase.db.h2.DbH2
public class DbH2
Allow to configure the DB H2 service.
| Field Summary | |
|---|---|
static String |
H2_CLASS_NAME
Name of the implementation class of H2 |
static String |
H2_MAPPER
H2 mapper |
| Fields inherited from class org.ow2.jonas.antmodular.jonasbase.db.base.Db |
|---|
DB_CLASS_PROPERTY, dbName, DEFAULT_DATABASE, DEFAULT_HOST, DEFAULT_PASSWORD, DEFAULT_PORT, DEFAULT_USER, INFO, portNumber, users |
| Fields inherited from class org.ow2.jonas.antmodular.jonasbase.bootstrap.AbstractJOnASBaseAntTask |
|---|
CONF_DIR, destDir, jonasRoot, skipOptionalDeployablesCopy, 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 | |
|---|---|
DbH2()
|
|
| Method Summary | |
|---|---|
void |
execute()
Execute all tasks |
String |
getClassname()
|
String |
getMapper()
|
String |
getUrl(String host)
|
| Methods inherited from class org.ow2.jonas.antmodular.jonasbase.db.base.Db |
|---|
getFirstUsernameAndPassword, getUsers, setDbName, setPort, setUsers |
| Methods inherited from class org.ow2.jonas.antmodular.jonasbase.bootstrap.AbstractJOnASBaseAntTask |
|---|
addTask, addTasks, copyTemplateDeployables, createServiceNameReplace, executeAllTask, getJOnASBase, getJOnASRoot, getTasks, setDestDir, setSkipOptionalDeployablesCopy |
| 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 H2_CLASS_NAME
public static final String H2_MAPPER
| Constructor Detail |
|---|
public DbH2()
| Method Detail |
|---|
public String getUrl(String host)
getUrl in class Dbpublic String getClassname()
getClassname in class Dbpublic String getMapper()
getMapper in class Dbpublic void execute()
execute in class Db
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||