public abstract class AbstractSEIModelImpl extends Object implements SEIModel
| Modifier and Type | Field and Description |
|---|---|
protected BindingContext |
bindingContext |
(package private) BindingID |
bindingId |
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. |
(package private) void |
addJavaMethod(JavaMethodImpl jm) |
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() |
(package private) String |
getDefaultSchemaNamespace() |
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 {@link SEIModel)
|
QName |
getPortTypeName()
Value of wsdl:portType bound to the port associated with the {@link SEIModel)
|
QName |
getQNameForJM(JavaMethodImpl jm)
Deprecated.
|
QName |
getServiceQName()
wsdl:service qualified name for the port associated with the {@link 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.
|
(package private) void |
postProcess() |
(package private) void |
put(Method method,
JavaMethodImpl jm) |
(package private) void |
put(QName name,
JavaMethodImpl jm) |
(package private) void |
putOp(QName opName,
JavaMethodImpl jm) |
void |
setDatabinding(Databinding wsRuntime) |
(package private) void |
setPortName(QName name) |
(package private) void |
setPortTypeName(QName name) |
(package private) void |
setServiceQName(QName name) |
(package private) void |
setTargetNamespace(String namespace)
This is the targetNamespace for the WSDL containing the PortType
definition
|
(package private) void |
setWSDLLocation(String location) |
protected com.sun.xml.bind.api.JAXBRIContext jaxbContext
protected BindingContext bindingContext
protected final QName emptyBodyName
BindingID bindingId
protected Class contractClass
protected Class endpointClass
protected ClassLoader classLoader
protected WSBinding wsBinding
protected BindingInfo databindingInfo
protected String defaultSchemaNamespaceSuffix
protected AbstractSEIModelImpl(WebServiceFeatureList features)
void postProcess()
public void freeze(WSDLPort port)
protected abstract void populateMaps()
public Pool.Marshaller getMarshallerPool()
getMarshallerPool in interface SEIModelpublic JAXBContext getJAXBContext()
SEIModelgetJAXBContext in interface SEIModelJAXBRIContextpublic 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 typepublic boolean isKnownFault(QName name, Method method)
name is the name
of a known fault name for the Method methodpublic boolean isCheckedException(Method m, Class ex)
ex is a Checked Exception
for Method mpublic JavaMethodImpl getJavaMethod(Method method)
SEIModelJavaMethod corrrespondiong to
a Method - such as on the client side.getJavaMethod in interface SEIModelmethod - for which JavaMethod is asked forJavaMethod representing the methodpublic JavaMethodImpl getJavaMethod(QName name)
SEIModelJavaMethod 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 SEIModelJavaMethod associated with the
operation named namepublic JavaMethod getJavaMethodForWsdlOperation(QName operationName)
SEIModelgetJavaMethodForWsdlOperation in interface SEIModeloperationName - QName of the wsdl operationpublic QName getQNameForJM(JavaMethodImpl jm)
JavaMethod.getOperationName().QName associated with the
JavaMethod jm.public final Collection<JavaMethodImpl> getJavaMethods()
SEIModelJavaMethod for a wsdl:port for which this SEIModel is
created.getJavaMethods in interface SEIModelCollection of JavaMethods
associated with this RuntimeModelvoid addJavaMethod(JavaMethodImpl jm)
void put(QName name, JavaMethodImpl jm)
void put(Method method, JavaMethodImpl jm)
void putOp(QName opName, JavaMethodImpl jm)
public String getWSDLLocation()
SEIModelSEIModelgetWSDLLocation in interface SEIModelvoid setWSDLLocation(String location)
public QName getServiceQName()
SEIModelgetServiceQName in interface SEIModelpublic WSDLPort getPort()
SEIModelWSDLPort that represents the port that this SEI binds to.public QName getPortName()
SEIModelgetPortName in interface SEIModelpublic QName getPortTypeName()
SEIModelgetPortTypeName in interface SEIModelvoid setServiceQName(QName name)
void setPortName(QName name)
void setPortTypeName(QName name)
void setTargetNamespace(String namespace)
public String getTargetNamespace()
getTargetNamespace in interface SEIModelString getDefaultSchemaNamespace()
@NotNull public QName getBoundPortTypeName()
SEIModelgetBoundPortTypeName in interface SEIModelpublic 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 (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.