|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.interceptor.AbstractBasicInterceptorProvider
org.apache.cxf.frontend.ClientProxyFactoryBean
public class ClientProxyFactoryBean
This class will create a client for you which implements the specified service class. Example:
ClientProxyFactoryBean factory = new ClientProxyFactoryBean(); factory.setServiceClass(YourServiceInterface.class); YourServiceInterface client = (YourServiceInterface) factory.create();To access the underlying Client object:
Client cxfClient = ClientProxy.getClient(client);
| Constructor Summary | |
|---|---|
ClientProxyFactoryBean()
|
|
ClientProxyFactoryBean(ClientFactoryBean fact)
|
|
| Method Summary | |
|---|---|
protected ClientProxy |
clientClientProxy(org.apache.cxf.endpoint.Client c)
|
java.lang.Object |
create()
Creates a proxy object that can be used to make remote invocations. |
java.lang.String |
getAddress()
|
org.apache.cxf.binding.BindingConfiguration |
getBindingConfig()
|
java.lang.String |
getBindingId()
|
org.apache.cxf.Bus |
getBus()
|
ClientFactoryBean |
getClientFactoryBean()
|
org.apache.cxf.endpoint.ConduitSelector |
getConduitSelector()
|
org.apache.cxf.databinding.DataBinding |
getDataBinding()
|
javax.xml.namespace.QName |
getEndpointName()
|
java.util.List<org.apache.cxf.feature.AbstractFeature> |
getFeatures()
|
protected java.lang.Class[] |
getImplementingClasses()
|
java.lang.String |
getPassword()
|
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
Returns the property map for the proxy factory. |
java.lang.Class |
getServiceClass()
|
ReflectionServiceFactoryBean |
getServiceFactory()
|
javax.xml.namespace.QName |
getServiceName()
Returns the QName of the WSDL service the proxy implements |
java.lang.String |
getUsername()
|
java.lang.String |
getWsdlLocation()
|
java.lang.String |
getWsdlURL()
|
void |
initFeatures()
|
void |
setAddress(java.lang.String add)
|
void |
setBindingConfig(org.apache.cxf.binding.BindingConfiguration config)
|
void |
setBindingId(java.lang.String bind)
|
void |
setBus(org.apache.cxf.Bus bus)
|
void |
setClientFactoryBean(ClientFactoryBean clientFactoryBean)
|
void |
setConduitSelector(org.apache.cxf.endpoint.ConduitSelector selector)
|
void |
setDataBinding(org.apache.cxf.databinding.DataBinding dataBinding)
|
void |
setEndpointName(javax.xml.namespace.QName endpointName)
|
void |
setFeatures(java.util.List<org.apache.cxf.feature.AbstractFeature> f)
|
void |
setPassword(java.lang.String password)
|
void |
setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
Specifies a set of properties used to configure the proxies provided by the factory. |
void |
setServiceClass(java.lang.Class serviceClass)
Specifies the class representing the SEI the proxy implements. |
void |
setServiceFactory(ReflectionServiceFactoryBean sf)
|
void |
setServiceName(javax.xml.namespace.QName serviceName)
Specifies the QName of the WSDL service the proxy implements. |
void |
setUsername(java.lang.String username)
|
void |
setWsdlLocation(java.lang.String wsdlURL)
Specifies the URL where the proxy can find the WSDL defining the service the proxy implements. |
void |
setWsdlURL(java.lang.String wsdlURL)
Specifies the URL where the proxy can find the WSDL defining the service the proxy implements. |
| Methods inherited from class org.apache.cxf.interceptor.AbstractBasicInterceptorProvider |
|---|
getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors, setInFaultInterceptors, setInInterceptors, setOutFaultInterceptors, setOutInterceptors |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientProxyFactoryBean()
public ClientProxyFactoryBean(ClientFactoryBean fact)
| Method Detail |
|---|
public void initFeatures()
public java.lang.Object create()
protected java.lang.Class[] getImplementingClasses()
protected ClientProxy clientClientProxy(org.apache.cxf.endpoint.Client c)
public ClientFactoryBean getClientFactoryBean()
public void setClientFactoryBean(ClientFactoryBean clientFactoryBean)
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
public java.lang.Class getServiceClass()
public void setServiceClass(java.lang.Class serviceClass)
serviceClass - the SEI's classpublic java.lang.String getUsername()
public void setUsername(java.lang.String username)
public java.lang.String getWsdlLocation()
public void setWsdlLocation(java.lang.String wsdlURL)
wsdlURL - a string containing the WSDL's URLpublic java.lang.String getWsdlURL()
public void setWsdlURL(java.lang.String wsdlURL)
wsdlURL - a string containing the WSDL's URLpublic javax.xml.namespace.QName getEndpointName()
public void setEndpointName(javax.xml.namespace.QName endpointName)
public javax.xml.namespace.QName getServiceName()
public void setServiceName(javax.xml.namespace.QName serviceName)
serviceName - the QName of the service for the proxypublic java.lang.String getAddress()
public void setAddress(java.lang.String add)
public org.apache.cxf.endpoint.ConduitSelector getConduitSelector()
public void setConduitSelector(org.apache.cxf.endpoint.ConduitSelector selector)
public void setBindingId(java.lang.String bind)
public java.lang.String getBindingId()
public ReflectionServiceFactoryBean getServiceFactory()
public void setServiceFactory(ReflectionServiceFactoryBean sf)
public org.apache.cxf.Bus getBus()
public void setBus(org.apache.cxf.Bus bus)
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
public void setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
properties - the property mappublic java.util.List<org.apache.cxf.feature.AbstractFeature> getFeatures()
public void setFeatures(java.util.List<org.apache.cxf.feature.AbstractFeature> f)
public org.apache.cxf.databinding.DataBinding getDataBinding()
public void setDataBinding(org.apache.cxf.databinding.DataBinding dataBinding)
public void setBindingConfig(org.apache.cxf.binding.BindingConfiguration config)
public org.apache.cxf.binding.BindingConfiguration getBindingConfig()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||