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
static String WS_FEATURES
           
 
Fields inherited from class org.apache.cxf.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
JaxWsServiceFactoryBean()
           
JaxWsServiceFactoryBean(JaxWsImplementorInfo implInfo)
           
 
Method Summary
protected  void bindOperation(OperationInfo op, Method method)
           
protected  void buildServiceFromClass()
           
protected  void checkServiceClassAnnotations(Class<?> sc)
           
 Service create()
           
 Endpoint createEndpoint(EndpointInfo ei)
           
protected  Invoker createInvoker()
           
protected  OperationInfo createOperation(ServiceInfo serviceInfo, InterfaceInfo intf, Method m)
           
protected  Class<?> getBeanClass(Class<?> exClass)
           
protected  Set<Class<?>> getExtraClass()
           
 JaxWsImplementorInfo getJaxWsImplementorInfo()
           
protected  Class<?> getProviderParameterType(Class<?> cls)
           
 List<javax.xml.ws.WebServiceFeature> getWsFeatures()
           
protected  void initConfiguration(JaxWsImplementorInfo ii)
           
protected  void initializeFaultInterceptors()
           
protected  void initializeParameter(MessagePartInfo part, Class<?> rawClass, Type type)
           
protected  void initializeWSDLOperation(InterfaceInfo intf, OperationInfo o, Method method)
           
protected  void initializeWSDLOperations()
           
protected  void initializeWSDLOperationsForProvider()
           
 void reset()
           
 void setJaxWsConfiguration(JaxWsServiceConfiguration jaxWsConfiguration)
           
 void setJaxWsImplementorInfo(JaxWsImplementorInfo jaxWsImplementorInfo)
           
 void setServiceClass(Class<?> serviceClass)
           
 void setWsFeatures(List<javax.xml.ws.WebServiceFeature> swsFeatures)
           
 
Methods inherited from class org.apache.cxf.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, isInParam, isMatchOperation, isOutParam, isPopulateFromClass, isQualifyWrapperSchema, isRPC, isValidMethod, isWrapped, isWrapped, isWrapperPartNillable, isWrapperPartQualified, processTypes, setAnonymousWrapperTypes, setConfigurations, setEndpointName, setExecutor, setFeatures, setIgnoredClasses, setIgnoredMethods, setInvoker, setMethodDispatcher, setOldMethodDispatcherProperty, 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 Detail

WS_FEATURES

public static final String WS_FEATURES
See Also:
Constant Field Values
Constructor Detail

JaxWsServiceFactoryBean

public JaxWsServiceFactoryBean()

JaxWsServiceFactoryBean

public JaxWsServiceFactoryBean(JaxWsImplementorInfo implInfo)
Method Detail

reset

public void reset()
Overrides:
reset in class ReflectionServiceFactoryBean

create

public Service create()
Overrides:
create in class ReflectionServiceFactoryBean

setServiceClass

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

checkServiceClassAnnotations

protected void checkServiceClassAnnotations(Class<?> sc)
Overrides:
checkServiceClassAnnotations 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,
                                       Method method)
Overrides:
initializeWSDLOperation in class ReflectionServiceFactoryBean

bindOperation

protected void bindOperation(OperationInfo op,
                             Method method)
Overrides:
bindOperation in class ReflectionServiceFactoryBean

initializeWSDLOperations

protected void initializeWSDLOperations()
Overrides:
initializeWSDLOperations in class ReflectionServiceFactoryBean

initializeWSDLOperationsForProvider

protected void initializeWSDLOperationsForProvider()

getProviderParameterType

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

getBeanClass

protected Class<?> getBeanClass(Class<?> exClass)
Overrides:
getBeanClass in class 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<javax.xml.ws.WebServiceFeature> getWsFeatures()

setWsFeatures

public void setWsFeatures(List<javax.xml.ws.WebServiceFeature> swsFeatures)

createOperation

protected OperationInfo createOperation(ServiceInfo serviceInfo,
                                        InterfaceInfo intf,
                                        Method m)
Overrides:
createOperation in class ReflectionServiceFactoryBean

getExtraClass

protected Set<Class<?>> getExtraClass()
Overrides:
getExtraClass in class ReflectionServiceFactoryBean

buildServiceFromClass

protected void buildServiceFromClass()
Overrides:
buildServiceFromClass in class ReflectionServiceFactoryBean

initializeParameter

protected void initializeParameter(MessagePartInfo part,
                                   Class<?> rawClass,
                                   Type type)
Overrides:
initializeParameter in class ReflectionServiceFactoryBean

createInvoker

protected Invoker createInvoker()
Overrides:
createInvoker in class ReflectionServiceFactoryBean

Apache CXF API

Apache CXF