|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.ProjectComponent | +--org.apache.tools.ant.Task | +--org.apache.tools.ant.taskdefs.optional.oraclejava.oraclejavaBase
Title: oraclejavaBase
Description: The Base Class for Ant Oracle Java Task Utilities
Field Summary | |
protected int |
argCnt
The count of arguments to the Oracle Command |
protected java.util.TreeMap |
args
Container for arguments to the Oracle Command |
protected java.lang.String |
debug
Holder for the debug option |
protected java.lang.String |
definer
Holder for the definer option |
protected java.lang.String |
encoding
Holder for the encoding option |
protected java.lang.String |
fileOut
Holder for the fileout option |
protected java.util.TreeMap |
files
Container for files and resources to be loaded |
protected java.lang.String |
force
Holder for the force option |
protected int |
grantCnt
The count of grants to be issued |
protected java.util.TreeMap |
grants
Container for user grants to be issued |
protected boolean |
isGrants
Indicates that grants will be issued on the loaded files or resources |
protected boolean |
isOci
Indicates if oci selection has been made |
protected boolean |
isThin
Indicates if thin selection has been made |
protected java.lang.String |
jarasresource
Holder for the jarasresource option |
protected java.lang.String |
loadFile
Holder for the loadFile option -- What is the load file ? |
protected int |
loadFileCnt
The count of files or resources to be loaded |
protected java.lang.String |
noserverside
Holder for the noserverside option |
protected java.lang.String |
noverify
Holder for the noverfiy option |
protected java.lang.String |
oci8
Holder for the oci8 option |
protected java.lang.String |
resolve
Holder for the resolve option |
protected java.lang.String |
resolver
Holder for the resolver option |
protected java.lang.String |
schema
Holder for the schema option |
protected java.lang.String |
stdOut
Holder for the stdOut option |
protected java.lang.String |
synonym
Holder for the synonym option |
protected java.lang.String |
tableschema
Holder for the tableschema option |
protected java.lang.String |
thin
Holder for the thin option |
protected java.lang.String |
time
Holder for the time option |
protected java.lang.String |
unresolvedok
Holder for the unresolvedok option |
protected java.lang.String |
user
Holder for the user option |
protected java.lang.String |
verbose
Holder for the verbose option |
Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
oraclejavaBase()
|
Method Summary | |
void |
addArg(java.lang.String arg)
Adds an arugment to be submitted to Load/Drop Java |
void |
addConfiguredFileSet(org.apache.tools.ant.types.FileSet fileSet)
Adds files in the pattern set to the files TreeMap and increments the load file count |
void |
addFile(java.lang.String file)
Adds a file to be submitted to Load/Drop Java and increments the load file count |
void |
setDebug(java.lang.String debug)
Turns on SQL logging in the loaded class. |
void |
setDefiner(java.lang.String definer)
Sets the definer of the loaded resources |
void |
setEncoding(java.lang.String encoding)
Sets the encoding type of the loaded resources |
void |
setFileOut(java.lang.String fileOut)
Redirects all the output from the loadjava process to a file. |
void |
setForce(java.lang.String force)
Sets the force option, forcing a resource to be loaded even if it is determined it is already loaded. |
void |
setJarasresource(java.lang.String jarasresource)
If set, resources in a loaded jar file will not be unpacked. |
void |
setNoserverside(java.lang.String noserverside)
Forces the access to server side objects to be accessed using the JDBC driver at the cost of performance |
void |
setNoverify(java.lang.String noverify)
Sets the option so Classes will be loaded with no bytecode verification. |
void |
setOci(java.lang.String oci)
Synonym to setOci8 |
void |
setOci8(java.lang.String oci8)
Sets the option to use OCI instead of THIN to connect to the database |
void |
setResolve(java.lang.String resolve)
If set to on, classes will be resolved in a seconds pass after load. |
void |
setResolver(java.lang.String resolver)
Specifies a resolving specificaion for newly loaded classes. |
void |
setSchema(java.lang.String schema)
Set the schema into whihc resources will be loaded |
void |
setStdOut(java.lang.String stdOut)
Sends stderr output to stdout. |
void |
setSynonym(java.lang.String synonym)
Creates PUBLIC synonyms for all the loaded resources |
void |
setTableschema(java.lang.String tableschema)
Creates loadjava internal tables in the specified schema instead of the schema of the loading user. |
void |
setThin(java.lang.String thin)
Sets the option to use THIN instead of OCI to connect to the database |
void |
setTime(java.lang.String time)
Places a timestamp message on all output messages. |
void |
setUnresolvedok(java.lang.String unresolvedok)
If specified with resolve will ignore all unresolved errors. |
void |
setUser(java.lang.String user)
Specifies a connect string eg. |
void |
setVerbose(java.lang.String verbose)
Prints detailed status messages to stdout. |
Methods inherited from class org.apache.tools.ant.Task |
execute, getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected java.util.TreeMap files
protected java.util.TreeMap args
protected java.util.TreeMap grants
protected int loadFileCnt
protected int argCnt
protected int grantCnt
protected boolean isGrants
protected java.lang.String definer
protected java.lang.String encoding
protected java.lang.String force
protected java.lang.String fileOut
protected java.lang.String noverify
protected java.lang.String oci8
protected java.lang.String resolve
protected java.lang.String resolver
protected java.lang.String schema
protected java.lang.String synonym
protected java.lang.String thin
protected java.lang.String time
protected java.lang.String tableschema
protected java.lang.String user
protected java.lang.String verbose
protected java.lang.String loadFile
protected java.lang.String debug
protected java.lang.String noserverside
protected java.lang.String jarasresource
protected java.lang.String unresolvedok
protected java.lang.String stdOut
protected boolean isOci
protected boolean isThin
Constructor Detail |
public oraclejavaBase()
Method Detail |
public void addConfiguredFileSet(org.apache.tools.ant.types.FileSet fileSet)
fileSet
- The fileset identified by the patternsetpublic void addArg(java.lang.String arg)
arg
- The argumentpublic void addFile(java.lang.String file)
arg
- The file namepublic void setDefiner(java.lang.String definer)
definer
- The username of the definerpublic void setEncoding(java.lang.String encoding)
encoding
- A valid encoding typepublic void setForce(java.lang.String force)
force
- String on or offpublic void setNoverify(java.lang.String noverify)
noverify
- String on or offpublic void setOci8(java.lang.String oci8)
oci8
- String on or off. Mandatory unless THIN is usedpublic void setOci(java.lang.String oci)
oci
- String on or off. Mandatory unless THIN is usedpublic void setResolve(java.lang.String resolve)
resolve
- String on, off or immediatepublic void setResolver(java.lang.String resolver)
resolver
- A resolving specificaionpublic void setSchema(java.lang.String schema)
schema
- The name of a valid schemapublic void setSynonym(java.lang.String synonym)
synonym
- String on or offpublic void setThin(java.lang.String thin)
thin
- String on or off. Mandatory unless OCI is usedpublic void setTableschema(java.lang.String tableschema)
tableschema
- The name of a valid schemapublic void setUser(java.lang.String user)
user
- A mandatory connect string to the databasepublic void setVerbose(java.lang.String verbose)
verbose
- String on or offpublic void setDebug(java.lang.String debug)
debug
- String on or offpublic void setNoserverside(java.lang.String noserverside)
noserverside
- String on or offpublic void setJarasresource(java.lang.String jarasresource)
jarasresource
- String on or offpublic void setFileOut(java.lang.String fileOut)
fileOut
- A valid writable file namepublic void setStdOut(java.lang.String stdOut)
stdOut
- String on or offpublic void setTime(java.lang.String time)
time
- String on or offpublic void setUnresolvedok(java.lang.String unresolvedok)
unresolvedok
- String on or off
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |