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 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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 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, 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).
getRoot
public com.sun.xml.txw2.TypedXmlWriter getRoot()
getModel
public SEIModel getModel()
getBinding
public WSBinding getBinding()
getContainer
public Container getContainer()
getEndpointClass
public Class getEndpointClass()
Copyright (c) 1997-2011 Oracle and/or its affiliates. All rights reserved.