|
||||||||||
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(Client c)
|
java.lang.Object |
create()
Creates a proxy object that can be used to make remote invocations. |
java.lang.String |
getAddress()
|
BindingConfiguration |
getBindingConfig()
|
java.lang.String |
getBindingId()
|
Bus |
getBus()
|
ClientFactoryBean |
getClientFactoryBean()
|
ConduitSelector |
getConduitSelector()
|
DataBinding |
getDataBinding()
|
javax.xml.namespace.QName |
getEndpointName()
|
java.util.List<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 |
getTransportId()
|
java.lang.String |
getUsername()
|
java.lang.String |
getWsdlLocation()
|
java.lang.String |
getWsdlURL()
|
void |
setAddress(java.lang.String add)
|
void |
setBindingConfig(BindingConfiguration config)
|
void |
setBindingId(java.lang.String bind)
|
void |
setBus(Bus bus)
|
void |
setClientFactoryBean(ClientFactoryBean clientFactoryBean)
|
void |
setConduitSelector(ConduitSelector selector)
|
void |
setDataBinding(DataBinding dataBinding)
|
void |
setEndpointName(javax.xml.namespace.QName endpointName)
|
void |
setFeatures(java.util.List<AbstractFeature> features)
|
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 |
setTransportId(java.lang.String transportId)
|
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 java.lang.Object create()
protected java.lang.Class[] getImplementingClasses()
protected ClientProxy clientClientProxy(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 ConduitSelector getConduitSelector()
public void setConduitSelector(ConduitSelector selector)
public void setBindingId(java.lang.String bind)
public java.lang.String getBindingId()
public void setTransportId(java.lang.String transportId)
public java.lang.String getTransportId()
public ReflectionServiceFactoryBean getServiceFactory()
public void setServiceFactory(ReflectionServiceFactoryBean sf)
public Bus getBus()
public void setBus(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<AbstractFeature> getFeatures()
public void setFeatures(java.util.List<AbstractFeature> features)
public DataBinding getDataBinding()
public void setDataBinding(DataBinding dataBinding)
public void setBindingConfig(BindingConfiguration config)
public BindingConfiguration getBindingConfig()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |