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

java.lang.Object
  extended by org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl

public class DescriptionFactoryImpl
extends java.lang.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 ServiceDescription createServiceDescription(java.lang.Class serviceImplClass)
           
static ServiceDescription createServiceDescription(java.lang.Class serviceImplClass, ConfigurationContext configContext)
           
static ServiceDescription createServiceDescription(java.net.URL wsdlURL, QName serviceQName, java.lang.Class serviceClass)
           
static ServiceDescription createServiceDescription(java.net.URL wsdlURL, QName serviceQName, java.lang.Class serviceClass, DescriptionBuilderComposite sparseComposite, java.lang.Object sparseCompositeKey)
           
static java.util.List<ServiceDescription> createServiceDescriptionFromDBCMap(java.util.HashMap<java.lang.String,DescriptionBuilderComposite> dbcMap, ConfigurationContext configContext)
           
static ClientConfigurationFactory getClientConfigurationFactory()
           
static EndpointDescription updateEndpoint(ServiceDescription serviceDescription, java.lang.Class sei, EndpointReference epr, java.lang.String addressingNamespace, DescriptionFactory.UpdateType updateType)
           
static EndpointDescription updateEndpoint(ServiceDescription serviceDescription, java.lang.Class sei, EndpointReference epr, java.lang.String addressingNamespace, DescriptionFactory.UpdateType updateType, DescriptionBuilderComposite composite, java.lang.Object sparseCompositeKey)
           
static EndpointDescription updateEndpoint(ServiceDescription serviceDescription, java.lang.Class sei, EndpointReference epr, java.lang.String addressingNamespace, DescriptionFactory.UpdateType updateType, java.lang.Object sparseCompositeKey)
           
static EndpointDescription updateEndpoint(ServiceDescription serviceDescription, java.lang.Class sei, QName portQName, DescriptionFactory.UpdateType updateType)
           
static EndpointDescription updateEndpoint(ServiceDescription serviceDescription, java.lang.Class sei, QName portQName, DescriptionFactory.UpdateType updateType, DescriptionBuilderComposite composite, java.lang.Object serviceDelegateKey)
           
static EndpointDescription updateEndpoint(ServiceDescription serviceDescription, java.lang.Class sei, QName portQName, DescriptionFactory.UpdateType updateType, java.lang.Object serviceDelegateKey)
           
 
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(java.net.URL wsdlURL,
                                                          QName serviceQName,
                                                          java.lang.Class serviceClass)
See Also:
org.apache.axis2.jaxws.description.DescriptionFactory#createServiceDescription(URL, QName, Class, DescriptionBuilderComposite)

createServiceDescription

public static ServiceDescription createServiceDescription(java.net.URL wsdlURL,
                                                          QName serviceQName,
                                                          java.lang.Class serviceClass,
                                                          DescriptionBuilderComposite sparseComposite,
                                                          java.lang.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(java.lang.Class serviceImplClass)
See Also:
DescriptionFactory.createServiceDescription(Class)

createServiceDescription

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

createServiceDescriptionFromDBCMap

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

updateEndpoint

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

updateEndpoint

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

updateEndpoint

public static EndpointDescription updateEndpoint(ServiceDescription serviceDescription,
                                                 java.lang.Class sei,
                                                 QName portQName,
                                                 DescriptionFactory.UpdateType updateType,
                                                 DescriptionBuilderComposite composite,
                                                 java.lang.Object serviceDelegateKey)
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,
                                                 java.lang.Class sei,
                                                 EndpointReference epr,
                                                 java.lang.String addressingNamespace,
                                                 DescriptionFactory.UpdateType updateType)
See Also:
DescriptionFactory.updateEndpoint(ServiceDescription, Class, EndpointReference, String, DescriptionFactory.UpdateType)

updateEndpoint

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

updateEndpoint

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

getClientConfigurationFactory

public static ClientConfigurationFactory getClientConfigurationFactory()


Copyright © 2007 Apache Web Services Project. All Rights Reserved.