Apache CXF API

org.apache.cxf.service.factory
Class DefaultServiceConfiguration

java.lang.Object
  extended by org.apache.cxf.service.factory.AbstractServiceConfiguration
      extended by org.apache.cxf.service.factory.DefaultServiceConfiguration

public class DefaultServiceConfiguration
extends AbstractServiceConfiguration


Field Summary
 
Fields inherited from class org.apache.cxf.service.factory.AbstractServiceConfiguration
serviceNamespace
 
Constructor Summary
DefaultServiceConfiguration()
           
 
Method Summary
static String createName(Method method, int paramNumber, int currentSize, boolean addMethodName, String flow)
           
 QName getEndpointName()
           
 QName getFaultName(InterfaceInfo service, OperationInfo o, Class<?> exClass, Class<?> beanClass)
           
 Class<?> 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()
           
 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)
           
 String getServiceName()
           
 String getServiceNamespace()
           
 Long getWrapperPartMaxOccurs(MessagePartInfo mpi)
           
 Long getWrapperPartMinOccurs(MessagePartInfo mpi)
           
 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 isWrapped(Method m)
           
 Boolean isWrapperPartNillable(MessagePartInfo mpi)
           
 
Methods inherited from class org.apache.cxf.service.factory.AbstractServiceConfiguration
getAction, getFaultMessageName, getMEP, getRequestWrapper, getRequestWrapperClassName, getRequestWrapperName, getRequestWrapperPartName, getResponseWrapper, getResponseWrapperClassName, getResponseWrapperName, getResponseWrapperPartName, getServiceFactory, getStyle, getWsdlURL, isRPC, isWrapped, isWrapperPartQualified, setServiceFactory, setServiceNamespace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultServiceConfiguration

public DefaultServiceConfiguration()
Method Detail

getOperationName

public QName getOperationName(InterfaceInfo service,
                              Method method)
Description copied from class: AbstractServiceConfiguration
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".

Overrides:
getOperationName in class AbstractServiceConfiguration

getFaultName

public QName getFaultName(InterfaceInfo service,
                          OperationInfo o,
                          Class<?> exClass,
                          Class<?> beanClass)
Overrides:
getFaultName in class AbstractServiceConfiguration

getInPartName

public QName getInPartName(OperationInfo op,
                           Method method,
                           int paramNumber)
Overrides:
getInPartName in class AbstractServiceConfiguration

getOutPartName

public QName getOutPartName(OperationInfo op,
                            Method method,
                            int paramNumber)
Overrides:
getOutPartName in class AbstractServiceConfiguration

getInParameterName

public QName getInParameterName(OperationInfo op,
                                Method method,
                                int paramNumber)
Overrides:
getInParameterName in class AbstractServiceConfiguration

getInputMessageName

public QName getInputMessageName(OperationInfo op,
                                 Method method)
Overrides:
getInputMessageName in class AbstractServiceConfiguration

getOutParameterName

public QName getOutParameterName(OperationInfo op,
                                 Method method,
                                 int paramNumber)
Overrides:
getOutParameterName in class AbstractServiceConfiguration

createName

public static String createName(Method method,
                                int paramNumber,
                                int currentSize,
                                boolean addMethodName,
                                String flow)

getOutputMessageName

public QName getOutputMessageName(OperationInfo op,
                                  Method method)
Overrides:
getOutputMessageName in class AbstractServiceConfiguration

getInterfaceName

public QName getInterfaceName()
Overrides:
getInterfaceName in class AbstractServiceConfiguration

getEndpointName

public QName getEndpointName()
Overrides:
getEndpointName in class AbstractServiceConfiguration

getServiceName

public String getServiceName()
Overrides:
getServiceName in class AbstractServiceConfiguration

getServiceNamespace

public String getServiceNamespace()
Overrides:
getServiceNamespace in class AbstractServiceConfiguration

hasOutMessage

public Boolean hasOutMessage(Method m)
Overrides:
hasOutMessage in class AbstractServiceConfiguration

isAsync

public Boolean isAsync(Method method)
Overrides:
isAsync in class AbstractServiceConfiguration

isHeader

public Boolean isHeader(Method method,
                        int j)
Overrides:
isHeader in class AbstractServiceConfiguration

isInParam

public Boolean isInParam(Method method,
                         int j)
Overrides:
isInParam in class AbstractServiceConfiguration

isOperation

public Boolean isOperation(Method method)
Overrides:
isOperation in class AbstractServiceConfiguration

isOutParam

public Boolean isOutParam(Method method,
                          int j)
Overrides:
isOutParam in class AbstractServiceConfiguration

isWrapped

public Boolean isWrapped(Method m)
Overrides:
isWrapped in class AbstractServiceConfiguration

isHolder

public Boolean isHolder(Class<?> cls,
                        Type type)
Overrides:
isHolder in class AbstractServiceConfiguration

getHolderType

public Class<?> getHolderType(Class<?> cls,
                              Type type)
Overrides:
getHolderType in class AbstractServiceConfiguration

isWrapperPartNillable

public Boolean isWrapperPartNillable(MessagePartInfo mpi)
Overrides:
isWrapperPartNillable in class AbstractServiceConfiguration

getWrapperPartMaxOccurs

public Long getWrapperPartMaxOccurs(MessagePartInfo mpi)
Overrides:
getWrapperPartMaxOccurs in class AbstractServiceConfiguration

getWrapperPartMinOccurs

public Long getWrapperPartMinOccurs(MessagePartInfo mpi)
Overrides:
getWrapperPartMinOccurs in class AbstractServiceConfiguration

Apache CXF API

Apache CXF