Class AbstractSEIModelImpl

  • All Implemented Interfaces:
    SEIModel
    Direct Known Subclasses:
    SOAPSEIModel

    public abstract class AbstractSEIModelImpl
    extends Object
    implements SEIModel
    model of the web service. Used by the runtime marshall/unmarshall web service invocations
    Author:
    JAXWS Development Team
    • Field Detail

      • emptyBodyName

        protected final QName emptyBodyName
      • contractClass

        protected Class contractClass
      • endpointClass

        protected Class endpointClass
      • databindingInfo

        protected BindingInfo databindingInfo
      • defaultSchemaNamespaceSuffix

        protected String defaultSchemaNamespaceSuffix
    • Method Detail

      • databindingInfo

        public BindingInfo databindingInfo()
      • populateMaps

        protected abstract void populateMaps()
        Populate methodToJM and nameToJM maps.
      • getJAXBContext

        @Deprecated
        public javax.xml.bind.JAXBContext getJAXBContext()
        Deprecated.
        Description copied from interface: SEIModel
        JAXBContext that will be used to marshall/unmarshall the java classes found in the SEI.
        Specified by:
        getJAXBContext in interface SEIModel
        Returns:
        the JAXBRIContext
      • getKnownNamespaceURIs

        public List<String> getKnownNamespaceURIs()
        Returns:
        the known namespaces from JAXBRIContext
      • getBridge

        public final Bridge getBridge​(TypeReference type)
        Deprecated.
        use getBond
        Returns:
        the Bridge for the type
      • isKnownFault

        public boolean isKnownFault​(QName name,
                                    Method method)
        Returns:
        true if name is the name of a known fault name for the Method method
      • isCheckedException

        public boolean isCheckedException​(Method m,
                                          Class ex)
        Returns:
        true if ex is a Checked Exception for Method m
      • getJavaMethod

        public JavaMethodImpl getJavaMethod​(Method method)
        Description copied from interface: SEIModel
        This method will be useful to get the JavaMethod corrrespondiong to a Method - such as on the client side.
        Specified by:
        getJavaMethod in interface SEIModel
        Parameters:
        method - for which JavaMethod is asked for
        Returns:
        the JavaMethod representing the method
      • getJavaMethod

        public JavaMethodImpl getJavaMethod​(QName name)
        Description copied from interface: SEIModel
        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.
        Specified by:
        getJavaMethod in interface SEIModel
        Returns:
        the JavaMethod associated with the operation named name
      • getJavaMethodForWsdlOperation

        public JavaMethod getJavaMethodForWsdlOperation​(QName operationName)
        Description copied from interface: SEIModel
        Gives the JavaMethod associated with the wsdl operation
        Specified by:
        getJavaMethodForWsdlOperation in interface SEIModel
        Parameters:
        operationName - QName of the wsdl operation
        Returns:
      • getWSDLLocation

        public String getWSDLLocation()
        Description copied from interface: SEIModel
        Location of the WSDL that defines the port associated with the SEIModel
        Specified by:
        getWSDLLocation in interface SEIModel
        Returns:
        wsdl location uri - always non-null
      • getServiceQName

        public QName getServiceQName()
        Description copied from interface: SEIModel
        wsdl:service qualified name for the port associated with the SEIModel
        Specified by:
        getServiceQName in interface SEIModel
        Returns:
        wsdl:service@name value - always non-null
      • getPort

        public WSDLPort getPort()
        Description copied from interface: SEIModel
        Gets the WSDLPort that represents the port that this SEI binds to.
        Specified by:
        getPort in interface SEIModel
      • getPortName

        public QName getPortName()
        Description copied from interface: SEIModel
        Value of the wsdl:port name associated with the SEIModel
        Specified by:
        getPortName in interface SEIModel
        Returns:
        wsdl:service/wsdl:port@name value, always non-null
      • getPortTypeName

        public QName getPortTypeName()
        Description copied from interface: SEIModel
        Value of wsdl:portType bound to the port associated with the SEIModel
        Specified by:
        getPortTypeName in interface SEIModel
        Returns:
      • getTargetNamespace

        public String getTargetNamespace()
        This is the targetNamespace for the WSDL containing the PortType definition
        Specified by:
        getTargetNamespace in interface SEIModel
      • addAdditionalClasses

        public void addAdditionalClasses​(Class... additionalClasses)
        Adds additional classes obtained from XmlSeeAlso annotation. In starting from wsdl case these classes would most likely be JAXB ObjectFactory that references other classes.
      • setDatabinding

        public void setDatabinding​(Databinding wsRuntime)
      • getWSBinding

        public WSBinding getWSBinding()
      • getContractClass

        public Class getContractClass()
      • getEndpointClass

        public Class getEndpointClass()