public abstract class AbstractSEIModelImpl extends Object implements SEIModel
Modifier and Type | Field and Description |
---|---|
protected BindingContext |
bindingContext |
protected ClassLoader |
classLoader |
protected Class |
contractClass |
protected BindingInfo |
databindingInfo |
protected String |
defaultSchemaNamespaceSuffix |
protected QName |
emptyBodyName |
protected Class |
endpointClass |
protected com.sun.xml.bind.api.JAXBRIContext |
jaxbContext
Deprecated.
|
protected WSBinding |
wsBinding |
Modifier | Constructor and Description |
---|---|
protected |
AbstractSEIModelImpl(WebServiceFeatureList features) |
Modifier and Type | Method and Description |
---|---|
void |
addAdditionalClasses(Class... additionalClasses)
Adds additional classes obtained from
XmlSeeAlso annotation. |
BindingInfo |
databindingInfo() |
void |
freeze(WSDLPort port)
|
BindingContext |
getBindingContext() |
QName |
getBoundPortTypeName()
Gives the wsdl:binding@name value
|
com.sun.xml.bind.api.Bridge |
getBridge(com.sun.xml.bind.api.TypeReference type)
Deprecated.
use getBond
|
Class |
getContractClass() |
Databinding |
getDatabinding() |
Class |
getEndpointClass() |
JavaMethodImpl |
getJavaMethod(Method method)
This method will be useful to get the
JavaMethod corrrespondiong to
a Method - such as on the client side. |
JavaMethodImpl |
getJavaMethod(QName name)
Gives a
JavaMethod for a given QName . |
JavaMethod |
getJavaMethodForWsdlOperation(QName operationName)
Gives the JavaMethod associated with the wsdl operation
|
Collection<JavaMethodImpl> |
getJavaMethods()
Gives all the
JavaMethod for a wsdl:port for which this SEIModel is
created. |
JAXBContext |
getJAXBContext()
Deprecated.
|
List<String> |
getKnownNamespaceURIs() |
Pool.Marshaller |
getMarshallerPool() |
WSDLPort |
getPort()
Gets the
WSDLPort that represents the port that this SEI binds to. |
QName |
getPortName()
Value of the wsdl:port name associated with the
SEIModel |
QName |
getPortTypeName()
Value of wsdl:portType bound to the port associated with the
SEIModel |
QName |
getQNameForJM(JavaMethodImpl jm)
Deprecated.
|
QName |
getServiceQName()
wsdl:service qualified name for the port associated with the
SEIModel |
String |
getTargetNamespace()
This is the targetNamespace for the WSDL containing the PortType
definition
|
WSBinding |
getWSBinding() |
String |
getWSDLLocation()
Location of the WSDL that defines the port associated with the
SEIModel |
XMLBridge |
getXMLBridge(TypeInfo type) |
boolean |
isCheckedException(Method m,
Class ex) |
boolean |
isKnownFault(QName name,
Method method) |
protected abstract void |
populateMaps()
Populate methodToJM and nameToJM maps.
|
void |
setDatabinding(Databinding wsRuntime) |
protected com.sun.xml.bind.api.JAXBRIContext jaxbContext
protected BindingContext bindingContext
protected final QName emptyBodyName
protected Class contractClass
protected Class endpointClass
protected ClassLoader classLoader
protected WSBinding wsBinding
protected BindingInfo databindingInfo
protected String defaultSchemaNamespaceSuffix
protected AbstractSEIModelImpl(WebServiceFeatureList features)
public BindingInfo databindingInfo()
public void freeze(WSDLPort port)
protected abstract void populateMaps()
public Pool.Marshaller getMarshallerPool()
getMarshallerPool
in interface SEIModel
public JAXBContext getJAXBContext()
SEIModel
getJAXBContext
in interface SEIModel
JAXBRIContext
public BindingContext getBindingContext()
public List<String> getKnownNamespaceURIs()
public final com.sun.xml.bind.api.Bridge getBridge(com.sun.xml.bind.api.TypeReference type)
Bridge
for the type
public boolean isKnownFault(QName name, Method method)
name
is the name
of a known fault name for the Method method
public boolean isCheckedException(Method m, Class ex)
ex
is a Checked Exception
for Method m
public JavaMethodImpl getJavaMethod(Method method)
SEIModel
JavaMethod
corrrespondiong to
a Method
- such as on the client side.getJavaMethod
in interface SEIModel
method
- for which JavaMethod
is asked forJavaMethod
representing the method
public JavaMethodImpl getJavaMethod(QName name)
SEIModel
JavaMethod
for a given QName
. The QName
will
be equivalent to the SOAP Body or Header block or can simply be the name of an
infoset that corresponds to the payload.getJavaMethod
in interface SEIModel
JavaMethod
associated with the
operation named namepublic JavaMethod getJavaMethodForWsdlOperation(QName operationName)
SEIModel
getJavaMethodForWsdlOperation
in interface SEIModel
operationName
- QName of the wsdl operationpublic QName getQNameForJM(JavaMethodImpl jm)
JavaMethod.getOperationName()
.QName
associated with the
JavaMethod jm.public final Collection<JavaMethodImpl> getJavaMethods()
SEIModel
JavaMethod
for a wsdl:port for which this SEIModel
is
created.getJavaMethods
in interface SEIModel
Collection
of JavaMethods
associated with this RuntimeModel
public String getWSDLLocation()
SEIModel
SEIModel
getWSDLLocation
in interface SEIModel
public QName getServiceQName()
SEIModel
SEIModel
getServiceQName
in interface SEIModel
public WSDLPort getPort()
SEIModel
WSDLPort
that represents the port that this SEI binds to.public QName getPortName()
SEIModel
SEIModel
getPortName
in interface SEIModel
public QName getPortTypeName()
SEIModel
SEIModel
getPortTypeName
in interface SEIModel
public String getTargetNamespace()
getTargetNamespace
in interface SEIModel
@NotNull public QName getBoundPortTypeName()
SEIModel
getBoundPortTypeName
in interface SEIModel
public void addAdditionalClasses(Class... additionalClasses)
XmlSeeAlso
annotation. In starting
from wsdl case these classes would most likely be JAXB ObjectFactory that references other classes.public Databinding getDatabinding()
public void setDatabinding(Databinding wsRuntime)
public WSBinding getWSBinding()
public Class getContractClass()
public Class getEndpointClass()
Copyright © 2015 Oracle Corporation. All rights reserved.