Apache CXF API

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 Object


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

Field Detail

serviceNamespace

protected String serviceNamespace
Constructor Detail

AbstractServiceConfiguration

public AbstractServiceConfiguration()
Method Detail

getServiceFactory

public ReflectionServiceFactoryBean getServiceFactory()

setServiceFactory

public void setServiceFactory(ReflectionServiceFactoryBean serviceFactory)

getWsdlURL

public String getWsdlURL()

getServiceName

public String getServiceName()

getServiceNamespace

public String getServiceNamespace()

setServiceNamespace

public void setServiceNamespace(String s)

isOperation

public Boolean isOperation(Method method)

getStyle

public String getStyle()

isWrapped

public Boolean isWrapped()

isWrapped

public Boolean isWrapped(Method m)

isOutParam

public Boolean isOutParam(Method method,
                          int j)

isInParam

public Boolean isInParam(Method method,
                         int j)

getInputMessageName

public QName getInputMessageName(OperationInfo op,
                                 Method method)

getOutputMessageName

public QName getOutputMessageName(OperationInfo op,
                                  Method method)

hasOutMessage

public Boolean hasOutMessage(Method m)

getFaultName

public QName getFaultName(InterfaceInfo service,
                          OperationInfo o,
                          Class<?> exClass,
                          Class<?> beanClass)

getAction

public String getAction(OperationInfo op,
                        Method method)

isHeader

public Boolean isHeader(Method method,
                        int j)

getOperationName

public QName getOperationName(InterfaceInfo service,
                              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 String getMEP(Method method)

isAsync

public Boolean isAsync(Method method)

getInParameterName

public QName getInParameterName(OperationInfo op,
                                Method method,
                                int paramNumber)

getOutParameterName

public QName getOutParameterName(OperationInfo op,
                                 Method method,
                                 int paramNumber)

getInPartName

public QName getInPartName(OperationInfo op,
                           Method method,
                           int paramNumber)

getOutPartName

public QName getOutPartName(OperationInfo op,
                            Method method,
                            int paramNumber)

getInterfaceName

public QName getInterfaceName()

getEndpointName

public QName getEndpointName()

getRequestWrapperName

public QName getRequestWrapperName(OperationInfo op,
                                   Method method)

getResponseWrapperName

public QName getResponseWrapperName(OperationInfo op,
                                    Method method)

getResponseWrapperPartName

public String getResponseWrapperPartName(OperationInfo op,
                                         Method method)

getRequestWrapperPartName

public String getRequestWrapperPartName(OperationInfo op,
                                        Method method)

getResponseWrapper

public Class getResponseWrapper(Method selected)

getRequestWrapper

public Class getRequestWrapper(Method selected)

getResponseWrapperClassName

public String getResponseWrapperClassName(Method selected)

getRequestWrapperClassName

public String getRequestWrapperClassName(Method selected)

isRPC

public Boolean isRPC(Method selected)

isHolder

public Boolean isHolder(Class<?> cls,
                        Type type)

getHolderType

public Type getHolderType(Class<?> cls,
                          Type type)

isWrapperPartNillable

public Boolean isWrapperPartNillable(MessagePartInfo mpi)

isWrapperPartQualified

public Boolean isWrapperPartQualified(MessagePartInfo mpi)

getWrapperPartMaxOccurs

public Long getWrapperPartMaxOccurs(MessagePartInfo mpi)

getWrapperPartMinOccurs

public Long getWrapperPartMinOccurs(MessagePartInfo mpi)

getFaultMessageName

public String getFaultMessageName(OperationInfo op,
                                  Class<?> exClass,
                                  Class<?> beanClass)

Apache CXF API

Apache CXF