|
|||||||||||
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.apache.tools.ant.taskdefs.MatchingTask
org.apache.ws.util.jndi.tools.JndiConfigUpdater
Field Summary | |
static java.lang.String |
SYSPROP_JNDI_CONFIG
Below default can be overridden by setting the below sysprop. |
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
fileset |
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 | |
JndiConfigUpdater()
Creates a new JndiConfigUpdater object. |
|
JndiConfigUpdater(java.io.File jndiConfig)
Creates a new JndiConfigUpdater object for updating the specified WSDD file. |
|
JndiConfigUpdater(java.lang.String jndiConfig)
Creates a new JndiConfigUpdater object for updating the specified jndi-config.xml, which may be a a file path or a location in
the classpath. |
Method Summary | |
void |
addConfiguredJndiConfigPaths(org.apache.tools.ant.types.FileSet jndiConfigPaths)
|
void |
deploy(java.io.File deployJndiConfig)
DOCUMENT_ME |
void |
execute()
DOCUMENT_ME |
static void |
main(java.lang.String[] args)
Command-line invocation entry point. |
void |
setDeployJndiConfig(java.io.File deployJndiConfig)
Sets the JndiConfig fragment to be added to the JNDIonfig file. |
void |
setJndiConfig(java.lang.String jndiConfig)
Sets the WSDD to be updated. |
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String SYSPROP_JNDI_CONFIG
Constructor Detail |
public JndiConfigUpdater()
JndiConfigUpdater
object.
public JndiConfigUpdater(java.io.File jndiConfig)
JndiConfigUpdater
object for updating the specified WSDD file.
jndiConfig
- DOCUMENT_MEpublic JndiConfigUpdater(java.lang.String jndiConfig)
JndiConfigUpdater
object for updating the specified jndi-config.xml, which may be a a file path or a location in
the classpath.
jndiConfig
- DOCUMENT_MEMethod Detail |
public void setDeployJndiConfig(java.io.File deployJndiConfig)
deployJndiConfig
- the JNDIConfigfragment to be added to the JndiConfig file.public void addConfiguredJndiConfigPaths(org.apache.tools.ant.types.FileSet jndiConfigPaths)
public void setJndiConfig(java.lang.String jndiConfig)
jndiConfig
- the Jndi-config.xml to be updatedpublic void deploy(java.io.File deployJndiConfig) throws java.lang.Exception
deployJndiConfig
- DOCUMENT_ME
java.lang.Exception
- DOCUMENT_MEpublic void execute() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
- DOCUMENT_MEpublic static void main(java.lang.String[] args) throws java.lang.Exception
args
- command-line arguments
java.lang.Exception
- on fatal error
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |