|
||||||||||
| 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 SEIModelpublic JAXBRIContext getJAXBContext()
SEIModel
getJAXBContext in interface SEIModelJAXBRIContextpublic List<String> getKnownNamespaceURIs()
public final Bridge getBridge(TypeReference type)
Bridge for the typepublic 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 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 for
JavaMethod 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 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)
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()
SEIModelSEIModel
getWSDLLocation in interface SEIModelvoid setWSDLLocation(String location)
public QName getServiceQName()
SEIModel
getServiceQName in interface SEIModelpublic WSDLPort getPort()
SEIModelWSDLPort that represents the port that this SEI binds to.
getPort in interface SEIModelpublic QName getPortName()
SEIModel
getPortName in interface SEIModelpublic QName getPortTypeName()
SEIModel
getPortTypeName in interface SEIModelvoid 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 SEIModelpublic 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 | |||||||||