com.sun.xml.ws.api.wsdl.writer
Class WSDLGenExtnContext

java.lang.Object
  extended by com.sun.xml.ws.api.wsdl.writer.WSDLGenExtnContext

public class WSDLGenExtnContext
extends Object

WSDLGeneatorContext provides a context for the WSDLGeneratorExtension and is used in WSDLGeneratorExtension.start(WSDLGenExtnContext). This context consists of TXW, SEIModel, WSBinding, Container, and implementation class. WSDL extensions are used to extend the generated WSDL by adding implementation specific extensions.


Constructor Summary
WSDLGenExtnContext(com.sun.xml.txw2.TypedXmlWriter root, SEIModel model, WSBinding binding, Container container, Class endpointClass)
          Constructs WSDL Generation context for the extensions
 
Method Summary
 WSBinding getBinding()
           
 Container getContainer()
           
 Class getEndpointClass()
           
 SEIModel getModel()
           
 com.sun.xml.txw2.TypedXmlWriter getRoot()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDLGenExtnContext

public WSDLGenExtnContext(@NotNull
                          com.sun.xml.txw2.TypedXmlWriter root,
                          @NotNull
                          SEIModel model,
                          @NotNull
                          WSBinding binding,
                          @Nullable
                          Container container,
                          @NotNull
                          Class endpointClass)
Constructs WSDL Generation context for the extensions

Parameters:
root - This is the root element of the generated WSDL.
model - WSDL is being generated from this SEIModel.
binding - The binding for which we generate WSDL. the binding WSBinding represents a particular configuration of JAXWS. This can be typically be overriden by
container - The entry point to the external environment. If this extension is used at the runtime to generate WSDL, you get a Container that was given to WSEndpoint.create(java.lang.Class, boolean, com.sun.xml.ws.api.server.Invoker, javax.xml.namespace.QName, javax.xml.namespace.QName, com.sun.xml.ws.api.server.Container, com.sun.xml.ws.api.WSBinding, com.sun.xml.ws.api.server.SDDocumentSource, java.util.Collection, org.xml.sax.EntityResolver, boolean).
Method Detail

getRoot

public com.sun.xml.txw2.TypedXmlWriter getRoot()

getModel

public SEIModel getModel()

getBinding

public WSBinding getBinding()

getContainer

public Container getContainer()

getEndpointClass

public Class getEndpointClass()