|
||||||||||
| 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 | |
|---|---|
Responses |
getAddressingResponses(Object serviceDelegateKey,
Class seiClass)
Answer the type of Addressing responses required by the service-requester. |
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(PortInfo portInfo)
Answer information for resolved handlers for the given port. |
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(PortInfo portInfo,
ResolvedHandlersDescription resolvedHandlersInfo)
Cache information for handlers which have been resolved for this port. |
void |
setServiceRuntimeDesc(ServiceRuntimeDescription ord)
|
| Method Detail |
|---|
EndpointDescription[] getEndpointDescriptions()
Collection<EndpointDescription> getEndpointDescriptions_AsCollection()
EndpointDescription getEndpointDescription(QName portQName)
EndpointDescription getEndpointDescription(QName portQName,
Object serviceDelegateKey)
EndpointDescription[] getEndpointDescription(Class seiClass)
seiClass -
ConfigurationContext getAxisConfigContext()
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 client
ServiceRuntimeDescription 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.
QName getPreferredPort(Object key)
JAXWSCatalogManager getCatalogManager()
ResolvedHandlersDescription getResolvedHandlersDescription(PortInfo portInfo)
portInfo - Port for which the handler information is desired
void setResolvedHandlersDescription(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 port
int 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 for
boolean 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)
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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||