org.apache.ws.notification.tool
Class WsnWsdl2Java

java.lang.Object
  extended byorg.apache.ws.resource.tool.Wsdl2Java
      extended byorg.apache.ws.notification.tool.WsnWsdl2Java

public class WsnWsdl2Java
extends org.apache.ws.resource.tool.Wsdl2Java

Generates Java Web service types and skeletons from a WSRF/WSN WSDL.

Author:
Ian Springer (ian DOT springer AT hp DOT com)

Nested Class Summary
 
Nested classes inherited from class org.apache.ws.resource.tool.Wsdl2Java
org.apache.ws.resource.tool.Wsdl2Java.Wsdl2JavaOptions
 
Field Summary
protected  java.lang.String WEBAPP_NAME
           
 
Fields inherited from class org.apache.ws.resource.tool.Wsdl2Java
CMD_LINE_OPTIONS
 
Constructor Summary
WsnWsdl2Java(java.io.File[] wsdlFiles, java.io.File outputDir, java.io.File[] classpath, org.apache.ws.resource.tool.Wsdl2Java.Wsdl2JavaOptions options)
           
 
Method Summary
protected  org.apache.ws.resource.tool.velocity.ServiceProperties buildServiceProperties(org.apache.ws.resource.ResourceDefinition resourceDefinition, java.io.File file, java.io.File file1)
           
protected  java.lang.String getWebbappName()
           
protected  org.apache.velocity.VelocityContext updateVelocityContext(org.apache.velocity.VelocityContext context, org.apache.ws.resource.ResourceDefinition resourceDef)
          Provides a hook for adding to the Velocity Context.
 
Methods inherited from class org.apache.ws.resource.tool.Wsdl2Java
addPortType2JavaInfo, generate, getOptions, getOutputDir, getPortType2JavaInfo, getWsdlFiles, main
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WEBAPP_NAME

protected java.lang.String WEBAPP_NAME
Constructor Detail

WsnWsdl2Java

public WsnWsdl2Java(java.io.File[] wsdlFiles,
                    java.io.File outputDir,
                    java.io.File[] classpath,
                    org.apache.ws.resource.tool.Wsdl2Java.Wsdl2JavaOptions options)
             throws java.lang.Exception
Method Detail

buildServiceProperties

protected org.apache.ws.resource.tool.velocity.ServiceProperties buildServiceProperties(org.apache.ws.resource.ResourceDefinition resourceDefinition,
                                                                                        java.io.File file,
                                                                                        java.io.File file1)

getWebbappName

protected java.lang.String getWebbappName()

updateVelocityContext

protected org.apache.velocity.VelocityContext updateVelocityContext(org.apache.velocity.VelocityContext context,
                                                                    org.apache.ws.resource.ResourceDefinition resourceDef)
Provides a hook for adding to the Velocity Context.

Parameters:
context -
Returns:
VelocityContext


Copyright © 2004-2005 Apache Software Foundation. All Rights Reserved.