com.sun.xml.ws.api.model
Interface SEIModel

All Known Implementing Classes:
AbstractSEIModelImpl, SOAPSEIModel

public interface SEIModel

Represents abstraction of SEI.

This interface would be used to access which Java concepts correspond to which WSDL concepts, such as which wsdl:port corresponds to a SEI, or which wsdl:operation corresponds to JavaMethod.

It also retains information about the databinding done for a SEI; such as JAXBRIContext and Bridge.

This model is constructed only when there is a Java SEI. Therefore it's not available with Dispatch or Provider. Technologies that need to work regardless of such surface API difference shall not be using this model.


Method Summary
 QName getBoundPortTypeName()
          Gives the wsdl:binding@name value
 JavaMethod getJavaMethod(Method method)
          This method will be useful to get the JavaMethod corrrespondiong to a Method - such as on the client side.
 JavaMethod getJavaMethod(QName name)
          Gives a JavaMethod for a given QName.
 Collection<? extends JavaMethod> 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.
 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 getServiceQName()
          wsdl:service qualified name for the port associated with the {@link SEIModel)
 String getTargetNamespace()
          Namespace of the wsd;:port associated with the {@link SEIModel)
 String getWSDLLocation()
          Location of the WSDL that defines the port associated with the SEIModel
 

Method Detail

getMarshallerPool

Pool.Marshaller getMarshallerPool()

getJAXBContext

JAXBRIContext getJAXBContext()
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 the JavaMethod corrrespondiong to a Method - such as on the client side.

Parameters:
method - for which JavaMethod is asked for
Returns:
the JavaMethod representing the method

getJavaMethod

JavaMethod getJavaMethod(QName name)
Gives a 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.

Parameters:
name -
Returns:
the JavaMethod associated with the operation named name

getJavaMethods

Collection<? extends JavaMethod> getJavaMethods()
Gives all the JavaMethod for a wsdl:port for which this SEIModel is created.

Returns:
a Collection of JavaMethod associated with the SEIModel

getWSDLLocation

@NotNull
String getWSDLLocation()
Location of the WSDL that defines the port associated with the SEIModel

Returns:
wsdl location uri - always non-null

getServiceQName

@NotNull
QName getServiceQName()
wsdl:service qualified name for the port associated with the {@link SEIModel)

Returns:
wsdl:service@name value - always non-null

getPort

@NotNull
WSDLPort getPort()
Gets the WSDLPort that represents the port that this SEI binds to.


getPortName

@NotNull
QName getPortName()
Value of the wsdl:port name associated with the {@link SEIModel)

Returns:
wsdl:service/wsdl:port@name value, always non-null

getPortTypeName

@NotNull
QName getPortTypeName()
Value of wsdl:portType bound to the port associated with the {@link SEIModel)

Returns:

getBoundPortTypeName

@NotNull
QName getBoundPortTypeName()
Gives the wsdl:binding@name value


getTargetNamespace

@NotNull
String getTargetNamespace()
Namespace of the wsd;:port associated with the {@link SEIModel)