org.apache.cxf.service.factory
Class AbstractServiceConfiguration

java.lang.Object
  extended by org.apache.cxf.service.factory.AbstractServiceConfiguration
Direct Known Subclasses:
AegisServiceConfiguration, DefaultServiceConfiguration, JaxWsServiceConfiguration, MethodNameSoapActionServiceConfiguration, WSDLBasedServiceConfiguration, XFireCompatibilityServiceConfiguration

public abstract class AbstractServiceConfiguration
extends java.lang.Object


Field Summary
protected  java.lang.String serviceNamespace
           
 
Constructor Summary
AbstractServiceConfiguration()
           
 
Method Summary
 java.lang.String getAction(OperationInfo op, java.lang.reflect.Method method)
           
 javax.xml.namespace.QName getEndpointName()
           
 javax.xml.namespace.QName getFaultName(InterfaceInfo service, OperationInfo o, java.lang.Class<?> exClass, java.lang.Class<?> beanClass)
           
 java.lang.reflect.Type getHolderType(java.lang.Class<?> cls, java.lang.reflect.Type type)
           
 javax.xml.namespace.QName getInParameterName(OperationInfo op, java.lang.reflect.Method method, int paramNumber)
           
 javax.xml.namespace.QName getInPartName(OperationInfo op, java.lang.reflect.Method method, int paramNumber)
           
 javax.xml.namespace.QName getInputMessageName(OperationInfo op, java.lang.reflect.Method method)
           
 javax.xml.namespace.QName getInterfaceName()
           
 java.lang.String getMEP(java.lang.reflect.Method method)
           
 javax.xml.namespace.QName getOperationName(InterfaceInfo service, java.lang.reflect.Method method)
          Creates a name for the operation from the method name.
 javax.xml.namespace.QName getOutParameterName(OperationInfo op, java.lang.reflect.Method method, int paramNumber)
           
 javax.xml.namespace.QName getOutPartName(OperationInfo op, java.lang.reflect.Method method, int paramNumber)
           
 javax.xml.namespace.QName getOutputMessageName(OperationInfo op, java.lang.reflect.Method method)
           
 java.lang.Class getRequestWrapper(java.lang.reflect.Method selected)
           
 java.lang.String getRequestWrapperClassName(java.lang.reflect.Method selected)
           
 javax.xml.namespace.QName getRequestWrapperName(OperationInfo op, java.lang.reflect.Method method)
           
 java.lang.Class getResponseWrapper(java.lang.reflect.Method selected)
           
 java.lang.String getResponseWrapperClassName(java.lang.reflect.Method selected)
           
 javax.xml.namespace.QName getResponseWrapperName(OperationInfo op, java.lang.reflect.Method method)
           
 java.lang.String getResponseWrapperPartName(OperationInfo op, java.lang.reflect.Method method)
           
 ReflectionServiceFactoryBean getServiceFactory()
           
 java.lang.String getServiceName()
           
 java.lang.String getServiceNamespace()
           
 java.lang.String getStyle()
           
 java.lang.Long getWrapperPartMaxOccurs(MessagePartInfo mpi)
           
 java.lang.Long getWrapperPartMinOccurs(MessagePartInfo mpi)
           
 java.lang.String getWsdlURL()
           
 java.lang.Boolean hasOutMessage(java.lang.reflect.Method m)
           
 java.lang.Boolean isAsync(java.lang.reflect.Method method)
           
 java.lang.Boolean isHeader(java.lang.reflect.Method method, int j)
           
 java.lang.Boolean isHolder(java.lang.Class<?> cls, java.lang.reflect.Type type)
           
 java.lang.Boolean isInParam(java.lang.reflect.Method method, int j)
           
 java.lang.Boolean isOperation(java.lang.reflect.Method method)
           
 java.lang.Boolean isOutParam(java.lang.reflect.Method method, int j)
           
 java.lang.Boolean isRPC(java.lang.reflect.Method selected)
           
 java.lang.Boolean isWrapped()
           
 java.lang.Boolean isWrapped(java.lang.reflect.Method m)
           
 java.lang.Boolean isWrapperPartNillable(MessagePartInfo mpi)
           
 java.lang.Boolean isWrapperPartQualified(MessagePartInfo mpi)
           
 void setServiceFactory(ReflectionServiceFactoryBean serviceFactory)
           
 void setServiceNamespace(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceNamespace

protected java.lang.String serviceNamespace
Constructor Detail

AbstractServiceConfiguration

public AbstractServiceConfiguration()
Method Detail

getServiceFactory

public ReflectionServiceFactoryBean getServiceFactory()

setServiceFactory

public void setServiceFactory(ReflectionServiceFactoryBean serviceFactory)

getWsdlURL

public java.lang.String getWsdlURL()

getServiceName

public java.lang.String getServiceName()

getServiceNamespace

public java.lang.String getServiceNamespace()

setServiceNamespace

public void setServiceNamespace(java.lang.String s)

isOperation

public java.lang.Boolean isOperation(java.lang.reflect.Method method)

getStyle

public java.lang.String getStyle()

isWrapped

public java.lang.Boolean isWrapped()

isWrapped

public java.lang.Boolean isWrapped(java.lang.reflect.Method m)

isOutParam

public java.lang.Boolean isOutParam(java.lang.reflect.Method method,
                                    int j)

isInParam

public java.lang.Boolean isInParam(java.lang.reflect.Method method,
                                   int j)

getInputMessageName

public javax.xml.namespace.QName getInputMessageName(OperationInfo op,
                                                     java.lang.reflect.Method method)

getOutputMessageName

public javax.xml.namespace.QName getOutputMessageName(OperationInfo op,
                                                      java.lang.reflect.Method method)

hasOutMessage

public java.lang.Boolean hasOutMessage(java.lang.reflect.Method m)

getFaultName

public javax.xml.namespace.QName getFaultName(InterfaceInfo service,
                                              OperationInfo o,
                                              java.lang.Class<?> exClass,
                                              java.lang.Class<?> beanClass)

getAction

public java.lang.String getAction(OperationInfo op,
                                  java.lang.reflect.Method method)

isHeader

public java.lang.Boolean isHeader(java.lang.reflect.Method method,
                                  int j)

getOperationName

public javax.xml.namespace.QName getOperationName(InterfaceInfo service,
                                                  java.lang.reflect.Method method)
Creates a name for the operation from the method name. If an operation with that name already exists, a name is create by appending an integer to the end. I.e. if there is already two methods named doSomething, the first one will have an operation name of "doSomething" and the second "doSomething1".

Parameters:
service -
method -

getMEP

public java.lang.String getMEP(java.lang.reflect.Method method)

isAsync

public java.lang.Boolean isAsync(java.lang.reflect.Method method)

getInParameterName

public javax.xml.namespace.QName getInParameterName(OperationInfo op,
                                                    java.lang.reflect.Method method,
                                                    int paramNumber)

getOutParameterName

public javax.xml.namespace.QName getOutParameterName(OperationInfo op,
                                                     java.lang.reflect.Method method,
                                                     int paramNumber)

getInPartName

public javax.xml.namespace.QName getInPartName(OperationInfo op,
                                               java.lang.reflect.Method method,
                                               int paramNumber)

getOutPartName

public javax.xml.namespace.QName getOutPartName(OperationInfo op,
                                                java.lang.reflect.Method method,
                                                int paramNumber)

getInterfaceName

public javax.xml.namespace.QName getInterfaceName()

getEndpointName

public javax.xml.namespace.QName getEndpointName()

getRequestWrapperName

public javax.xml.namespace.QName getRequestWrapperName(OperationInfo op,
                                                       java.lang.reflect.Method method)

getResponseWrapperName

public javax.xml.namespace.QName getResponseWrapperName(OperationInfo op,
                                                        java.lang.reflect.Method method)

getResponseWrapperPartName

public java.lang.String getResponseWrapperPartName(OperationInfo op,
                                                   java.lang.reflect.Method method)

getResponseWrapper

public java.lang.Class getResponseWrapper(java.lang.reflect.Method selected)

getRequestWrapper

public java.lang.Class getRequestWrapper(java.lang.reflect.Method selected)

getResponseWrapperClassName

public java.lang.String getResponseWrapperClassName(java.lang.reflect.Method selected)

getRequestWrapperClassName

public java.lang.String getRequestWrapperClassName(java.lang.reflect.Method selected)

isRPC

public java.lang.Boolean isRPC(java.lang.reflect.Method selected)

isHolder

public java.lang.Boolean isHolder(java.lang.Class<?> cls,
                                  java.lang.reflect.Type type)

getHolderType

public java.lang.reflect.Type getHolderType(java.lang.Class<?> cls,
                                            java.lang.reflect.Type type)

isWrapperPartNillable

public java.lang.Boolean isWrapperPartNillable(MessagePartInfo mpi)

isWrapperPartQualified

public java.lang.Boolean isWrapperPartQualified(MessagePartInfo mpi)

getWrapperPartMaxOccurs

public java.lang.Long getWrapperPartMaxOccurs(MessagePartInfo mpi)

getWrapperPartMinOccurs

public java.lang.Long getWrapperPartMinOccurs(MessagePartInfo mpi)


Apache CXF