Apache CXF API

org.apache.cxf.jaxws.endpoint.dynamic
Class JaxWsDynamicClientFactory

java.lang.Object
  extended by org.apache.cxf.endpoint.dynamic.DynamicClientFactory
      extended by org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory

public class JaxWsDynamicClientFactory
extends DynamicClientFactory

This class reads a WSDL and creates a dynamic client from it with JAX-WS functionality. This provides support for attachments and other useful things that come with JAX-WS. Use newInstance(org.apache.cxf.Bus) to obtain an instance, and then DynamicClientFactory.createClient(String) (or other overloads) to create a client. This factory uses the JAXB data binding.


Constructor Summary
protected JaxWsDynamicClientFactory(Bus bus)
           
 
Method Summary
protected  boolean allowWrapperOps()
           
protected  EndpointImplFactory getEndpointImplFactory()
           
static JaxWsDynamicClientFactory newInstance()
          Create a new instance using a default Bus.
static JaxWsDynamicClientFactory newInstance(Bus b)
          Create a new instance using a specific Bus.
 
Methods inherited from class org.apache.cxf.endpoint.dynamic.DynamicClientFactory
compileJavaSrc, createClient, createClient, createClient, createClient, createClient, createClient, createClient, createClient, createClient, createClient, createClient, createClient, createClient, createClient, createClient, createClient, createClient, createClient, createClient, createClient, getJaxbContextProperties, isSimpleBindingEnabled, setAllowElementReferences, setJaxbContextProperties, setSimpleBindingEnabled, setTemporaryDirectory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaxWsDynamicClientFactory

protected JaxWsDynamicClientFactory(Bus bus)
Method Detail

getEndpointImplFactory

protected EndpointImplFactory getEndpointImplFactory()
Overrides:
getEndpointImplFactory in class DynamicClientFactory

allowWrapperOps

protected boolean allowWrapperOps()
Overrides:
allowWrapperOps in class DynamicClientFactory

newInstance

public static JaxWsDynamicClientFactory newInstance(Bus b)
Create a new instance using a specific Bus.

Parameters:
b - the Bus to use in subsequent operations with the instance
Returns:
the new instance

newInstance

public static JaxWsDynamicClientFactory newInstance()
Create a new instance using a default Bus.

Returns:
the new instance
See Also:
BusFactory.getDefaultBus()

Apache CXF API

Apache CXF