Package org.apache.cxf.jaxws
Class JaxWsProxyFactoryBean
java.lang.Object
org.apache.cxf.interceptor.AbstractBasicInterceptorProvider
org.apache.cxf.frontend.ClientProxyFactoryBean
org.apache.cxf.jaxws.JaxWsProxyFactoryBean
- All Implemented Interfaces:
InterceptorProvider
- Direct Known Subclasses:
JaxWsProxyFactoryBeanDefinitionParser.JAXWSSpringClientProxyFactoryBean
Factory for creating JAX-WS proxies, This class provides access to the
internal properties used to set-up proxies. Using it provides more control
than the standard JAX-WS APIs.
-
Field Summary
Fields inherited from class org.apache.cxf.frontend.ClientProxyFactoryBean
configured -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ClientProxycreate()Creates a JAX-WS proxy that can be used to make remote invocations.protected StringList<jakarta.xml.ws.handler.Handler>Returns the configured list of JAX-WS handlers for the proxy.protected Class<?>[]booleanvoidsetHandlers(List<jakarta.xml.ws.handler.Handler> h) Specifies a list of JAX-WS Handler implementations that are to be used by the proxy.voidsetLoadHandlers(boolean b) Methods inherited from class org.apache.cxf.frontend.ClientProxyFactoryBean
create, getAddress, getBindingConfig, getBindingId, getBus, getClientFactoryBean, getConduitSelector, getDataBinding, getEndpointName, getFeatures, getPassword, getProperties, getServiceClass, getServiceFactory, getServiceName, getTransportId, getUsername, getWsdlLocation, getWsdlURL, initFeatures, setAddress, setBindingConfig, setBindingId, setBus, setClientFactoryBean, setConduitSelector, setDataBinding, setEndpointName, setFeatures, setPassword, setProperties, setServiceClass, setServiceFactory, setServiceName, setTransportId, setUsername, setWsdlLocation, setWsdlURLMethods inherited from class org.apache.cxf.interceptor.AbstractBasicInterceptorProvider
getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors, setInFaultInterceptors, setInInterceptors, setOutFaultInterceptors, setOutInterceptors
-
Constructor Details
-
JaxWsProxyFactoryBean
public JaxWsProxyFactoryBean() -
JaxWsProxyFactoryBean
-
-
Method Details
-
getConfiguredName
- Overrides:
getConfiguredNamein classClientProxyFactoryBean
-
setHandlers
Specifies a list of JAX-WS Handler implementations that are to be used by the proxy.- Parameters:
h- aListofHandlerobjects
-
getHandlers
Returns the configured list of JAX-WS handlers for the proxy.- Returns:
- a
ListofHandlerobjects
-
setLoadHandlers
public void setLoadHandlers(boolean b) -
isLoadHandlers
public boolean isLoadHandlers() -
clientClientProxy
- Overrides:
clientClientProxyin classClientProxyFactoryBean
-
getImplementingClasses
- Overrides:
getImplementingClassesin classClientProxyFactoryBean
-
create
Creates a JAX-WS proxy that can be used to make remote invocations.- Overrides:
createin classClientProxyFactoryBean- Returns:
- the proxy. You must cast the returned object to the approriate class before making remote calls
-