org.apache.axis.wsdl.fromJava
Interface Java2WSDLFactory
- All Known Implementing Classes:
- DefaultFactory
- public interface Java2WSDLFactory
Java2WSDLFactory is part of the Java2WSDL framework.
To extend the functionality, implement this interface with your own factory and
supply your implementation to Java2WSDL (via command line option -f or
by extending Java2WSDL).
By default the DefaultFactory is used. You may wish to extend the DefaultFactory
instead of directly implementing Java2WSDLFactory. Thus if new methods are
added you will automatically pick up the default implementation.
The Java2WSDL emitter operates on ClassRep, MethodRep, FieldRep & ParamRep
objects that are built from Class objects. These Rep objects allow users
to add, rename, remove, etc. the various names and types in order to
affect the WSDL generation. (The classes are very simple, see ClassRep for details)
There are two ClassRep builder interfaces, one for building the
ClassRep for the PortType Class/Interface, and one for building the
ClassRep for the referenced Bean Classes. The DefaultFactory
uses DefaultBuilderPortTypeClassRep and DefaultBuilderBeanClassRep.
You may want to examine/extend these builder classes to provide
your own functionality.
- Author:
- Rich Scheuerle (scheu@us.ibm.com)
getBuilderPortTypeClassRep
public BuilderPortTypeClassRep getBuilderPortTypeClassRep()
- Identify the ClassRep Builder to use for building the ClassRep
representing the PortType class.
getBuilderBeanClassRep
public BuilderBeanClassRep getBuilderBeanClassRep()
- Identify the ClassRep Builder to use for building the ClassRep
representing the referenced Bean classes.
Copyright © 2001 Apache XML Project. All Rights Reserved.