Package com.sun.xml.ws.api.model
Interface SEIModel
-
- All Known Implementing Classes:
AbstractSEIModelImpl,SOAPSEIModel
public interface SEIModelRepresents abstraction of SEI.This interface would be used to access which Java concepts correspond to which WSDL concepts, such as which
wsdl:portcorresponds to a SEI, or whichwsdl:operationcorresponds toJavaMethod.It also retains information about the databinding done for a SEI; such as
JAXBRIContextandBridge.This model is constructed only when there is a Java SEI. Therefore it's not available with
DispatchorProvider. Technologies that need to work regardless of such surface API difference shall not be using this model.- Author:
- Vivek Pandey
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description QNamegetBoundPortTypeName()Gives the wsdl:binding@name valueJavaMethodgetJavaMethod(Method method)This method will be useful to get theJavaMethodcorrrespondiong to aMethod- such as on the client side.JavaMethodgetJavaMethod(QName name)Gives aJavaMethodfor a givenQName.JavaMethodgetJavaMethodForWsdlOperation(QName operationName)Gives the JavaMethod associated with the wsdl operationCollection<? extends JavaMethod>getJavaMethods()Gives all theJavaMethodfor a wsdl:port for which thisSEIModelis created.javax.xml.bind.JAXBContextgetJAXBContext()Deprecated.Why do you need this?Pool.MarshallergetMarshallerPool()WSDLPortgetPort()Gets theWSDLPortthat represents the port that this SEI binds to.QNamegetPortName()Value of the wsdl:port name associated with theSEIModelQNamegetPortTypeName()Value of wsdl:portType bound to the port associated with theSEIModelQNamegetServiceQName()wsdl:service qualified name for the port associated with theSEIModelStringgetTargetNamespace()Namespace of the wsd;:port associated with theSEIModelStringgetWSDLLocation()Location of the WSDL that defines the port associated with theSEIModel
-
-
-
Method Detail
-
getMarshallerPool
Pool.Marshaller getMarshallerPool()
-
getJAXBContext
javax.xml.bind.JAXBContext getJAXBContext()
Deprecated.Why do you need this?JAXBContext that will be used to marshall/unmarshall the java classes found in the SEI.- Returns:
- the
JAXBRIContext
-
getJavaMethod
JavaMethod getJavaMethod(Method method)
This method will be useful to get theJavaMethodcorrrespondiong to aMethod- such as on the client side.- Parameters:
method- for whichJavaMethodis asked for- Returns:
- the
JavaMethodrepresenting themethod
-
getJavaMethod
JavaMethod getJavaMethod(QName name)
Gives aJavaMethodfor a givenQName. TheQNamewill be equivalent to the SOAP Body or Header block or can simply be the name of an infoset that corresponds to the payload.- Parameters:
name-- Returns:
- the
JavaMethodassociated with the operation named name
-
getJavaMethodForWsdlOperation
JavaMethod getJavaMethodForWsdlOperation(QName operationName)
Gives the JavaMethod associated with the wsdl operation- Parameters:
operationName- QName of the wsdl operation- Returns:
-
getJavaMethods
Collection<? extends JavaMethod> getJavaMethods()
Gives all theJavaMethodfor a wsdl:port for which thisSEIModelis created.- Returns:
- a
CollectionofJavaMethodassociated with theSEIModel
-
getWSDLLocation
@NotNull String getWSDLLocation()
Location of the WSDL that defines the port associated with theSEIModel- Returns:
- wsdl location uri - always non-null
-
getServiceQName
@NotNull QName getServiceQName()
wsdl:service qualified name for the port associated with theSEIModel- Returns:
- wsdl:service@name value - always non-null
-
getPort
@NotNull WSDLPort getPort()
Gets theWSDLPortthat represents the port that this SEI binds to.
-
getPortName
@NotNull QName getPortName()
Value of the wsdl:port name associated with theSEIModel- Returns:
- wsdl:service/wsdl:port@name value, always non-null
-
getPortTypeName
@NotNull QName getPortTypeName()
Value of wsdl:portType bound to the port associated with theSEIModel- Returns:
-
-