Package com.sun.xml.ws.api.wsdl.writer
Class WSDLGenExtnContext
- java.lang.Object
-
- com.sun.xml.ws.api.wsdl.writer.WSDLGenExtnContext
-
public class WSDLGenExtnContext extends Object
WSDLGeneatorContext provides a context for the WSDLGeneratorExtension and is used inWSDLGeneratorExtension.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
Constructors Constructor Description WSDLGenExtnContext(TypedXmlWriter root, SEIModel model, WSBinding binding, Container container, Class endpointClass)Constructs WSDL Generation context for the extensions
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WSBindinggetBinding()ContainergetContainer()ClassgetEndpointClass()SEIModelgetModel()TypedXmlWritergetRoot()
-
-
-
Constructor Detail
-
WSDLGenExtnContext
public WSDLGenExtnContext(@NotNull 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 bindingWSBindingrepresents 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 aContainerthat 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 Detail
-
getRoot
public TypedXmlWriter getRoot()
-
getModel
public SEIModel getModel()
-
getBinding
public WSBinding getBinding()
-
getContainer
public Container getContainer()
-
getEndpointClass
public Class getEndpointClass()
-
-