org.ow2.jonas.ws.axis2.jaxws.description.impl
Class DescriptionFactoryImpl

java.lang.Object
  extended by org.ow2.jonas.ws.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

Constructor Summary
DescriptionFactoryImpl()
           
 
Method Summary
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 org.apache.axis2.jaxws.description.ServiceDescription createServiceDescription(Class serviceImplClass)
           
static org.apache.axis2.jaxws.description.ServiceDescription createServiceDescription(URL wsdlURL, QName serviceQName, Class serviceClass)
           
static List<org.apache.axis2.jaxws.description.ServiceDescription> createServiceDescriptionFromDBCMap(HashMap<String,org.apache.axis2.jaxws.description.builder.DescriptionBuilderComposite> dbcMap)
           
static org.apache.axis2.jaxws.description.ServiceDescription createServiceDescriptionFromServiceImpl(Class serviceImplClass, org.apache.axis2.description.AxisService axisService)
          Deprecated.  
static org.apache.axis2.jaxws.ClientConfigurationFactory getClientConfigurationFactory()
           
static org.apache.axis2.jaxws.description.EndpointDescription updateEndpoint(org.apache.axis2.jaxws.description.ServiceDescription serviceDescription, Class sei, QName portQName, org.apache.axis2.jaxws.description.DescriptionFactory.UpdateType updateType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DescriptionFactoryImpl

public DescriptionFactoryImpl()
Method Detail

createServiceDescription

public static org.apache.axis2.jaxws.description.ServiceDescription createServiceDescription(URL wsdlURL,
                                                                                             QName serviceQName,
                                                                                             Class serviceClass)
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(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.

createServiceDescriptionFromServiceImpl

@Deprecated
public static org.apache.axis2.jaxws.description.ServiceDescription createServiceDescriptionFromServiceImpl(Class serviceImplClass,
                                                                                                                       org.apache.axis2.description.AxisService axisService)
Deprecated. 

See Also:
DescriptionFactory.createServiceDescriptionFromServiceImpl(Class, AxisService)

createServiceDescription

public static org.apache.axis2.jaxws.description.ServiceDescription createServiceDescription(Class serviceImplClass)
See Also:
DescriptionFactory.createServiceDescription(Class)

createServiceDescriptionFromDBCMap

public static List<org.apache.axis2.jaxws.description.ServiceDescription> createServiceDescriptionFromDBCMap(HashMap<String,org.apache.axis2.jaxws.description.builder.DescriptionBuilderComposite> dbcMap)
See Also:
DescriptionFactory.createServiceDescriptionFromDBCMap(HashMap)

updateEndpoint

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

getClientConfigurationFactory

public static org.apache.axis2.jaxws.ClientConfigurationFactory getClientConfigurationFactory()


Copyright © 2010 OW2 Consortium. All Rights Reserved.