org.apache.axis2.jaxws.description.impl
Class DescriptionFactoryImpl

java.lang.Object
  extended by 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
static void clearServiceDescriptionCache()
          Clears the entire ServiceDescription cache.
static void clearServiceDescriptionCache(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, 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, ConfigurationContext configContext)
           
static List<ServiceDescription> createServiceDescriptionFromDBCMap(HashMap<String,DescriptionBuilderComposite> dbcMap, ConfigurationContext configContext, boolean performVaidation)
           
static ClientConfigurationFactory getClientConfigurationFactory()
           
static EndpointDescription updateEndpoint(ServiceDescription serviceDescription, Class sei, EndpointReference epr, String addressingNamespace, DescriptionFactory.UpdateType updateType, DescriptionBuilderComposite composite, Object sparseCompositeKey, String bindingId, String endpointAddress)
           
static EndpointDescription updateEndpoint(ServiceDescription serviceDescription, Class sei, EndpointReference epr, String addressingNamespace, DescriptionFactory.UpdateType updateType, Object sparseCompositeKey, String bindingId, String endpointAddress)
           
static EndpointDescription updateEndpoint(ServiceDescription serviceDescription, Class sei, EndpointReference epr, String addressingNamespace, 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, 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)
See Also:
DescriptionFactory.createServiceDescription(URL, QName, Class)

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(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)
See Also:
DescriptionFactory.createServiceDescription(Class)

createServiceDescription

public static ServiceDescription createServiceDescription(Class serviceImplClass,
                                                          ConfigurationContext configContext)
See Also:
DescriptionFactory.createServiceDescription(Class)

createServiceDescriptionFromDBCMap

public static List<ServiceDescription> createServiceDescriptionFromDBCMap(HashMap<String,DescriptionBuilderComposite> dbcMap,
                                                                          ConfigurationContext configContext,
                                                                          boolean performVaidation)
See Also:
DescriptionFactory.createServiceDescriptionFromDBCMap(HashMap)

createServiceDescriptionFromDBCMap

public static List<ServiceDescription> createServiceDescriptionFromDBCMap(HashMap<String,DescriptionBuilderComposite> dbcMap,
                                                                          ConfigurationContext configContext)
See Also:
DescriptionFactory.createServiceDescriptionFromDBCMap(HashMap)

updateEndpoint

public static EndpointDescription updateEndpoint(ServiceDescription serviceDescription,
                                                 Class sei,
                                                 QName portQName,
                                                 DescriptionFactory.UpdateType updateType,
                                                 String bindingId,
                                                 String endpointAddress)
See Also:
DescriptionFactory.updateEndpoint(ServiceDescription, Class, QName, org.apache.axis2.jaxws.description.DescriptionFactory.UpdateType)

updateEndpoint

public static EndpointDescription updateEndpoint(ServiceDescription serviceDescription,
                                                 Class sei,
                                                 QName portQName,
                                                 DescriptionFactory.UpdateType updateType,
                                                 Object serviceDelegateKey,
                                                 String bindingId,
                                                 String endpointAddress)
See Also:
DescriptionFactory.updateEndpoint(ServiceDescription, Class, QName, org.apache.axis2.jaxws.description.DescriptionFactory.UpdateType)

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,
                                                 EndpointReference epr,
                                                 String addressingNamespace,
                                                 DescriptionFactory.UpdateType updateType,
                                                 String bindingId,
                                                 String endpointAddress)
See Also:
DescriptionFactory.updateEndpoint(ServiceDescription, Class, EndpointReference, String, DescriptionFactory.UpdateType)

updateEndpoint

public static EndpointDescription updateEndpoint(ServiceDescription serviceDescription,
                                                 Class sei,
                                                 EndpointReference epr,
                                                 String addressingNamespace,
                                                 DescriptionFactory.UpdateType updateType,
                                                 Object sparseCompositeKey,
                                                 String bindingId,
                                                 String endpointAddress)
See Also:
DescriptionFactory.updateEndpoint(ServiceDescription, Class, EndpointReference, String, DescriptionFactory.UpdateType, Object)

updateEndpoint

public static EndpointDescription updateEndpoint(ServiceDescription serviceDescription,
                                                 Class sei,
                                                 EndpointReference epr,
                                                 String addressingNamespace,
                                                 DescriptionFactory.UpdateType updateType,
                                                 DescriptionBuilderComposite composite,
                                                 Object sparseCompositeKey,
                                                 String bindingId,
                                                 String endpointAddress)
See Also:
DescriptionFactory.updateEndpoint(ServiceDescription, Class, EndpointReference, String, DescriptionFactory.UpdateType, DescriptionBuilderComposite, Object)

getClientConfigurationFactory

public static ClientConfigurationFactory getClientConfigurationFactory()

createResolvedHandlersDescription

public static ResolvedHandlersDescription createResolvedHandlersDescription()


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.