org.codehaus.xfire.gen
Class WsdlGenTask

java.lang.Object
  extended by Task
      extended by org.codehaus.xfire.gen.WsdlGenTask

public class WsdlGenTask
extends Task

WsdlGenTask. Allows to generate the Wsdl without firing up the web server.

Author:
Jerome Lacoste

Constructor Summary
WsdlGenTask()
           
 
Method Summary
 void execute()
           
 java.io.File getGeneratedFile()
          Path of the generatedFile
 void setConfigUrl(java.lang.String configUrl)
           
 void setOutputDirectory(java.lang.String outputDirectory)
           
 void setOverridingContextClassLoader(java.lang.ClassLoader overridingContextClassLoader)
          The mojo will set the classloader.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsdlGenTask

public WsdlGenTask()
Method Detail

setOverridingContextClassLoader

public void setOverridingContextClassLoader(java.lang.ClassLoader overridingContextClassLoader)
The mojo will set the classloader. You may want to override the class loader with one that knows about your services

Parameters:
overridingContextClassLoader -

setConfigUrl

public void setConfigUrl(java.lang.String configUrl)

setOutputDirectory

public void setOutputDirectory(java.lang.String outputDirectory)

getGeneratedFile

public java.io.File getGeneratedFile()
Path of the generatedFile

Returns:
the File when succesfully generated

execute

public void execute()
             throws BuildException
Throws:
BuildException


Copyright © 2004-2006 Envoi Solutions LLC. All Rights Reserved.