public interface ServiceDescription
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
| Modifier and Type | Method and Description |
|---|---|
javax.xml.ws.soap.AddressingFeature.Responses |
getAddressingResponses(java.lang.Object serviceDelegateKey,
java.lang.Class seiClass)
Answer the type of Addressing responses required by the service-requester.
|
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.
|
int |
getMTOMThreshold(java.lang.Object serviceDelegateKey,
java.lang.Class seiClass)
Return the MTOM Threshold as set by the Client via a sparse composite (such as a client deployment
descriptor).
|
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 |
isAddressingConfigured(java.lang.Object serviceDelegateKey,
java.lang.Class seiClass)
Answer whether Addressing was explicitly configured via metadata (such as a deployment descriptor) on the
service-requester.
|
boolean |
isAddressingEnabled(java.lang.Object serviceDelegateKey,
java.lang.Class seiClass)
Answer whether Addressing is enabled on the service-requester.
|
boolean |
isAddressingRequired(java.lang.Object serviceDelegateKey,
java.lang.Class seiClass)
Answer whether Addressing is required on the service-requester.
|
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 |
isRespectBindingEnabled(java.lang.Object serviceDelegateKey,
java.lang.Class seiClass)
Return whether RespectBinding is enabled as set by the Client via a sparse composite (such as a client deployment
descriptor).
|
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) |
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 clientServiceRuntimeDescription 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 desiredvoid 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 portint getMTOMThreshold(java.lang.Object serviceDelegateKey,
java.lang.Class seiClass)
serviceDelegateKey - The instance of the service delegate related to this serviceseiClass - The SEI for the port to retrieve the MTOM threshold forboolean isRespectBindingEnabled(java.lang.Object serviceDelegateKey,
java.lang.Class seiClass)
serviceDelegateKey - The instance of the service delegate related to this serviceseiClass - The SEI for the port to retrieve the RespectBinding setting for.boolean isAddressingConfigured(java.lang.Object serviceDelegateKey,
java.lang.Class seiClass)
serviceDelegateKey - The instance of the service delegate related to this serviceseiClass - The SEI for the port to retrieve the setting for.isAddressingEnabled(Object, Class),
isAddressingRequired(Object, Class),
getAddressingResponses(Object, Class)boolean isAddressingEnabled(java.lang.Object serviceDelegateKey,
java.lang.Class seiClass)
serviceDelegateKey - The instance of the service delegate related to this serviceseiClass - The SEI for the port to retrieve the setting for.isAddressingConfigured(Object, Class)boolean isAddressingRequired(java.lang.Object serviceDelegateKey,
java.lang.Class seiClass)
serviceDelegateKey - The instance of the service delegate related to this serviceseiClass - The SEI for the port to retrieve the setting for.isAddressingConfigured(Object, Class)javax.xml.ws.soap.AddressingFeature.Responses getAddressingResponses(java.lang.Object serviceDelegateKey,
java.lang.Class seiClass)
serviceDelegateKey - The instance of the service delegate related to this serviceseiClass - The SEI for the port to retrieve the setting for.isAddressingConfigured(Object, Class)Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.