Class DescriptionFactoryImpl
- java.lang.Object
-
- org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl
-
public class DescriptionFactoryImpl extends Object
Creates the JAX-WS metadata descritpion hierachy from some combinations of WSDL, Java classes with annotations, and (in the future) deployment descriptors. This is the implementation and is not intended to be a public API. The API is:- See Also:
DescriptionFactory
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
clearServiceDescriptionCache()
Clears the entire ServiceDescription cache.static void
clearServiceDescriptionCache(org.apache.axis2.context.ConfigurationContext configContext)
Clears all the ServiceDescription objects in the cache associated with the specified configuration context.static ResolvedHandlersDescription
createResolvedHandlersDescription()
static ServiceDescription
createServiceDescription(Class serviceImplClass)
static ServiceDescription
createServiceDescription(Class serviceImplClass, org.apache.axis2.context.ConfigurationContext configContext)
static ServiceDescription
createServiceDescription(URL wsdlURL, QName serviceQName, Class serviceClass)
static ServiceDescription
createServiceDescription(URL wsdlURL, QName serviceQName, Class serviceClass, DescriptionBuilderComposite sparseComposite, Object sparseCompositeKey)
static List<ServiceDescription>
createServiceDescriptionFromDBCMap(HashMap<String,DescriptionBuilderComposite> dbcMap, org.apache.axis2.context.ConfigurationContext configContext)
static List<ServiceDescription>
createServiceDescriptionFromDBCMap(HashMap<String,DescriptionBuilderComposite> dbcMap, org.apache.axis2.context.ConfigurationContext configContext, boolean performVaidation)
static ClientConfigurationFactory
getClientConfigurationFactory()
static EndpointDescription
updateEndpoint(ServiceDescription serviceDescription, Class sei, QName portQName, DescriptionFactory.UpdateType updateType, Object serviceDelegateKey, String bindingId, String endpointAddress)
static EndpointDescription
updateEndpoint(ServiceDescription serviceDescription, Class sei, QName portQName, DescriptionFactory.UpdateType updateType, String bindingId, String endpointAddress)
static EndpointDescription
updateEndpoint(ServiceDescription serviceDescription, Class sei, QName portQName, DescriptionFactory.UpdateType updateType, DescriptionBuilderComposite composite, Object serviceDelegateKey, String bindingId, String endpointAddress)
static EndpointDescription
updateEndpoint(ServiceDescription serviceDescription, Class sei, org.apache.axis2.addressing.EndpointReference epr, String addressingNamespace, DescriptionFactory.UpdateType updateType, Object sparseCompositeKey, String bindingId, String endpointAddress)
static EndpointDescription
updateEndpoint(ServiceDescription serviceDescription, Class sei, org.apache.axis2.addressing.EndpointReference epr, String addressingNamespace, DescriptionFactory.UpdateType updateType, String bindingId, String endpointAddress)
static EndpointDescription
updateEndpoint(ServiceDescription serviceDescription, Class sei, org.apache.axis2.addressing.EndpointReference epr, String addressingNamespace, DescriptionFactory.UpdateType updateType, DescriptionBuilderComposite composite, Object sparseCompositeKey, String bindingId, String endpointAddress)
-
-
-
Method Detail
-
createServiceDescription
public static ServiceDescription createServiceDescription(URL wsdlURL, QName serviceQName, Class serviceClass)
- See Also:
org.apache.axis2.jaxws.description.DescriptionFactory#createServiceDescription(URL, QName, Class, DescriptionBuilderComposite)
-
createServiceDescription
public static ServiceDescription createServiceDescription(URL wsdlURL, QName serviceQName, Class serviceClass, DescriptionBuilderComposite sparseComposite, Object sparseCompositeKey)
-
clearServiceDescriptionCache
public static void clearServiceDescriptionCache()
Clears the entire ServiceDescription cache.Note
This function might cause unpredictable results when configuration contexts are being reused and/or there are outstanding requests using the cached ServiceDescription objects. Also, in-flight requests (both client and server) using ServiceDelegates MUST be done and out of scope before this method is called.
-
clearServiceDescriptionCache
public static void clearServiceDescriptionCache(org.apache.axis2.context.ConfigurationContext configContext)
Clears all the ServiceDescription objects in the cache associated with the specified configuration context.Note
This function should only be used to clear the cache when the specified configuration context will not be used anymore and there are no outstanding requests using the associated ServiceDescription objects. Also, in-flight requests (both client and server) using ServiceDelegates MUST be done and out of scope before this method is called. Otherwise, unpredictable results might occur.- Parameters:
configContext
- The configuration context associated with the ServiceDescription objects in the cache.
-
createServiceDescription
public static ServiceDescription createServiceDescription(Class serviceImplClass)
-
createServiceDescription
public static ServiceDescription createServiceDescription(Class serviceImplClass, org.apache.axis2.context.ConfigurationContext configContext)
-
createServiceDescriptionFromDBCMap
public static List<ServiceDescription> createServiceDescriptionFromDBCMap(HashMap<String,DescriptionBuilderComposite> dbcMap, org.apache.axis2.context.ConfigurationContext configContext, boolean performVaidation)
-
createServiceDescriptionFromDBCMap
public static List<ServiceDescription> createServiceDescriptionFromDBCMap(HashMap<String,DescriptionBuilderComposite> dbcMap, org.apache.axis2.context.ConfigurationContext configContext)
-
updateEndpoint
public static EndpointDescription updateEndpoint(ServiceDescription serviceDescription, Class sei, QName portQName, DescriptionFactory.UpdateType updateType, String bindingId, String endpointAddress)
-
updateEndpoint
public static EndpointDescription updateEndpoint(ServiceDescription serviceDescription, Class sei, QName portQName, DescriptionFactory.UpdateType updateType, Object serviceDelegateKey, String bindingId, String endpointAddress)
-
updateEndpoint
public static EndpointDescription updateEndpoint(ServiceDescription serviceDescription, Class sei, QName portQName, DescriptionFactory.UpdateType updateType, DescriptionBuilderComposite composite, Object serviceDelegateKey, String bindingId, String endpointAddress)
- See Also:
org.apache.axis2.jaxws.description.DescriptionFactory#updateEndpoint(ServiceDescription, Class, QName, org.apache.axis2.jaxws.description.DescriptionFactory.UpdateType, DescriptionBuilderComposite)
-
updateEndpoint
public static EndpointDescription updateEndpoint(ServiceDescription serviceDescription, Class sei, org.apache.axis2.addressing.EndpointReference epr, String addressingNamespace, DescriptionFactory.UpdateType updateType, String bindingId, String endpointAddress)
-
updateEndpoint
public static EndpointDescription updateEndpoint(ServiceDescription serviceDescription, Class sei, org.apache.axis2.addressing.EndpointReference epr, String addressingNamespace, DescriptionFactory.UpdateType updateType, Object sparseCompositeKey, String bindingId, String endpointAddress)
-
updateEndpoint
public static EndpointDescription updateEndpoint(ServiceDescription serviceDescription, Class sei, org.apache.axis2.addressing.EndpointReference epr, String addressingNamespace, DescriptionFactory.UpdateType updateType, DescriptionBuilderComposite composite, Object sparseCompositeKey, String bindingId, String endpointAddress)
-
getClientConfigurationFactory
public static ClientConfigurationFactory getClientConfigurationFactory()
-
createResolvedHandlersDescription
public static ResolvedHandlersDescription createResolvedHandlersDescription()
-
-