Apache CXF API

org.apache.cxf.jaxws.support
Class JaxWsServiceFactoryBean

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

public class JaxWsServiceFactoryBean
extends ReflectionServiceFactoryBean

Constructs a service model from JAX-WS service endpoint classes. Works with both @@WebServiceProvider and @@WebService annotated classes.

See Also:
JaxWsServerFactoryBean

Field Summary
 
Fields inherited from class org.apache.cxf.service.factory.ReflectionServiceFactoryBean
ELEMENT_NAME, ENDPOINT_CLASS, GENERIC_TYPE, HEADER, HOLDER, METHOD, MODE_INOUT, MODE_OUT, serviceClass, wsdlURL
 
Constructor Summary
JaxWsServiceFactoryBean()
           
JaxWsServiceFactoryBean(JaxWsImplementorInfo implInfo)
           
 
Method Summary
 Service create()
           
 Endpoint createEndpoint(EndpointInfo ei)
           
protected  Invoker createInvoker()
           
protected  java.lang.Class<?> getBeanClass(java.lang.Class<?> exClass)
           
 JaxWsImplementorInfo getJaxWsImplementorInfo()
           
protected  SimpleMethodDispatcher getMethodDispatcher()
           
protected  void initConfiguration(JaxWsImplementorInfo ii)
           
protected  void initializeClassInfo(OperationInfo o, java.lang.reflect.Method method, java.util.List<java.lang.String> paramOrder)
          set the holder generic type info into message part info
protected  void initializeDefaultInterceptors()
           
protected  void initializeFaultInterceptors()
           
protected  void initializeWSDLOperation(InterfaceInfo intf, OperationInfo o, java.lang.reflect.Method method)
           
protected  void initializeWSDLOperations()
           
protected  void initializeWSDLOperationsForProvider()
           
 void setJaxWsConfiguration(JaxWsServiceConfiguration jaxWsConfiguration)
           
 void setJaxWsImplementorInfo(JaxWsImplementorInfo jaxWsImplementorInfo)
           
 void setServiceClass(java.lang.Class<?> serviceClass)
           
 
Methods inherited from class org.apache.cxf.service.factory.ReflectionServiceFactoryBean
addFault, buildServiceFromClass, buildServiceFromWSDL, checkForElement, createBareMessage, createEndpoints, createFaultForException, createInputWrappedMessageParts, createInterface, createMessageParts, createOperation, createOutputMessageName, createOutputWrappedMessageParts, createServiceInfo, createWrappedSchema, getAction, getAnonymousWrapperTypes, getConfigurations, getEndpointInfo, getEndpointName, getExecutor, getFaultName, getHolderClass, getIgnoredClasses, getIgnoredMethods, getInParameterName, getInPartName, getInputMessageName, getInterfaceInfo, getInterfaceName, getInvoker, getOperationName, getOutParameterName, getOutPartName, getProperties, getQualifyWrapperSchema, getRequestWrapper, getRequestWrapperClassName, getResponseWrapper, getResponseWrapperClassName, getServiceClass, getServiceConfigurations, getServiceName, getServiceNamespace, getServiceQName, getStyle, getWrapped, getWsdlURL, hasOutMessage, initializeFaults, initializeParameter, initializeServiceConfigurations, initializeServiceModel, initializeWrappedSchema, isAnonymousWrapperTypes, isAsync, isHeader, isInParam, isMatchOperation, isOutParam, isPopulateFromClass, isQualifyWrapperSchema, isRPC, isValidMethod, isWrapped, isWrapped, setAnonymousWrapperTypes, setConfigurations, setEndpointName, setExecutor, setIgnoredClasses, setIgnoredMethods, setInvoker, setPopulateFromClass, setProperties, setQualifyWrapperSchema, setServiceConfigurations, setServiceName, setWrapped, setWsdlURL, setWsdlURL, validateServiceModel
 
Methods inherited from class org.apache.cxf.service.factory.AbstractServiceFactoryBean
getBus, getDataBinding, getService, initializeDataBindings, setBus, setDataBinding, setService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaxWsServiceFactoryBean

public JaxWsServiceFactoryBean()

JaxWsServiceFactoryBean

public JaxWsServiceFactoryBean(JaxWsImplementorInfo implInfo)
Method Detail

create

public Service create()
Overrides:
create in class ReflectionServiceFactoryBean

createInvoker

protected Invoker createInvoker()
Overrides:
createInvoker in class ReflectionServiceFactoryBean

getMethodDispatcher

protected SimpleMethodDispatcher getMethodDispatcher()
Overrides:
getMethodDispatcher in class ReflectionServiceFactoryBean

setServiceClass

public void setServiceClass(java.lang.Class<?> serviceClass)
Overrides:
setServiceClass in class ReflectionServiceFactoryBean

initializeDefaultInterceptors

protected void initializeDefaultInterceptors()
Overrides:
initializeDefaultInterceptors in class ReflectionServiceFactoryBean

initializeFaultInterceptors

protected void initializeFaultInterceptors()
Overrides:
initializeFaultInterceptors in class ReflectionServiceFactoryBean

createEndpoint

public Endpoint createEndpoint(EndpointInfo ei)
                        throws EndpointException
Overrides:
createEndpoint in class ReflectionServiceFactoryBean
Throws:
EndpointException

initializeWSDLOperation

protected void initializeWSDLOperation(InterfaceInfo intf,
                                       OperationInfo o,
                                       java.lang.reflect.Method method)
Overrides:
initializeWSDLOperation in class ReflectionServiceFactoryBean

initializeWSDLOperations

protected void initializeWSDLOperations()
Overrides:
initializeWSDLOperations in class ReflectionServiceFactoryBean

initializeWSDLOperationsForProvider

protected void initializeWSDLOperationsForProvider()

getBeanClass

protected java.lang.Class<?> getBeanClass(java.lang.Class<?> exClass)
Overrides:
getBeanClass in class ReflectionServiceFactoryBean

initializeClassInfo

protected void initializeClassInfo(OperationInfo o,
                                   java.lang.reflect.Method method,
                                   java.util.List<java.lang.String> paramOrder)
set the holder generic type info into message part info

Parameters:
o -
method -

setJaxWsConfiguration

public void setJaxWsConfiguration(JaxWsServiceConfiguration jaxWsConfiguration)

getJaxWsImplementorInfo

public JaxWsImplementorInfo getJaxWsImplementorInfo()

setJaxWsImplementorInfo

public void setJaxWsImplementorInfo(JaxWsImplementorInfo jaxWsImplementorInfo)

initConfiguration

protected final void initConfiguration(JaxWsImplementorInfo ii)

Apache CXF API

Apache CXF is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache Incubator PMC.