public class ServiceDescriptionImpl extends Object implements ServiceDescription, ServiceDescriptionWSDL, ServiceDescriptionJava
../ServiceDescription| 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.
|
javax.jws.HandlerChain |
getAnnoHandlerChainAnnotation(Object sparseCompositeKey) |
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() |
HashMap<String,DescriptionBuilderComposite> |
getDBCMap() |
DescriptionBuilderComposite |
getDescriptionBuilderComposite() |
DescriptionBuilderComposite |
getDescriptionBuilderComposite(QName serviceQName,
Integer portCompositeIndex)
This method provides a means for accessing a DescriptionBuilderComposite instance.
|
Collection<EndpointDescriptionImpl> |
getDynamicEndpointDescriptions_AsCollection(Object serviceDelegateKey) |
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() |
WSDLWrapper |
getGeneratedWsdlWrapper() |
HandlerChainsType |
getHandlerChain()
Return the handler chain configuration information as a HandlerChainsType object.
|
HandlerChainsType |
getHandlerChain(Object sparseCompositeKey)
Return the handler chain configuration information as a HandlerChainsType object.
|
int |
getMTOMThreshold(Object serviceDelegate,
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.
|
protected String |
getServiceClassName()
Return the name of the client-side service class if it exists.
|
org.apache.axis2.client.ServiceClient |
getServiceClient(QName portQName,
Object serviceDelegateKey) |
QName |
getServiceQName() |
ServiceRuntimeDescription |
getServiceRuntimeDesc(String name) |
javax.wsdl.Definition |
getWSDLDefinition() |
javax.wsdl.Definition |
getWSDLGeneratedDefinition()
Returns the WSDL definiton as created by calling the WSDL generator.
|
String |
getWSDLLocation() |
Map |
getWSDLPorts() |
List<javax.wsdl.Port> |
getWSDLPortsUsingPortType(QName portTypeQN)
Return a collection of WSDL ports under this service which use the portType QName.
|
List<javax.wsdl.Port> |
getWSDLPortsUsingSOAPAddress(List<javax.wsdl.Port> wsdlPorts)
Return a subset of the collection of WSDL ports which specify a SOAP 1.1 or 1.2 address.
|
javax.wsdl.Service |
getWSDLService() |
WSDLWrapper |
getWSDLWrapper() |
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() |
boolean |
isWSDLSpecified() |
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 srd) |
String |
toString()
Return a string representing this Description object and all the objects it contains.
|
public EndpointDescription[] getEndpointDescriptions()
getEndpointDescriptions in interface ServiceDescriptionpublic Collection<EndpointDescriptionImpl> getDynamicEndpointDescriptions_AsCollection(Object serviceDelegateKey)
public Collection<EndpointDescription> getEndpointDescriptions_AsCollection()
getEndpointDescriptions_AsCollection in interface ServiceDescriptionpublic EndpointDescription getEndpointDescription(QName portQName)
getEndpointDescription in interface ServiceDescriptionpublic EndpointDescription getEndpointDescription(QName portQName, Object serviceDelegateKey)
getEndpointDescription in interface ServiceDescriptionpublic DescriptionBuilderComposite getDescriptionBuilderComposite()
public DescriptionBuilderComposite getDescriptionBuilderComposite(QName serviceQName, Integer portCompositeIndex)
public EndpointDescription[] getEndpointDescription(Class seiClass)
ServiceDescriptiongetEndpointDescription in interface ServiceDescriptionpublic WSDLWrapper getWSDLWrapper()
getWSDLWrapper in interface ServiceDescriptionWSDLpublic String getWSDLLocation()
getWSDLLocation in interface ServiceDescriptionWSDLpublic WSDLWrapper getGeneratedWsdlWrapper()
getGeneratedWsdlWrapper in interface ServiceDescriptionWSDLpublic org.apache.axis2.context.ConfigurationContext getAxisConfigContext()
getAxisConfigContext in interface ServiceDescriptionpublic org.apache.axis2.client.ServiceClient getServiceClient(QName portQName, Object serviceDelegateKey)
getServiceClient in interface ServiceDescriptionpublic QName getServiceQName()
getServiceQName in interface ServiceDescriptionpublic JAXWSCatalogManager getCatalogManager()
getCatalogManager in interface ServiceDescriptionpublic boolean isMTOMEnabled(Object key)
ServiceDescriptionisMTOMEnabled in interface ServiceDescriptionkey - If non-null, used to look up any sparse metadata that may have been specified
when the service was created.public boolean isMTOMEnabled(Object key, Class seiClass)
ServiceDescriptionisMTOMEnabled in interface ServiceDescriptionkey - 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.public Map<String,Object> getBindingProperties(Object serviceDelegateKey, String key)
ServiceDescriptiongetBindingProperties in interface ServiceDescriptionserviceDelegateKey - 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 portpublic QName getPreferredPort(Object key)
getPreferredPort in interface ServiceDescriptionpublic boolean isServerSide()
isServerSide in interface ServiceDescriptionpublic HashMap<String,DescriptionBuilderComposite> getDBCMap()
public boolean isWSDLSpecified()
isWSDLSpecified in interface ServiceDescriptionWSDLpublic HandlerChainsType getHandlerChain()
ServiceDescriptiongetHandlerChain in interface ServiceDescriptionServiceDescription.getHandlerChain(Object)public HandlerChainsType getHandlerChain(Object sparseCompositeKey)
ServiceDescriptiongetHandlerChain in interface ServiceDescriptionsparseCompositeKey - May be null. If non-null, used to look for service-delegate
specific sparse composite information.public javax.jws.HandlerChain getAnnoHandlerChainAnnotation(Object sparseCompositeKey)
public javax.wsdl.Definition getWSDLDefinition()
getWSDLDefinition in interface ServiceDescriptionWSDLpublic javax.wsdl.Definition getWSDLGeneratedDefinition()
public javax.wsdl.Service getWSDLService()
getWSDLService in interface ServiceDescriptionWSDLpublic Map getWSDLPorts()
getWSDLPorts in interface ServiceDescriptionWSDLpublic List<QName> getPorts(Object serviceDelegateKey)
ServiceDescriptiongetPorts in interface ServiceDescriptionserviceDelegateKey - This should always be non-null when called via ServiceDelegate and is
used to help retrieve dynamic ports per clientpublic List<javax.wsdl.Port> getWSDLPortsUsingPortType(QName portTypeQN)
ServiceDescriptionWSDLgetWSDLPortsUsingPortType in interface ServiceDescriptionWSDLpublic List<javax.wsdl.Port> getWSDLPortsUsingSOAPAddress(List<javax.wsdl.Port> wsdlPorts)
ServiceDescriptionWSDLgetWSDLPortsUsingSOAPAddress in interface ServiceDescriptionWSDLpublic ServiceRuntimeDescription getServiceRuntimeDesc(String name)
getServiceRuntimeDesc in interface ServiceDescriptionpublic void setServiceRuntimeDesc(ServiceRuntimeDescription srd)
setServiceRuntimeDesc in interface ServiceDescriptionprotected String getServiceClassName()
public String toString()
public void setResolvedHandlersDescription(javax.xml.ws.handler.PortInfo portInfo, ResolvedHandlersDescription resolvedHandlersInfo)
ServiceDescriptionsetResolvedHandlersDescription in interface ServiceDescriptionportInfo - Port for which the handler information should be cachedresolvedHandlersInfo - An object containing information for the resolved handlerspublic ResolvedHandlersDescription getResolvedHandlersDescription(javax.xml.ws.handler.PortInfo portInfo)
ServiceDescriptiongetResolvedHandlersDescription in interface ServiceDescriptionportInfo - Port for which the handler information is desiredpublic void releaseResources(Object delegate)
ServiceDescriptionreleaseResources in interface ServiceDescriptiondelegate - The ServiceDelegate instance that owns this ServiceDescription.public int getMTOMThreshold(Object serviceDelegate, Class seiClass)
ServiceDescriptiongetMTOMThreshold in interface ServiceDescriptionserviceDelegate - The instance of the service delegate related to this serviceseiClass - The SEI for the port to retrieve the MTOM threshold forpublic boolean isRespectBindingEnabled(Object serviceDelegateKey, Class seiClass)
ServiceDescriptionisRespectBindingEnabled in interface ServiceDescriptionserviceDelegateKey - The instance of the service delegate related to this serviceseiClass - The SEI for the port to retrieve the RespectBinding setting for.public boolean isAddressingConfigured(Object serviceDelegateKey, Class seiClass)
ServiceDescriptionisAddressingConfigured in interface ServiceDescriptionserviceDelegateKey - The instance of the service delegate related to this serviceseiClass - The SEI for the port to retrieve the setting for.ServiceDescription.isAddressingEnabled(Object, Class),
ServiceDescription.isAddressingRequired(Object, Class),
ServiceDescription.getAddressingResponses(Object, Class)public boolean isAddressingEnabled(Object serviceDelegateKey, Class seiClass)
ServiceDescriptionisAddressingEnabled in interface ServiceDescriptionserviceDelegateKey - The instance of the service delegate related to this serviceseiClass - The SEI for the port to retrieve the setting for.ServiceDescription.isAddressingConfigured(Object, Class)public boolean isAddressingRequired(Object serviceDelegateKey, Class seiClass)
ServiceDescriptionisAddressingRequired in interface ServiceDescriptionserviceDelegateKey - The instance of the service delegate related to this serviceseiClass - The SEI for the port to retrieve the setting for.ServiceDescription.isAddressingConfigured(Object, Class)public javax.xml.ws.soap.AddressingFeature.Responses getAddressingResponses(Object serviceDelegateKey, Class seiClass)
ServiceDescriptiongetAddressingResponses in interface ServiceDescriptionserviceDelegateKey - The instance of the service delegate related to this serviceseiClass - The SEI for the port to retrieve the setting for.ServiceDescription.isAddressingConfigured(Object, Class)Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.