Class JaxWsServiceFactoryBean

java.lang.Object
org.apache.cxf.service.factory.AbstractServiceFactoryBean
org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean

public class JaxWsServiceFactoryBean extends org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean
Constructs a service model from JAX-WS service endpoint classes. Works with both @@WebServiceProvider and @@WebService annotated classes.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean

    ELEMENT_NAME, ENDPOINT_CLASS, EXTRA_CLASS, FORCE_TYPES, GENERIC_TYPE, HEADER, HOLDER, METHOD, METHOD_ANNOTATIONS, METHOD_PARAM_ANNOTATIONS, MODE_INOUT, MODE_OUT, PARAM_ANNOTATION, parameterizedTypes, RAW_CLASS, schemaLocationMapping, serviceClass, serviceType, WRAPPERGEN_NEEDED, wsdlURL

    Fields inherited from class org.apache.cxf.service.factory.AbstractServiceFactoryBean

    dataBindingSet, schemaLocations
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    bindOperation(org.apache.cxf.service.model.OperationInfo op, Method method)
     
    protected void
     
    protected void
     
    org.apache.cxf.service.Service
     
    org.apache.cxf.endpoint.Endpoint
    createEndpoint(org.apache.cxf.service.model.EndpointInfo ei)
     
    protected org.apache.cxf.service.invoker.Invoker
     
    protected org.apache.cxf.service.model.OperationInfo
    createOperation(org.apache.cxf.service.model.ServiceInfo serviceInfo, org.apache.cxf.service.model.InterfaceInfo intf, Method m)
     
    protected Class<?>
    getBeanClass(Class<?> exClass)
     
    protected Set<Class<?>>
     
     
    protected Class<?>
     
    List<jakarta.xml.ws.WebServiceFeature>
     
    protected final void
     
    protected void
     
    protected void
    initializeParameter(org.apache.cxf.service.model.MessagePartInfo part, Class<?> rawClass, Type type)
     
    protected void
    initializeWSDLOperation(org.apache.cxf.service.model.InterfaceInfo intf, org.apache.cxf.service.model.OperationInfo o, Method method)
     
    protected void
     
    protected void
     
    void
     
    void
     
    void
     
    void
    setServiceClass(Class<?> serviceClass)
     
    void
    setWsFeatures(List<jakarta.xml.ws.WebServiceFeature> swsFeatures)
     

    Methods inherited from class org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean

    addFault, buildServiceFromWSDL, checkForElement, createBareMessage, createDefaultDataBinding, createEndpoints, createFaultForException, createInputWrappedMessageParts, createInterface, createMessageParts, createOutputMessageName, createOutputWrappedMessageParts, createServiceInfo, createWrappedSchema, getAction, getAnonymousWrapperTypes, getConfigurations, getEndpointInfo, getEndpointName, getEndpointName, getExecutor, getFaultName, getFeatures, getHolderType, getIgnoredClasses, getIgnoredMethods, getInParameterName, getInPartName, getInputMessageName, getInterfaceInfo, getInterfaceName, getInvoker, getMethodDispatcher, getOperationName, getOutParameterName, getOutPartName, getProperties, getQualifyWrapperSchema, getRequestWrapper, getRequestWrapperClassName, getResponseWrapper, getResponseWrapperClassName, getServiceClass, getServiceConfigurations, getServiceName, getServiceNamespace, getServiceQName, getServiceQName, getStyle, getWrapped, getWrapperPartMaxOccurs, getWrapperPartMinOccurs, getWsdlURL, hasOutMessage, hasWrappedMethods, initializeClassInfo, initializeDefaultInterceptors, initializeFaults, initializeServiceConfigurations, initializeServiceModel, initializeWrappedSchema, isAnonymousWrapperTypes, isAsync, isFromWsdl, isHeader, isHolder, isInOutParam, isInParam, isMatchOperation, isOutParam, isPopulateFromClass, isQualifyWrapperSchema, isRPC, isValidMethod, isWrapped, isWrapped, isWrapperPartNillable, isWrapperPartQualified, processTypes, setAnonymousWrapperTypes, setConfigurations, setEndpointName, setExecutor, setFeatures, setIgnoredClasses, setIgnoredMethods, setInvoker, setMethodDispatcher, setPopulateFromClass, setProperties, setQualifyWrapperSchema, setSchemaLocations, setServiceConfigurations, setServiceName, setServiceProperties, setServiceType, setValidate, setWrapped, setWsdlURL, setWsdlURL, updateBindingOperation, validateServiceModel

    Methods inherited from class org.apache.cxf.service.factory.AbstractServiceFactoryBean

    getBus, getDataBinding, getDataBinding, getService, getSessionState, initializeDataBindings, sendEvent, setBus, setDataBinding, setService

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • JaxWsServiceFactoryBean

      public JaxWsServiceFactoryBean()
    • JaxWsServiceFactoryBean

      public JaxWsServiceFactoryBean(JaxWsImplementorInfo implInfo)
  • Method Details

    • reset

      public void reset()
      Overrides:
      reset in class org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean
    • create

      public org.apache.cxf.service.Service create()
      Overrides:
      create in class org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean
    • setServiceClass

      public void setServiceClass(Class<?> serviceClass)
      Overrides:
      setServiceClass in class org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean
    • checkServiceClassAnnotations

      protected void checkServiceClassAnnotations(Class<?> sc)
      Overrides:
      checkServiceClassAnnotations in class org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean
    • initializeFaultInterceptors

      protected void initializeFaultInterceptors()
      Overrides:
      initializeFaultInterceptors in class org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean
    • createEndpoint

      public org.apache.cxf.endpoint.Endpoint createEndpoint(org.apache.cxf.service.model.EndpointInfo ei) throws org.apache.cxf.endpoint.EndpointException
      Overrides:
      createEndpoint in class org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean
      Throws:
      org.apache.cxf.endpoint.EndpointException
    • initializeWSDLOperation

      protected void initializeWSDLOperation(org.apache.cxf.service.model.InterfaceInfo intf, org.apache.cxf.service.model.OperationInfo o, Method method)
      Overrides:
      initializeWSDLOperation in class org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean
    • bindOperation

      protected void bindOperation(org.apache.cxf.service.model.OperationInfo op, Method method)
      Overrides:
      bindOperation in class org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean
    • initializeWSDLOperations

      protected void initializeWSDLOperations()
      Overrides:
      initializeWSDLOperations in class org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean
    • initializeWSDLOperationsForProvider

      protected void initializeWSDLOperationsForProvider()
    • getProviderParameterType

      protected Class<?> getProviderParameterType(Class<?> cls)
    • getBeanClass

      protected Class<?> getBeanClass(Class<?> exClass)
      Overrides:
      getBeanClass in class org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean
    • setJaxWsConfiguration

      public void setJaxWsConfiguration(JaxWsServiceConfiguration jaxWsConfiguration)
    • getJaxWsImplementorInfo

      public JaxWsImplementorInfo getJaxWsImplementorInfo()
    • setJaxWsImplementorInfo

      public void setJaxWsImplementorInfo(JaxWsImplementorInfo jaxWsImplementorInfo)
    • initConfiguration

      protected final void initConfiguration(JaxWsImplementorInfo ii)
    • getWsFeatures

      public List<jakarta.xml.ws.WebServiceFeature> getWsFeatures()
    • setWsFeatures

      public void setWsFeatures(List<jakarta.xml.ws.WebServiceFeature> swsFeatures)
    • createOperation

      protected org.apache.cxf.service.model.OperationInfo createOperation(org.apache.cxf.service.model.ServiceInfo serviceInfo, org.apache.cxf.service.model.InterfaceInfo intf, Method m)
      Overrides:
      createOperation in class org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean
    • getExtraClass

      protected Set<Class<?>> getExtraClass()
      Overrides:
      getExtraClass in class org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean
    • buildServiceFromClass

      protected void buildServiceFromClass()
      Overrides:
      buildServiceFromClass in class org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean
    • initializeParameter

      protected void initializeParameter(org.apache.cxf.service.model.MessagePartInfo part, Class<?> rawClass, Type type)
      Overrides:
      initializeParameter in class org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean
    • createInvoker

      protected org.apache.cxf.service.invoker.Invoker createInvoker()
      Overrides:
      createInvoker in class org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean