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 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
void addJavaMethod(JavaMethodImpl jm)
void put(QName name, JavaMethodImpl jm)
void put(Method method, JavaMethodImpl jm)
void putOp(QName opName, JavaMethodImpl jm)
public String getWSDLLocation()
SEIModel
SEIModel
getWSDLLocation
in interface SEIModel
void setWSDLLocation(String location)
public QName getServiceQName()
SEIModel
getServiceQName
in interface SEIModel
public WSDLPort getPort()
SEIModel
WSDLPort
that represents the port that this SEI binds to.public QName getPortName()
SEIModel
getPortName
in interface SEIModel
public QName getPortTypeName()
SEIModel
getPortTypeName
in interface SEIModel
void setServiceQName(QName name)
void setPortName(QName name)
void setPortTypeName(QName name)
void setTargetNamespace(String namespace)
public String getTargetNamespace()
getTargetNamespace
in interface SEIModel
String getDefaultSchemaNamespace()
@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 (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.