public class DefaultBindings
extends org.apache.tools.ant.Task
Constructor and Description |
---|
DefaultBindings()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Executes the ant task, i.e. opens the ear file, populates it with bindings
and writes out to the output ear.
|
java.lang.String |
getDbPassword()
Gets the password associated with the default data source.
|
java.lang.String |
getDbUser()
Gets the userid associated with the default data source.
|
java.lang.String |
getDefaultConnectionFactory()
Gets the JNDI name of defaultConnectionFactory.
|
java.lang.String |
getDefaultDataSource()
Gets the JNDI name of the default data source.
|
java.lang.String |
getEar()
Gets the ear.
|
java.lang.String |
getEjbJndiPrefix()
Gets the ejbJndiPrefix.
|
java.lang.String |
getExportFile()
Returns the exportFile.
|
boolean |
getForceBindings()
Gets the forceBindings flag.
|
java.lang.String |
getOutputFile()
Gets the outputFile.
|
java.lang.String |
getResAuth()
Gets the resAuth.
|
java.lang.String |
getStrategy()
Gets the strategy.
|
java.lang.String |
getVirtualHost()
Gets the virtualHost.
|
void |
setDbPassword(java.lang.String dbPassword)
Sets the password associated with the default data source.
|
void |
setDbUser(java.lang.String dbUser)
Sets userid associated with the default data source.
|
void |
setDefaultConnectionFactory(java.lang.String defaultConnectionFactory)
Sets the JNDI name of defaultConnectionFactory.
|
void |
setDefaultDataSource(java.lang.String defaultDataSource)
Sets thethe JNDI name of the default data source.
|
void |
setEar(java.lang.String ear)
Sets the ear.
|
void |
setEjbJndiPrefix(java.lang.String ejbJndiPrefix)
Sets the ejbJndiPrefix.
|
void |
setExportFile(java.lang.String exportFile)
Sets the exportFile.
|
void |
setFailonerror(boolean failonerror)
Sets the failonerror flag.
|
void |
setForceBindings(boolean forceBindings)
Sets the forceBindingsflag
|
void |
setOutputFile(java.lang.String outputFile)
Sets the outputFile.
|
void |
setResAuth(java.lang.String resAuth)
Sets the resAuth.
|
void |
setStrategy(java.lang.String strategy)
Sets the strategy.
|
void |
setVirtualHost(java.lang.String virtualHost)
Sets the virtualHost.
|
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
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
getEar()
,
getOutputFile()
public java.lang.String getDbPassword()
getDefaultDataSource()
public void setDbPassword(java.lang.String dbPassword)
dbPassword
- The password to be setsetDefaultDataSource(String)
public java.lang.String getDbUser()
getDefaultDataSource()
public void setDbUser(java.lang.String dbUser)
dbUser
- The dbUser to setsetDefaultDataSource(String)
public java.lang.String getDefaultConnectionFactory()
public void setDefaultConnectionFactory(java.lang.String defaultConnectionFactory)
defaultConnectionFactory
- The defaultConnectionFactory to setpublic java.lang.String getDefaultDataSource()
public void setDefaultDataSource(java.lang.String defaultDataSource)
defaultDataSource
- The defaultDataSource to setpublic java.lang.String getEar()
public void setEar(java.lang.String ear)
ear
- The ear to setpublic java.lang.String getEjbJndiPrefix()
public void setEjbJndiPrefix(java.lang.String ejbJndiPrefix)
ejbJndiPrefix
- The ejbJndiPrefix to setpublic boolean getForceBindings()
public void setForceBindings(boolean forceBindings)
orceBindings
- The forceBindings to setpublic java.lang.String getOutputFile()
public void setOutputFile(java.lang.String outputFile)
outputFile
- The outputFile to setpublic java.lang.String getResAuth()
public void setResAuth(java.lang.String resAuth)
resAuth
- The resAuth to setpublic java.lang.String getStrategy()
public void setStrategy(java.lang.String strategy)
strategy
- The strategy to setpublic java.lang.String getVirtualHost()
public void setVirtualHost(java.lang.String virtualHost)
virtualHost
- The virtualHost to setpublic java.lang.String getExportFile()
public void setExportFile(java.lang.String exportFile)
exportFile
- The exportFile to setpublic void setFailonerror(boolean failonerror)
failonerror
- The failonerror to set