|
||||||||||
| 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 ServiceDescriptionpublic Collection<EndpointDescriptionImpl> getDynamicEndpointDescriptions_AsCollection(Object serviceDelegateKey)
public Collection<EndpointDescription> getEndpointDescriptions_AsCollection()
getEndpointDescriptions_AsCollection in interface ServiceDescriptionpublic EndpointDescription getEndpointDescription(QName portQName)
getEndpointDescription in interface ServiceDescription
public EndpointDescription getEndpointDescription(QName portQName,
Object serviceDelegateKey)
getEndpointDescription in interface ServiceDescriptionpublic DescriptionBuilderComposite getDescriptionBuilderComposite()
public DescriptionBuilderComposite getDescriptionBuilderComposite(QName serviceQName,
Integer portCompositeIndex)
public EndpointDescription[] getEndpointDescription(Class seiClass)
ServiceDescription
getEndpointDescription in interface ServiceDescriptionpublic WSDLWrapper getWSDLWrapper()
getWSDLWrapper in interface ServiceDescriptionWSDLpublic String getWSDLLocation()
getWSDLLocation in interface ServiceDescriptionWSDLpublic WSDLWrapper getGeneratedWsdlWrapper()
getGeneratedWsdlWrapper in interface ServiceDescriptionWSDLpublic ConfigurationContext getAxisConfigContext()
getAxisConfigContext in interface ServiceDescription
public 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)
ServiceDescription
isMTOMEnabled 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)
ServiceDescription
isMTOMEnabled 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)
ServiceDescription
getBindingProperties 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 port
public 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()
ServiceDescription
getHandlerChain in interface ServiceDescriptionServiceDescription.getHandlerChain(Object)public HandlerChainsType getHandlerChain(Object sparseCompositeKey)
ServiceDescription
getHandlerChain in interface ServiceDescriptionsparseCompositeKey - 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 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)
ServiceDescription
getPorts in interface ServiceDescriptionserviceDelegateKey - 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 ServiceDescriptionWSDLpublic List<javax.wsdl.Port> getWSDLPortsUsingSOAPAddress(List<javax.wsdl.Port> wsdlPorts)
ServiceDescriptionWSDL
getWSDLPortsUsingSOAPAddress in interface ServiceDescriptionWSDLpublic ServiceRuntimeDescription getServiceRuntimeDesc(String name)
getServiceRuntimeDesc in interface ServiceDescriptionpublic void setServiceRuntimeDesc(ServiceRuntimeDescription srd)
setServiceRuntimeDesc in interface ServiceDescriptionprotected String getServiceClassName()
public String toString()
toString in class Object
public void setResolvedHandlersDescription(PortInfo portInfo,
ResolvedHandlersDescription resolvedHandlersInfo)
ServiceDescription
setResolvedHandlersDescription in interface ServiceDescriptionportInfo - 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 ServiceDescriptionportInfo - Port for which the handler information is desired
public void releaseResources(Object delegate)
ServiceDescription
releaseResources in interface ServiceDescriptiondelegate - The ServiceDelegate instance that owns this ServiceDescription.
public int getMTOMThreshold(Object serviceDelegate,
Class seiClass)
ServiceDescription
getMTOMThreshold in interface ServiceDescriptionserviceDelegate - 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 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)
ServiceDescription
isAddressingConfigured 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)
ServiceDescription
isAddressingEnabled 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)
ServiceDescription
isAddressingRequired 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 Responses getAddressingResponses(Object serviceDelegateKey,
Class seiClass)
ServiceDescription
getAddressingResponses 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||