Package com.sun.xml.ws.model
Class AbstractSEIModelImpl
java.lang.Object
com.sun.xml.ws.model.AbstractSEIModelImpl
- All Implemented Interfaces:
SEIModel
- Direct Known Subclasses:
SOAPSEIModel
model of the web service. Used by the runtime marshall/unmarshall
web service invocations
- Author:
- JAXWS Development Team
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BindingContextprotected ClassLoaderprotected Classprotected BindingInfoprotected Stringprotected final QNameprotected Classprotected com.sun.xml.bind.api.JAXBRIContextDeprecated.protected WSBinding -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAdditionalClasses(Class... additionalClasses) Adds additional classes obtained fromXmlSeeAlsoannotation.voidGives the wsdl:binding@name valuefinal com.sun.xml.bind.api.BridgegetBridge(com.sun.xml.bind.api.TypeReference type) Deprecated.use getBondgetJavaMethod(Method method) This method will be useful to get theJavaMethodcorrrespondiong to aMethod- such as on the client side.getJavaMethod(QName name) Gives aJavaMethodfor a givenQName.getJavaMethodForWsdlOperation(QName operationName) Gives the JavaMethod associated with the wsdl operationfinal Collection<JavaMethodImpl>Gives all theJavaMethodfor a wsdl:port for which thisSEIModelis created.javax.xml.bind.JAXBContextDeprecated.getPort()Gets theWSDLPortthat represents the port that this SEI binds to.Value of the wsdl:port name associated with theSEIModelValue of wsdl:portType bound to the port associated with theSEIModelDeprecated.wsdl:service qualified name for the port associated with theSEIModelThis is the targetNamespace for the WSDL containing the PortType definitionLocation of the WSDL that defines the port associated with theSEIModelfinal XMLBridgegetXMLBridge(TypeInfo type) booleanisCheckedException(Method m, Class ex) booleanisKnownFault(QName name, Method method) protected abstract voidPopulate methodToJM and nameToJM maps.voidsetDatabinding(Databinding wsRuntime)
-
Field Details
-
jaxbContext
protected com.sun.xml.bind.api.JAXBRIContext jaxbContextDeprecated. -
bindingContext
-
emptyBodyName
-
contractClass
-
endpointClass
-
classLoader
-
wsBinding
-
databindingInfo
-
defaultSchemaNamespaceSuffix
-
-
Constructor Details
-
AbstractSEIModelImpl
-
-
Method Details
-
databindingInfo
-
freeze
-
populateMaps
protected abstract void populateMaps()Populate methodToJM and nameToJM maps. -
getMarshallerPool
- Specified by:
getMarshallerPoolin interfaceSEIModel
-
getJAXBContext
Deprecated.Description copied from interface:SEIModelJAXBContext that will be used to marshall/unmarshall the java classes found in the SEI.- Specified by:
getJAXBContextin interfaceSEIModel- Returns:
- the
JAXBRIContext
-
getBindingContext
-
getKnownNamespaceURIs
- Returns:
- the known namespaces from JAXBRIContext
-
getBridge
public final com.sun.xml.bind.api.Bridge getBridge(com.sun.xml.bind.api.TypeReference type) Deprecated.use getBond- Returns:
- the
Bridgefor thetype
-
getXMLBridge
-
isKnownFault
- Returns:
- true if
nameis the name of a known fault name for theMethod method
-
isCheckedException
- Returns:
- true if
exis a Checked Exception forMethod m
-
getJavaMethod
Description copied from interface:SEIModelThis method will be useful to get theJavaMethodcorrrespondiong to aMethod- such as on the client side.- Specified by:
getJavaMethodin interfaceSEIModel- Parameters:
method- for whichJavaMethodis asked for- Returns:
- the
JavaMethodrepresenting themethod
-
getJavaMethod
Description copied from interface:SEIModelGives 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.- Specified by:
getJavaMethodin interfaceSEIModel- Returns:
- the
JavaMethodassociated with the operation named name
-
getJavaMethodForWsdlOperation
Description copied from interface:SEIModelGives the JavaMethod associated with the wsdl operation- Specified by:
getJavaMethodForWsdlOperationin interfaceSEIModel- Parameters:
operationName- QName of the wsdl operation- Returns:
-
getQNameForJM
Deprecated.- Returns:
- the
QNameassociated with the JavaMethod jm.
-
getJavaMethods
Description copied from interface:SEIModelGives all theJavaMethodfor a wsdl:port for which thisSEIModelis created.- Specified by:
getJavaMethodsin interfaceSEIModel- Returns:
- a
CollectionofJavaMethodsassociated with thisRuntimeModel
-
getWSDLLocation
Description copied from interface:SEIModelLocation of the WSDL that defines the port associated with theSEIModel- Specified by:
getWSDLLocationin interfaceSEIModel- Returns:
- wsdl location uri - always non-null
-
getServiceQName
Description copied from interface:SEIModelwsdl:service qualified name for the port associated with theSEIModel- Specified by:
getServiceQNamein interfaceSEIModel- Returns:
- wsdl:service@name value - always non-null
-
getPort
Description copied from interface:SEIModelGets theWSDLPortthat represents the port that this SEI binds to. -
getPortName
Description copied from interface:SEIModelValue of the wsdl:port name associated with theSEIModel- Specified by:
getPortNamein interfaceSEIModel- Returns:
- wsdl:service/wsdl:port@name value, always non-null
-
getPortTypeName
Description copied from interface:SEIModelValue of wsdl:portType bound to the port associated with theSEIModel- Specified by:
getPortTypeNamein interfaceSEIModel- Returns:
-
getTargetNamespace
This is the targetNamespace for the WSDL containing the PortType definition- Specified by:
getTargetNamespacein interfaceSEIModel
-
getBoundPortTypeName
Description copied from interface:SEIModelGives the wsdl:binding@name value- Specified by:
getBoundPortTypeNamein interfaceSEIModel
-
addAdditionalClasses
Adds additional classes obtained fromXmlSeeAlsoannotation. In starting from wsdl case these classes would most likely be JAXB ObjectFactory that references other classes. -
getDatabinding
-
setDatabinding
-
getWSBinding
-
getContractClass
-
getEndpointClass
-