public class WSDLGenExtnContext extends Object
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 and Description |
---|
WSDLGenExtnContext(com.sun.xml.txw2.TypedXmlWriter root,
SEIModel model,
WSBinding binding,
Container container,
Class endpointClass)
Constructs WSDL Generation context for the extensions
|
Modifier and Type | Method and Description |
---|---|
WSBinding |
getBinding() |
Container |
getContainer() |
Class |
getEndpointClass() |
SEIModel |
getModel() |
com.sun.xml.txw2.TypedXmlWriter |
getRoot() |
public WSDLGenExtnContext(@NotNull com.sun.xml.txw2.TypedXmlWriter root, @NotNull SEIModel model, @NotNull WSBinding binding, @Nullable Container container, @NotNull Class endpointClass)
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 bycontainer
- 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<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)
.Copyright © 2015 Oracle Corporation. All rights reserved.