|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServiceDescription
A ServiceDescription corresponds to a Service under which there can be a collection of enpdoints. In WSDL 1.1 terms, then, a ServiceDescription corresponds to a wsdl:Service under which there are one or more wsdl:Port entries. The ServiceDescription is the root of the metdata abstraction Description hierachy.
The Description hierachy is:
ServiceDescription
EndpointDescription[]
EndpointInterfaceDescription
OperationDescription[]
ParameterDescription[]
FaultDescription[]
ServiceDescription details
CORRESPONDS TO:
On the Client: The JAX-WS Service class or generated subclass.
On the Server: The Service implementation. Note that there is a 1..1
correspondence between a ServiceDescription and EndpointDescription
on the server side.
AXIS2 DELEGATE: None
CHILDREN: 1..n EndpointDescription
ANNOTATIONS:
None
WSDL ELEMENTS:
service
| Method Summary | |
|---|---|
ConfigurationContext |
getAxisConfigContext()
|
java.util.Map<java.lang.String,java.lang.Object> |
getBindingProperties(java.lang.Object serviceDelegateKey,
java.lang.String key)
This method is responsible for querying the metadata for properties associated with a given BindingProvider instance. |
JAXWSCatalogManager |
getCatalogManager()
|
EndpointDescription[] |
getEndpointDescription(java.lang.Class seiClass)
Return the EndpointDescriptions corresponding to the SEI class. |
EndpointDescription |
getEndpointDescription(javax.xml.namespace.QName portQName)
|
EndpointDescription |
getEndpointDescription(javax.xml.namespace.QName portQName,
java.lang.Object serviceDelegateKey)
|
java.util.Collection<EndpointDescription> |
getEndpointDescriptions_AsCollection()
|
EndpointDescription[] |
getEndpointDescriptions()
|
HandlerChainsType |
getHandlerChain()
Return the handler chain configuration information as a HandlerChainsType object. |
HandlerChainsType |
getHandlerChain(java.lang.Object serviceDelegateKey)
Return the handler chain configuration information as a HandlerChainsType object. |
java.util.List<javax.xml.namespace.QName> |
getPorts(java.lang.Object serviceDelegateKey)
Returns a list of the ports for this serivce. |
javax.xml.namespace.QName |
getPreferredPort(java.lang.Object key)
|
ResolvedHandlersDescription |
getResolvedHandlersDescription(javax.xml.ws.handler.PortInfo portInfo)
Answer information for resolved handlers for the given port. |
ServiceClient |
getServiceClient(javax.xml.namespace.QName portQName,
java.lang.Object serviceDelegateKey)
|
javax.xml.namespace.QName |
getServiceQName()
|
ServiceRuntimeDescription |
getServiceRuntimeDesc(java.lang.String name)
|
boolean |
isMTOMEnabled(java.lang.Object key)
Answer if MTOM is enabled for the service represented by this Service Description. |
boolean |
isMTOMEnabled(java.lang.Object key,
java.lang.Class seiClass)
Answer if MTOM is enabled for the service represented by this Service Description and the service-endpoint-interface indicated. |
boolean |
isServerSide()
|
void |
releaseResources(java.lang.Object delegate)
Check into releasing resources related to this ServiceDescription. |
void |
setResolvedHandlersDescription(javax.xml.ws.handler.PortInfo portInfo,
ResolvedHandlersDescription resolvedHandlersInfo)
Cache information for handlers which have been resolved for this port. |
void |
setServiceRuntimeDesc(ServiceRuntimeDescription ord)
|
| Method Detail |
|---|
EndpointDescription[] getEndpointDescriptions()
java.util.Collection<EndpointDescription> getEndpointDescriptions_AsCollection()
EndpointDescription getEndpointDescription(javax.xml.namespace.QName portQName)
EndpointDescription getEndpointDescription(javax.xml.namespace.QName portQName,
java.lang.Object serviceDelegateKey)
EndpointDescription[] getEndpointDescription(java.lang.Class seiClass)
seiClass -
ConfigurationContext getAxisConfigContext()
ServiceClient getServiceClient(javax.xml.namespace.QName portQName,
java.lang.Object serviceDelegateKey)
javax.xml.namespace.QName getServiceQName()
HandlerChainsType getHandlerChain(java.lang.Object serviceDelegateKey)
serviceDelegateKey - May be null. If non-null, used to look for service-delegate
specific sparse composite information.
HandlerChainsType getHandlerChain()
getHandlerChain(Object)java.util.List<javax.xml.namespace.QName> getPorts(java.lang.Object serviceDelegateKey)
serviceDelegateKey - This should always be non-null when called via ServiceDelegate and is
used to help retrieve dynamic ports per client
ServiceRuntimeDescription getServiceRuntimeDesc(java.lang.String name)
void setServiceRuntimeDesc(ServiceRuntimeDescription ord)
boolean isServerSide()
boolean isMTOMEnabled(java.lang.Object key)
key - If non-null, used to look up any sparse metadata that may have been specified
when the service was created.
boolean isMTOMEnabled(java.lang.Object key,
java.lang.Class seiClass)
key - If non-null, used to look up any sparse metadata that may have been specified
when the service was created.seiClass - Represents client service-endpoint-interface class.
javax.xml.namespace.QName getPreferredPort(java.lang.Object key)
JAXWSCatalogManager getCatalogManager()
ResolvedHandlersDescription getResolvedHandlersDescription(javax.xml.ws.handler.PortInfo portInfo)
portInfo - Port for which the handler information is desired
void setResolvedHandlersDescription(javax.xml.ws.handler.PortInfo portInfo,
ResolvedHandlersDescription resolvedHandlersInfo)
portInfo - Port for which the handler information should be cachedresolvedHandlersInfo - An object containing information for the resolved handlersvoid releaseResources(java.lang.Object delegate)
delegate - The ServiceDelegate instance that owns this ServiceDescription.
java.util.Map<java.lang.String,java.lang.Object> getBindingProperties(java.lang.Object serviceDelegateKey,
java.lang.String key)
serviceDelegateKey - This should always be non-null when called via ServiceDelegate and is
used to help retrieve dynamic ports per clientkey - This should always be non-null and is used to retrieve properties for a given
client-side port
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||