org.codehaus.xfire.jaxws
Class JAXWSServiceFactory

java.lang.Object
  extended by org.codehaus.xfire.service.binding.ObjectServiceFactory
      extended by org.codehaus.xfire.annotations.AnnotationServiceFactory
          extended by org.codehaus.xfire.jaxws.JAXWSServiceFactory
All Implemented Interfaces:
org.codehaus.xfire.service.ServiceFactory

public class JAXWSServiceFactory
extends org.codehaus.xfire.annotations.AnnotationServiceFactory

Creates JAX-WS services from a service class.

Author:
Dan Diephouse

Field Summary
 
Fields inherited from class org.codehaus.xfire.annotations.AnnotationServiceFactory
ALLOW_INTERFACE
 
Fields inherited from class org.codehaus.xfire.service.binding.ObjectServiceFactory
CREATE_DEFAULT_BINDINGS, PORT_NAME, PORT_TYPE, SCHEMAS, SCOPE, SOAP11_TRANSPORTS, SOAP12_TRANSPORTS, STYLE, USE
 
Constructor Summary
JAXWSServiceFactory()
           
JAXWSServiceFactory(org.codehaus.xfire.transport.TransportManager transportManager)
           
 
Method Summary
protected  org.codehaus.xfire.service.FaultInfo addFault(org.codehaus.xfire.service.Service service, org.codehaus.xfire.service.OperationInfo op, java.lang.Class exClazz)
           
protected  org.codehaus.xfire.service.OperationInfo addOperation(org.codehaus.xfire.service.Service endpoint, java.lang.reflect.Method method, java.lang.String style)
           
 void createBindingOperation(org.codehaus.xfire.service.Service service, org.codehaus.xfire.soap.AbstractSoapBinding binding, org.codehaus.xfire.service.OperationInfo op)
           
protected  javax.xml.namespace.QName createInputMessageName(org.codehaus.xfire.service.OperationInfo op)
           
protected  javax.xml.namespace.QName createOutputMessageName(org.codehaus.xfire.service.OperationInfo op)
           
protected  javax.xml.namespace.QName getFaultName(org.codehaus.xfire.service.Service service, org.codehaus.xfire.service.OperationInfo o, java.lang.Class exClass, java.lang.Class beanClass)
           
 java.lang.String getOperationName(org.codehaus.xfire.service.ServiceInfo service, java.lang.reflect.Method method)
           
protected  org.codehaus.xfire.exchange.MessageSerializer getSerializer(org.codehaus.xfire.soap.AbstractSoapBinding binding)
           
protected  boolean isFaultInfoClass(java.lang.Class exClass)
           
protected  void registerHandlers(org.codehaus.xfire.service.Service service)
           
 
Methods inherited from class org.codehaus.xfire.annotations.AnnotationServiceFactory
create, create, createPortType, createServiceName, createServiceNamespace, getAnnotations, getValidator, loadClass, setValidator
 
Methods inherited from class org.codehaus.xfire.service.binding.ObjectServiceFactory
addIgnoredMethods, addSoap11Transport, addSoap12Transport, configureHeaders, create, create, create, create, createBindings, createDocumentationProvider, createEndpoint, createSoap11Binding, createSoap12Binding, createSoapBinding, getAction, getBindingProvider, getCustomTypesMapping, getDocumentationProvider, getIgnoredClasses, getInParameterName, getMEP, getOutParameterName, getServiceConfigurations, getSoap11Transports, getSoap12Transports, getStyle, getTargetNamespace, getTransportManager, getUse, getWsdlBuilderFactory, hasOutMessage, initializeFaults, initializeOperations, isAsync, isBindingCreationEnabled, isCustomFaultsEnabled, isHeader, isInParam, isOutParam, isValidMethod, isVoidOneWay, makeServiceNameFromClassName, setBindingCreationEnabled, setBindingProvider, setCustomFaultsEnabled, setCustomTypesMapping, setDocumentationProvider, setServiceConfigurations, setStyle, setTransportManager, setUse, setVoidOneWay, setWsdlBuilderFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.xfire.service.ServiceFactory
create, create, create
 

Constructor Detail

JAXWSServiceFactory

public JAXWSServiceFactory()

JAXWSServiceFactory

public JAXWSServiceFactory(org.codehaus.xfire.transport.TransportManager transportManager)
Method Detail

getOperationName

public java.lang.String getOperationName(org.codehaus.xfire.service.ServiceInfo service,
                                         java.lang.reflect.Method method)
Overrides:
getOperationName in class org.codehaus.xfire.service.binding.ObjectServiceFactory

registerHandlers

protected void registerHandlers(org.codehaus.xfire.service.Service service)
Overrides:
registerHandlers in class org.codehaus.xfire.service.binding.ObjectServiceFactory

addOperation

protected org.codehaus.xfire.service.OperationInfo addOperation(org.codehaus.xfire.service.Service endpoint,
                                                                java.lang.reflect.Method method,
                                                                java.lang.String style)
Overrides:
addOperation in class org.codehaus.xfire.service.binding.ObjectServiceFactory

addFault

protected org.codehaus.xfire.service.FaultInfo addFault(org.codehaus.xfire.service.Service service,
                                                        org.codehaus.xfire.service.OperationInfo op,
                                                        java.lang.Class exClazz)
Overrides:
addFault in class org.codehaus.xfire.service.binding.ObjectServiceFactory

isFaultInfoClass

protected boolean isFaultInfoClass(java.lang.Class exClass)
Overrides:
isFaultInfoClass in class org.codehaus.xfire.service.binding.ObjectServiceFactory

getFaultName

protected javax.xml.namespace.QName getFaultName(org.codehaus.xfire.service.Service service,
                                                 org.codehaus.xfire.service.OperationInfo o,
                                                 java.lang.Class exClass,
                                                 java.lang.Class beanClass)
Overrides:
getFaultName in class org.codehaus.xfire.service.binding.ObjectServiceFactory

getSerializer

protected org.codehaus.xfire.exchange.MessageSerializer getSerializer(org.codehaus.xfire.soap.AbstractSoapBinding binding)
Overrides:
getSerializer in class org.codehaus.xfire.service.binding.ObjectServiceFactory

createBindingOperation

public void createBindingOperation(org.codehaus.xfire.service.Service service,
                                   org.codehaus.xfire.soap.AbstractSoapBinding binding,
                                   org.codehaus.xfire.service.OperationInfo op)
Overrides:
createBindingOperation in class org.codehaus.xfire.service.binding.ObjectServiceFactory

createInputMessageName

protected javax.xml.namespace.QName createInputMessageName(org.codehaus.xfire.service.OperationInfo op)
Overrides:
createInputMessageName in class org.codehaus.xfire.service.binding.ObjectServiceFactory

createOutputMessageName

protected javax.xml.namespace.QName createOutputMessageName(org.codehaus.xfire.service.OperationInfo op)
Overrides:
createOutputMessageName in class org.codehaus.xfire.service.binding.ObjectServiceFactory


Copyright © 2004-2010. All Rights Reserved.