|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl
public class ServiceDescriptionImpl
../ServiceDescription
Method Summary | |
---|---|
Responses |
getAddressingResponses(Object serviceDelegateKey,
Class seiClass)
Answer the type of Addressing responses required by the service-requester. |
HandlerChain |
getAnnoHandlerChainAnnotation(Object sparseCompositeKey)
|
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(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. |
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(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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public EndpointDescription[] getEndpointDescriptions()
getEndpointDescriptions
in interface ServiceDescription
public Collection<EndpointDescriptionImpl> getDynamicEndpointDescriptions_AsCollection(Object serviceDelegateKey)
public Collection<EndpointDescription> getEndpointDescriptions_AsCollection()
getEndpointDescriptions_AsCollection
in interface ServiceDescription
public EndpointDescription getEndpointDescription(QName portQName)
getEndpointDescription
in interface ServiceDescription
public EndpointDescription getEndpointDescription(QName portQName, Object serviceDelegateKey)
getEndpointDescription
in interface ServiceDescription
public DescriptionBuilderComposite getDescriptionBuilderComposite()
public DescriptionBuilderComposite getDescriptionBuilderComposite(QName serviceQName, Integer portCompositeIndex)
public EndpointDescription[] getEndpointDescription(Class seiClass)
ServiceDescription
getEndpointDescription
in interface ServiceDescription
public WSDLWrapper getWSDLWrapper()
getWSDLWrapper
in interface ServiceDescriptionWSDL
public String getWSDLLocation()
getWSDLLocation
in interface ServiceDescriptionWSDL
public WSDLWrapper getGeneratedWsdlWrapper()
getGeneratedWsdlWrapper
in interface ServiceDescriptionWSDL
public ConfigurationContext getAxisConfigContext()
getAxisConfigContext
in interface ServiceDescription
public ServiceClient getServiceClient(QName portQName, Object serviceDelegateKey)
getServiceClient
in interface ServiceDescription
public QName getServiceQName()
getServiceQName
in interface ServiceDescription
public JAXWSCatalogManager getCatalogManager()
getCatalogManager
in interface ServiceDescription
public boolean isMTOMEnabled(Object key)
ServiceDescription
isMTOMEnabled
in interface ServiceDescription
key
- 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)
ServiceDescription
isMTOMEnabled
in interface ServiceDescription
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.
public Map<String,Object> getBindingProperties(Object serviceDelegateKey, String key)
ServiceDescription
getBindingProperties
in interface ServiceDescription
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
public QName getPreferredPort(Object key)
getPreferredPort
in interface ServiceDescription
public boolean isServerSide()
isServerSide
in interface ServiceDescription
public HashMap<String,DescriptionBuilderComposite> getDBCMap()
public boolean isWSDLSpecified()
isWSDLSpecified
in interface ServiceDescriptionWSDL
public HandlerChainsType getHandlerChain()
ServiceDescription
getHandlerChain
in interface ServiceDescription
ServiceDescription.getHandlerChain(Object)
public HandlerChainsType getHandlerChain(Object sparseCompositeKey)
ServiceDescription
getHandlerChain
in interface ServiceDescription
sparseCompositeKey
- May be null. If non-null, used to look for service-delegate
specific sparse composite information.
public HandlerChain getAnnoHandlerChainAnnotation(Object sparseCompositeKey)
public javax.wsdl.Definition getWSDLDefinition()
getWSDLDefinition
in interface ServiceDescriptionWSDL
public javax.wsdl.Definition getWSDLGeneratedDefinition()
public javax.wsdl.Service getWSDLService()
getWSDLService
in interface ServiceDescriptionWSDL
public Map getWSDLPorts()
getWSDLPorts
in interface ServiceDescriptionWSDL
public List<QName> getPorts(Object serviceDelegateKey)
ServiceDescription
getPorts
in interface ServiceDescription
serviceDelegateKey
- This should always be non-null when called via ServiceDelegate and is
used to help retrieve dynamic ports per client
public List<javax.wsdl.Port> getWSDLPortsUsingPortType(QName portTypeQN)
ServiceDescriptionWSDL
getWSDLPortsUsingPortType
in interface ServiceDescriptionWSDL
public List<javax.wsdl.Port> getWSDLPortsUsingSOAPAddress(List<javax.wsdl.Port> wsdlPorts)
ServiceDescriptionWSDL
getWSDLPortsUsingSOAPAddress
in interface ServiceDescriptionWSDL
public ServiceRuntimeDescription getServiceRuntimeDesc(String name)
getServiceRuntimeDesc
in interface ServiceDescription
public void setServiceRuntimeDesc(ServiceRuntimeDescription srd)
setServiceRuntimeDesc
in interface ServiceDescription
protected String getServiceClassName()
public String toString()
toString
in class Object
public void setResolvedHandlersDescription(PortInfo portInfo, ResolvedHandlersDescription resolvedHandlersInfo)
ServiceDescription
setResolvedHandlersDescription
in interface ServiceDescription
portInfo
- Port for which the handler information should be cachedresolvedHandlersInfo
- An object containing information for the resolved handlerspublic ResolvedHandlersDescription getResolvedHandlersDescription(PortInfo portInfo)
ServiceDescription
getResolvedHandlersDescription
in interface ServiceDescription
portInfo
- Port for which the handler information is desired
public void releaseResources(Object delegate)
ServiceDescription
releaseResources
in interface ServiceDescription
delegate
- The ServiceDelegate instance that owns this ServiceDescription.public int getMTOMThreshold(Object serviceDelegate, Class seiClass)
ServiceDescription
getMTOMThreshold
in interface ServiceDescription
serviceDelegate
- The instance of the service delegate related to this serviceseiClass
- The SEI for the port to retrieve the MTOM threshold for
public boolean isRespectBindingEnabled(Object serviceDelegateKey, Class seiClass)
ServiceDescription
isRespectBindingEnabled
in interface ServiceDescription
serviceDelegateKey
- 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)
ServiceDescription
isAddressingConfigured
in interface ServiceDescription
serviceDelegateKey
- 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)
ServiceDescription
isAddressingEnabled
in interface ServiceDescription
serviceDelegateKey
- 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)
ServiceDescription
isAddressingRequired
in interface ServiceDescription
serviceDelegateKey
- 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 Responses getAddressingResponses(Object serviceDelegateKey, Class seiClass)
ServiceDescription
getAddressingResponses
in interface ServiceDescription
serviceDelegateKey
- The instance of the service delegate related to this serviceseiClass
- The SEI for the port to retrieve the setting for.
ServiceDescription.isAddressingConfigured(Object, Class)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |