|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugin.AbstractMojo org.codehaus.mojo.jaxws.TestWsImportMojo
public class TestWsImportMojo
Parses wsdl and binding files and generates Java code needed to access it (for tests.)
Field Summary | |
---|---|
protected File |
bindingDirectory
Directory containing binding files. |
protected List |
bindingFiles
List of files to use for bindings.If not specified, all .xml files in the bindingDirectory will be used. |
protected File |
destDir
Specify where to place output generated classes Set to "" to turn it off |
protected boolean |
extension
Allow to use the JAXWS Vendor Extensions. |
protected boolean |
keep
Keep generated files. |
protected org.apache.maven.project.MavenProject |
project
|
protected File |
sourceDestDir
Specify where to place generated source files, keep is turned on with this option. |
protected boolean |
verbose
Output messages about what the tool is doing |
protected List |
wsdlFiles
List of files to use for wsdls. |
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
TestWsImportMojo()
|
Method Summary | |
---|---|
void |
execute()
|
File[] |
getBindingFiles()
Returns a file array of xml files to translate to object models. |
protected File |
getDestDir()
Either ${build.outputDirectory} or ${build.testOutputDirectory}. |
File[] |
getWSDLFiles()
Returns a file array of wsdl files to translate to object models. |
protected String |
initClassLoader(ClassLoader parent)
Need to build a URLClassloader since Maven removed it form the chain |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
---|
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected File destDir
protected List wsdlFiles
protected File bindingDirectory
protected List bindingFiles
protected File sourceDestDir
protected org.apache.maven.project.MavenProject project
protected boolean verbose
protected boolean keep
protected boolean extension
Constructor Detail |
---|
public TestWsImportMojo()
Method Detail |
---|
protected File getDestDir()
public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public final File[] getBindingFiles()
public final File[] getWSDLFiles()
protected String initClassLoader(ClassLoader parent) throws org.apache.maven.plugin.MojoExecutionException
parent
-
org.apache.maven.plugin.MojoExecutionException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |