java.lang.Object
com.sun.xml.ws.api.wsdl.writer.WSDLGenExtnContext
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.- Author:
- Jitendra Kotamraju
-
Constructor Summary
ConstructorsConstructorDescriptionWSDLGenExtnContext
(com.sun.xml.txw2.TypedXmlWriter root, SEIModel model, WSBinding binding, Container container, Class endpointClass) Constructs WSDL Generation context for the extensions -
Method Summary
-
Constructor Details
-
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 thisSEIModel
.binding
- The binding for which we generate WSDL. the bindingWSBinding
represents a particular configuration of JAXWS. This can be typically be overriden bycontainer
- The entry point to the external environment. If this extension is used at the runtime to generate WSDL, you get aContainer
that was given toWSEndpoint.create(java.lang.Class<T>, 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<? extends com.sun.xml.ws.api.server.SDDocumentSource>, org.xml.sax.EntityResolver, boolean)
.
-
-
Method Details
-
getRoot
public com.sun.xml.txw2.TypedXmlWriter getRoot() -
getModel
-
getBinding
-
getContainer
-
getEndpointClass
-