|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.ws.model.AbstractSEIModelImpl
public abstract class AbstractSEIModelImpl
model of the web service. Used by the runtime marshall/unmarshall web service invocations
Field Summary | |
---|---|
protected BindingContext |
bindingContext
|
protected java.lang.ClassLoader |
classLoader
|
protected java.lang.Class |
contractClass
|
protected BindingInfo |
databindingInfo
|
protected java.lang.String |
defaultSchemaNamespaceSuffix
|
protected javax.xml.namespace.QName |
emptyBodyName
|
protected java.lang.Class |
endpointClass
|
protected com.sun.xml.bind.api.JAXBRIContext |
jaxbContext
Deprecated. |
protected WSBinding |
wsBinding
|
Constructor Summary | |
---|---|
protected |
AbstractSEIModelImpl(WebServiceFeatureList features)
|
Method Summary | |
---|---|
void |
addAdditionalClasses(java.lang.Class... additionalClasses)
Adds additional classes obtained from XmlSeeAlso annotation. |
void |
freeze(WSDLPort port)
Link SEIModel to WSDLModel . |
BindingContext |
getBindingContext()
|
javax.xml.namespace.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 |
java.lang.Class |
getContractClass()
|
Databinding |
getDatabinding()
|
java.lang.Class |
getEndpointClass()
|
JavaMethodImpl |
getJavaMethod(java.lang.reflect.Method method)
This method will be useful to get the JavaMethod corrrespondiong to
a Method - such as on the client side. |
JavaMethodImpl |
getJavaMethod(javax.xml.namespace.QName name)
Gives a JavaMethod for a given QName . |
JavaMethod |
getJavaMethodForWsdlOperation(javax.xml.namespace.QName operationName)
Gives the JavaMethod associated with the wsdl operation |
java.util.Collection<JavaMethodImpl> |
getJavaMethods()
Gives all the JavaMethod for a wsdl:port for which this SEIModel is
created. |
javax.xml.bind.JAXBContext |
getJAXBContext()
Deprecated. |
java.util.List<java.lang.String> |
getKnownNamespaceURIs()
|
Pool.Marshaller |
getMarshallerPool()
|
WSDLPort |
getPort()
Gets the WSDLPort that represents the port that this SEI binds to. |
javax.xml.namespace.QName |
getPortName()
Value of the wsdl:port name associated with the SEIModel |
javax.xml.namespace.QName |
getPortTypeName()
Value of wsdl:portType bound to the port associated with the SEIModel |
javax.xml.namespace.QName |
getQNameForJM(JavaMethodImpl jm)
Deprecated. Use JavaMethod.getOperationName() . |
javax.xml.namespace.QName |
getServiceQName()
wsdl:service qualified name for the port associated with the SEIModel |
java.lang.String |
getTargetNamespace()
This is the targetNamespace for the WSDL containing the PortType definition |
WSBinding |
getWSBinding()
|
java.lang.String |
getWSDLLocation()
Location of the WSDL that defines the port associated with the SEIModel |
XMLBridge |
getXMLBridge(TypeInfo type)
|
boolean |
isCheckedException(java.lang.reflect.Method m,
java.lang.Class ex)
|
boolean |
isKnownFault(javax.xml.namespace.QName name,
java.lang.reflect.Method method)
|
protected abstract void |
populateMaps()
Populate methodToJM and nameToJM maps. |
void |
setDatabinding(Databinding wsRuntime)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected com.sun.xml.bind.api.JAXBRIContext jaxbContext
protected BindingContext bindingContext
protected final javax.xml.namespace.QName emptyBodyName
protected java.lang.Class contractClass
protected java.lang.Class endpointClass
protected java.lang.ClassLoader classLoader
protected WSBinding wsBinding
protected BindingInfo databindingInfo
protected java.lang.String defaultSchemaNamespaceSuffix
Constructor Detail |
---|
protected AbstractSEIModelImpl(WebServiceFeatureList features)
Method Detail |
---|
public void freeze(WSDLPort port)
SEIModel
to WSDLModel
.
Merge it with postProcess()
.
protected abstract void populateMaps()
public Pool.Marshaller getMarshallerPool()
getMarshallerPool
in interface SEIModel
public javax.xml.bind.JAXBContext getJAXBContext()
SEIModel
getJAXBContext
in interface SEIModel
JAXBRIContext
public BindingContext getBindingContext()
public java.util.List<java.lang.String> getKnownNamespaceURIs()
public final com.sun.xml.bind.api.Bridge getBridge(com.sun.xml.bind.api.TypeReference type)
Bridge
for the type
public final XMLBridge getXMLBridge(TypeInfo type)
public boolean isKnownFault(javax.xml.namespace.QName name, java.lang.reflect.Method method)
name
is the name
of a known fault name for the Method method
public boolean isCheckedException(java.lang.reflect.Method m, java.lang.Class ex)
ex
is a Checked Exception
for Method m
public JavaMethodImpl getJavaMethod(java.lang.reflect.Method method)
SEIModel
JavaMethod
corrrespondiong to
a Method
- such as on the client side.
getJavaMethod
in interface SEIModel
method
- for which JavaMethod
is asked for
JavaMethod
representing the method
public JavaMethodImpl getJavaMethod(javax.xml.namespace.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(javax.xml.namespace.QName operationName)
SEIModel
getJavaMethodForWsdlOperation
in interface SEIModel
operationName
- QName of the wsdl operation
public javax.xml.namespace.QName getQNameForJM(JavaMethodImpl jm)
JavaMethod.getOperationName()
.
QName
associated with the
JavaMethod jm.public final java.util.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 java.lang.String getWSDLLocation()
SEIModel
SEIModel
getWSDLLocation
in interface SEIModel
public javax.xml.namespace.QName getServiceQName()
SEIModel
SEIModel
getServiceQName
in interface SEIModel
public WSDLPort getPort()
SEIModel
WSDLPort
that represents the port that this SEI binds to.
getPort
in interface SEIModel
public javax.xml.namespace.QName getPortName()
SEIModel
SEIModel
getPortName
in interface SEIModel
public javax.xml.namespace.QName getPortTypeName()
SEIModel
SEIModel
getPortTypeName
in interface SEIModel
public java.lang.String getTargetNamespace()
getTargetNamespace
in interface SEIModel
@NotNull public javax.xml.namespace.QName getBoundPortTypeName()
SEIModel
getBoundPortTypeName
in interface SEIModel
public void addAdditionalClasses(java.lang.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 java.lang.Class getContractClass()
public java.lang.Class getEndpointClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |