|
||||||||||
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 $author: JAXWS Development Team
Field Summary | |
---|---|
protected QName |
emptyBodyName
|
protected JAXBRIContext |
jaxbContext
|
Constructor Summary | |
---|---|
AbstractSEIModelImpl()
|
Method Summary | |
---|---|
void |
addAdditionalClasses(Class... additionalClasses)
Adds additional classes obtained from XmlSeeAlso annotation. |
(package private) void |
addJavaMethod(JavaMethodImpl jm)
|
void |
applyParameterBinding(WSDLBoundPortTypeImpl wsdlBinding)
Deprecated. To be removed once client side new architecture is implemented |
void |
freeze(WSDLPortImpl port)
Link SEIModel to WSDLModel . |
QName |
getBoundPortTypeName()
Gives the wsdl:binding@name value |
Bridge |
getBridge(TypeReference type)
|
Method |
getDispatchMethod(QName qname)
|
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 . |
Collection<JavaMethodImpl> |
getJavaMethods()
Gives all the JavaMethod for a wsdl:port for which this SEIModel is
created. |
JAXBRIContext |
getJAXBContext()
JAXBContext that will be used to marshall/unmarshall the java classes found in the SEI. |
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. Use JavaMethod.getOperationName() . |
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 |
String |
getWSDLLocation()
Location of the WSDL that defines the port associated with the SEIModel |
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 |
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected JAXBRIContext jaxbContext
protected final QName emptyBodyName
Constructor Detail |
---|
public AbstractSEIModelImpl()
Method Detail |
---|
void postProcess()
public void freeze(WSDLPortImpl port)
SEIModel
to WSDLModel
.
Merge it with postProcess()
.
protected abstract void populateMaps()
public Pool.Marshaller getMarshallerPool()
getMarshallerPool
in interface SEIModel
public JAXBRIContext getJAXBContext()
SEIModel
getJAXBContext
in interface SEIModel
JAXBRIContext
public List<String> getKnownNamespaceURIs()
public final Bridge getBridge(TypeReference type)
Bridge
for the type
public Method getDispatchMethod(QName qname)
Method
for a given WSDLOperation qname
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 for
JavaMethod
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 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)
public void applyParameterBinding(WSDLBoundPortTypeImpl wsdlBinding)
WSServiceDelegate
to apply the binding information from WSDL after the model is created frm SEI class on the client side. On the server
side all the binding information is available before modeling and this method is not used.
void put(QName name, JavaMethodImpl jm)
void put(Method method, 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.
getPort
in interface SEIModel
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
@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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |