Apache CXF API

org.apache.cxf.endpoint.dynamic
Class DynamicClientFactory

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

public final class DynamicClientFactory
extends java.lang.Object


Method Summary
 Client createClient(java.lang.String wsdlUrl)
          Create a new Client instance using the WSDL to be loaded from the specified URL and using the current classloading context.
 Client createClient(java.lang.String wsdlUrl, java.lang.ClassLoader classLoader)
          Create a new Client instance using the WSDL to be loaded from the specified URL and with the specified ClassLoader as parent.
 Client createClient(java.lang.String wsdlUrl, javax.xml.namespace.QName service)
           
 Client createClient(java.lang.String wsdlUrl, javax.xml.namespace.QName service, java.lang.ClassLoader classLoader, javax.xml.namespace.QName port)
           
 Client createClient(java.lang.String wsdlUrl, javax.xml.namespace.QName service, javax.xml.namespace.QName port)
           
 boolean isSimpleBindingEnabled()
           
static DynamicClientFactory newInstance()
          Create a new instance using a default Bus.
static DynamicClientFactory newInstance(Bus b)
          Create a new instance using a specific Bus.
 void setSimpleBindingEnabled(boolean simpleBindingEnabled)
           
 void setTemporaryDirectory(java.lang.String dir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setTemporaryDirectory

public void setTemporaryDirectory(java.lang.String dir)

newInstance

public static DynamicClientFactory 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 DynamicClientFactory newInstance()
Create a new instance using a default Bus.

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

createClient

public Client createClient(java.lang.String wsdlUrl)
Create a new Client instance using the WSDL to be loaded from the specified URL and using the current classloading context.

Parameters:
wsdlURL - the URL to load
Returns:

createClient

public Client createClient(java.lang.String wsdlUrl,
                           java.lang.ClassLoader classLoader)
Create a new Client instance using the WSDL to be loaded from the specified URL and with the specified ClassLoader as parent.

Parameters:
wsdlUrl -
classLoader -
Returns:

createClient

public Client createClient(java.lang.String wsdlUrl,
                           javax.xml.namespace.QName service)

createClient

public Client createClient(java.lang.String wsdlUrl,
                           javax.xml.namespace.QName service,
                           javax.xml.namespace.QName port)

createClient

public Client createClient(java.lang.String wsdlUrl,
                           javax.xml.namespace.QName service,
                           java.lang.ClassLoader classLoader,
                           javax.xml.namespace.QName port)

isSimpleBindingEnabled

public boolean isSimpleBindingEnabled()

setSimpleBindingEnabled

public void setSimpleBindingEnabled(boolean simpleBindingEnabled)

Apache CXF API

Apache CXF is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache Incubator PMC.