Save This Page
Home » apache-cxf-2.1.1-src » org.apache » cxf » endpoint » dynamic » [javadoc | source]
org.apache.cxf.endpoint.dynamic
public class: DynamicClientFactory [javadoc | source]
java.lang.Object
   org.apache.cxf.endpoint.dynamic.DynamicClientFactory

Direct Known Subclasses:
    JaxWsDynamicClientFactory

This class reads a WSDL and creates a dynamic client from it. Use #newInstance to obtain an instance, and then #createClient(String) (or other overloads) to create a client. It uses the JAXB data binding. It does not set up complex interceptors for features such as attachments. See org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory for an alternative that sets up JAX-WS endpoints. This class may be subclassed to allow for other endpoints or behaviors.
Nested Class Summary:
static class  DynamicClientFactory.RelativeEntityResolver   
Constructor:
 protected DynamicClientFactory(Bus bus) 
Method from org.apache.cxf.endpoint.dynamic.DynamicClientFactory Summary:
addClasspathFromManifest,   compileJavaSrc,   createClient,   createClient,   createClient,   createClient,   createClient,   getEndpointImplFactory,   getJaxbContextProperties,   isSimpleBindingEnabled,   newInstance,   newInstance,   setJaxbContextProperties,   setSimpleBindingEnabled,   setTemporaryDirectory,   setupClasspath
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cxf.endpoint.dynamic.DynamicClientFactory Detail:
 static  void addClasspathFromManifest(StringBuilder classPath,
    File file) throws IOException, URISyntaxException 
 static boolean compileJavaSrc(String classPath,
    List srcList,
    String dest) 
 public Client createClient(String wsdlUrl) 
    Create a new Client instance using the WSDL to be loaded from the specified URL and using the current classloading context.
 public Client createClient(String wsdlUrl,
    ClassLoader classLoader) 
    Create a new Client instance using the WSDL to be loaded from the specified URL and with the specified ClassLoader as parent.
 public Client createClient(String wsdlUrl,
    QName service) 
 public Client createClient(String wsdlUrl,
    QName service,
    QName port) 
 public Client createClient(String wsdlUrl,
    QName service,
    ClassLoader classLoader,
    QName port) 
 protected EndpointImplFactory getEndpointImplFactory() 
 public Map getJaxbContextProperties() 
    Return the map of JAXB context properties used at the time that we create new contexts.
 public boolean isSimpleBindingEnabled() 
 public static DynamicClientFactory newInstance() 
    Create a new instance using a default Bus.
 public static DynamicClientFactory newInstance(Bus b) 
    Create a new instance using a specific Bus.
 public  void setJaxbContextProperties(Map jaxbContextProperties) 
    Set the map of JAXB context properties used at the time that we create new contexts.
 public  void setSimpleBindingEnabled(boolean simpleBindingEnabled) 
 public  void setTemporaryDirectory(String dir) 
 static  void setupClasspath(StringBuilder classPath,
    ClassLoader classLoader) throws IOException, URISyntaxException