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(Object serviceDelegateKey,
Class seiClass)
Answer the type of Addressing responses required by the service-requester.
|
org.apache.axis2.context.ConfigurationContext |
getAxisConfigContext() |
Map<String,Object> |
getBindingProperties(Object serviceDelegateKey,
String key)
This method is responsible for querying the metadata for properties associated with
a given BindingProvider instance.
|
JAXWSCatalogManager |
getCatalogManager() |
EndpointDescription[] |
getEndpointDescription(Class seiClass)
Return the EndpointDescriptions corresponding to the SEI class.
|
EndpointDescription |
getEndpointDescription(QName portQName) |
EndpointDescription |
getEndpointDescription(QName portQName,
Object serviceDelegateKey) |
Collection<EndpointDescription> |
getEndpointDescriptions_AsCollection() |
EndpointDescription[] |
getEndpointDescriptions() |
HandlerChainsType |
getHandlerChain()
Return the handler chain configuration information as a HandlerChainsType object.
|
HandlerChainsType |
getHandlerChain(Object serviceDelegateKey)
Return the handler chain configuration information as a HandlerChainsType object.
|
int |
getMTOMThreshold(Object serviceDelegateKey,
Class seiClass)
Return the MTOM Threshold as set by the Client via a sparse composite (such as a client deployment
descriptor).
|
List<QName> |
getPorts(Object serviceDelegateKey)
Returns a list of the ports for this serivce.
|
QName |
getPreferredPort(Object key) |
ResolvedHandlersDescription |
getResolvedHandlersDescription(javax.xml.ws.handler.PortInfo portInfo)
Answer information for resolved handlers for the given port.
|
org.apache.axis2.client.ServiceClient |
getServiceClient(QName portQName,
Object serviceDelegateKey) |
QName |
getServiceQName() |
ServiceRuntimeDescription |
getServiceRuntimeDesc(String name) |
boolean |
isAddressingConfigured(Object serviceDelegateKey,
Class seiClass)
Answer whether Addressing was explicitly configured via metadata (such as a deployment descriptor) on the
service-requester.
|
boolean |
isAddressingEnabled(Object serviceDelegateKey,
Class seiClass)
Answer whether Addressing is enabled on the service-requester.
|
boolean |
isAddressingRequired(Object serviceDelegateKey,
Class seiClass)
Answer whether Addressing is required on the service-requester.
|
boolean |
isMTOMEnabled(Object key)
Answer if MTOM is enabled for the service represented by this Service Description.
|
boolean |
isMTOMEnabled(Object key,
Class seiClass)
Answer if MTOM is enabled for the service represented by this Service Description
and the service-endpoint-interface indicated.
|
boolean |
isRespectBindingEnabled(Object serviceDelegateKey,
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(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()
Collection<EndpointDescription> getEndpointDescriptions_AsCollection()
EndpointDescription getEndpointDescription(QName portQName)
EndpointDescription getEndpointDescription(QName portQName, Object serviceDelegateKey)
EndpointDescription[] getEndpointDescription(Class seiClass)
seiClass - org.apache.axis2.context.ConfigurationContext getAxisConfigContext()
org.apache.axis2.client.ServiceClient getServiceClient(QName portQName, Object serviceDelegateKey)
QName getServiceQName()
HandlerChainsType getHandlerChain(Object serviceDelegateKey)
serviceDelegateKey - May be null. If non-null, used to look for service-delegate
specific sparse composite information.HandlerChainsType getHandlerChain()
getHandlerChain(Object)List<QName> getPorts(Object serviceDelegateKey)
serviceDelegateKey - This should always be non-null when called via ServiceDelegate and is
used to help retrieve dynamic ports per clientServiceRuntimeDescription getServiceRuntimeDesc(String name)
void setServiceRuntimeDesc(ServiceRuntimeDescription ord)
boolean isServerSide()
boolean isMTOMEnabled(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(Object key, 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.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(Object delegate)
delegate - The ServiceDelegate instance that owns this ServiceDescription.Map<String,Object> getBindingProperties(Object serviceDelegateKey, 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(Object serviceDelegateKey, 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(Object serviceDelegateKey, 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(Object serviceDelegateKey, 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(Object serviceDelegateKey, 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(Object serviceDelegateKey, 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(Object serviceDelegateKey, 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–2017 The Apache Software Foundation. All rights reserved.