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
 boolean compileJavaSrc(org.apache.tools.ant.types.Path classPath, org.apache.tools.ant.types.Path srcPath, java.lang.String dest)
           
 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, java.lang.ClassLoader classLoader, java.util.List<java.lang.String> bindingFiles)
           
 Client createClient(java.lang.String wsdlUrl, java.util.List<java.lang.String> bindingFiles)
           
 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, java.lang.ClassLoader classLoader, javax.xml.namespace.QName port, java.util.List<java.lang.String> bindingFiles)
           
 Client createClient(java.lang.String wsdlUrl, javax.xml.namespace.QName service, java.util.List<java.lang.String> bindingFiles)
           
 Client createClient(java.lang.String wsdlUrl, javax.xml.namespace.QName service, javax.xml.namespace.QName port)
           
 Client createClient(java.lang.String wsdlUrl, javax.xml.namespace.QName service, javax.xml.namespace.QName port, java.util.List<java.lang.String> bindingFiles)
           
 Client createClient(java.net.URL 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.net.URL 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.net.URL wsdlUrl, java.lang.ClassLoader classLoader, java.util.List<java.lang.String> bindingFiles)
           
 Client createClient(java.net.URL wsdlUrl, java.util.List<java.lang.String> bindingFiles)
           
 Client createClient(java.net.URL wsdlUrl, javax.xml.namespace.QName service)
           
 Client createClient(java.net.URL wsdlUrl, javax.xml.namespace.QName service, java.lang.ClassLoader classLoader, javax.xml.namespace.QName port)
           
 Client createClient(java.net.URL wsdlUrl, javax.xml.namespace.QName service, java.lang.ClassLoader classLoader, javax.xml.namespace.QName port, java.util.List<java.lang.String> bindingFiles)
           
 Client createClient(java.net.URL wsdlUrl, javax.xml.namespace.QName service, java.util.List<java.lang.String> bindingFiles)
           
 Client createClient(java.net.URL wsdlUrl, javax.xml.namespace.QName service, javax.xml.namespace.QName port)
           
 Client createClient(java.net.URL wsdlUrl, javax.xml.namespace.QName service, javax.xml.namespace.QName port, java.util.List<java.lang.String> bindingFiles)
           
 java.util.Map<java.lang.String,java.lang.Object> getJaxbContextProperties()
          Return the map of JAXB context properties used at the time that we create new contexts.
 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 setJaxbContextProperties(java.util.Map<java.lang.String,java.lang.Object> jaxbContextProperties)
          Set the map of JAXB context properties used at the time that we create new contexts.
 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.util.List<java.lang.String> bindingFiles)

createClient

public Client createClient(java.net.URL 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.net.URL wsdlUrl,
                           java.util.List<java.lang.String> bindingFiles)

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,
                           java.lang.ClassLoader classLoader,
                           java.util.List<java.lang.String> bindingFiles)

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,
                           java.util.List<java.lang.String> bindingFiles)

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,
                           javax.xml.namespace.QName port,
                           java.util.List<java.lang.String> bindingFiles)

createClient

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

createClient

public Client createClient(java.net.URL 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.net.URL wsdlUrl,
                           java.lang.ClassLoader classLoader,
                           java.util.List<java.lang.String> bindingFiles)

createClient

public Client createClient(java.net.URL wsdlUrl,
                           javax.xml.namespace.QName service)

createClient

public Client createClient(java.net.URL wsdlUrl,
                           javax.xml.namespace.QName service,
                           java.util.List<java.lang.String> bindingFiles)

createClient

public Client createClient(java.net.URL wsdlUrl,
                           javax.xml.namespace.QName service,
                           javax.xml.namespace.QName port)

createClient

public Client createClient(java.net.URL wsdlUrl,
                           javax.xml.namespace.QName service,
                           javax.xml.namespace.QName port,
                           java.util.List<java.lang.String> bindingFiles)

createClient

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

createClient

public Client createClient(java.net.URL wsdlUrl,
                           javax.xml.namespace.QName service,
                           java.lang.ClassLoader classLoader,
                           javax.xml.namespace.QName port,
                           java.util.List<java.lang.String> bindingFiles)

createClient

public Client createClient(java.lang.String wsdlUrl,
                           javax.xml.namespace.QName service,
                           java.lang.ClassLoader classLoader,
                           javax.xml.namespace.QName port,
                           java.util.List<java.lang.String> bindingFiles)

isSimpleBindingEnabled

public boolean isSimpleBindingEnabled()

setSimpleBindingEnabled

public void setSimpleBindingEnabled(boolean simpleBindingEnabled)

compileJavaSrc

public boolean compileJavaSrc(org.apache.tools.ant.types.Path classPath,
                              org.apache.tools.ant.types.Path srcPath,
                              java.lang.String dest)

getJaxbContextProperties

public java.util.Map<java.lang.String,java.lang.Object> getJaxbContextProperties()
Return the map of JAXB context properties used at the time that we create new contexts.

Returns:
the map

setJaxbContextProperties

public void setJaxbContextProperties(java.util.Map<java.lang.String,java.lang.Object> jaxbContextProperties)
Set the map of JAXB context properties used at the time that we create new contexts.

Parameters:
jaxbContextProperties -


Apache CXF