Class JaxWsProxyFactoryBean

java.lang.Object
org.apache.cxf.interceptor.AbstractBasicInterceptorProvider
org.apache.cxf.frontend.ClientProxyFactoryBean
org.apache.cxf.jaxws.JaxWsProxyFactoryBean
All Implemented Interfaces:
org.apache.cxf.interceptor.InterceptorProvider
Direct Known Subclasses:
JaxWsProxyFactoryBeanDefinitionParser.JAXWSSpringClientProxyFactoryBean

public class JaxWsProxyFactoryBean extends org.apache.cxf.frontend.ClientProxyFactoryBean
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
    Constructor
    Description
     
    JaxWsProxyFactoryBean(org.apache.cxf.frontend.ClientFactoryBean fact)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.cxf.frontend.ClientProxy
    clientClientProxy(org.apache.cxf.endpoint.Client c)
     
    Creates a JAX-WS proxy that can be used to make remote invocations.
    protected String
     
    List<jakarta.xml.ws.handler.Handler>
    Returns the configured list of JAX-WS handlers for the proxy.
    protected Class<?>[]
     
    boolean
     
    void
    setHandlers(List<jakarta.xml.ws.handler.Handler> h)
    Specifies a list of JAX-WS Handler implementations that are to be used by the proxy.
    void
    setLoadHandlers(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, setWsdlURL

    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 Details

    • JaxWsProxyFactoryBean

      public JaxWsProxyFactoryBean()
    • JaxWsProxyFactoryBean

      public JaxWsProxyFactoryBean(org.apache.cxf.frontend.ClientFactoryBean fact)
  • Method Details

    • getConfiguredName

      protected String getConfiguredName()
      Overrides:
      getConfiguredName in class org.apache.cxf.frontend.ClientProxyFactoryBean
    • setHandlers

      public void setHandlers(List<jakarta.xml.ws.handler.Handler> h)
      Specifies a list of JAX-WS Handler implementations that are to be used by the proxy.
      Parameters:
      h - a List of Handler objects
    • getHandlers

      public List<jakarta.xml.ws.handler.Handler> getHandlers()
      Returns the configured list of JAX-WS handlers for the proxy.
      Returns:
      a List of Handler objects
    • setLoadHandlers

      public void setLoadHandlers(boolean b)
    • isLoadHandlers

      public boolean isLoadHandlers()
    • clientClientProxy

      protected org.apache.cxf.frontend.ClientProxy clientClientProxy(org.apache.cxf.endpoint.Client c)
      Overrides:
      clientClientProxy in class org.apache.cxf.frontend.ClientProxyFactoryBean
    • getImplementingClasses

      protected Class<?>[] getImplementingClasses()
      Overrides:
      getImplementingClasses in class org.apache.cxf.frontend.ClientProxyFactoryBean
    • create

      public Object create()
      Creates a JAX-WS proxy that can be used to make remote invocations.
      Overrides:
      create in class org.apache.cxf.frontend.ClientProxyFactoryBean
      Returns:
      the proxy. You must cast the returned object to the approriate class before making remote calls