Class DefaultServiceConfiguration
- java.lang.Object
-
- org.apache.cxf.wsdl.service.factory.AbstractServiceConfiguration
-
- org.apache.cxf.wsdl.service.factory.DefaultServiceConfiguration
-
public class DefaultServiceConfiguration extends AbstractServiceConfiguration
-
-
Field Summary
-
Fields inherited from class org.apache.cxf.wsdl.service.factory.AbstractServiceConfiguration
serviceNamespace
-
-
Constructor Summary
Constructors Constructor Description DefaultServiceConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringcreateName(Method method, int paramNumber, int currentSize, boolean addMethodName, String flow)QNamegetEndpointName()QNamegetFaultName(org.apache.cxf.service.model.InterfaceInfo service, org.apache.cxf.service.model.OperationInfo o, Class<?> exClass, Class<?> beanClass)Class<?>getHolderType(Class<?> cls, Type type)QNamegetInParameterName(org.apache.cxf.service.model.OperationInfo op, Method method, int paramNumber)QNamegetInPartName(org.apache.cxf.service.model.OperationInfo op, Method method, int paramNumber)QNamegetInputMessageName(org.apache.cxf.service.model.OperationInfo op, Method method)QNamegetInterfaceName()QNamegetOperationName(org.apache.cxf.service.model.InterfaceInfo service, Method method)Creates a name for the operation from the method name.QNamegetOutParameterName(org.apache.cxf.service.model.OperationInfo op, Method method, int paramNumber)QNamegetOutPartName(org.apache.cxf.service.model.OperationInfo op, Method method, int paramNumber)QNamegetOutputMessageName(org.apache.cxf.service.model.OperationInfo op, Method method)StringgetServiceName()StringgetServiceNamespace()LonggetWrapperPartMaxOccurs(org.apache.cxf.service.model.MessagePartInfo mpi)LonggetWrapperPartMinOccurs(org.apache.cxf.service.model.MessagePartInfo mpi)BooleanhasOutMessage(Method m)BooleanisAsync(Method method)BooleanisHeader(Method method, int j)BooleanisHolder(Class<?> cls, Type type)BooleanisInParam(Method method, int j)BooleanisOperation(Method method)BooleanisOutParam(Method method, int j)BooleanisWrapped(Method m)BooleanisWrapperPartNillable(org.apache.cxf.service.model.MessagePartInfo mpi)-
Methods inherited from class org.apache.cxf.wsdl.service.factory.AbstractServiceConfiguration
getAction, getFaultMessageName, getMEP, getRequestWrapper, getRequestWrapperClassName, getRequestWrapperName, getRequestWrapperPartName, getResponseWrapper, getResponseWrapperClassName, getResponseWrapperName, getResponseWrapperPartName, getServiceFactory, getStyle, getWsdlURL, isInOutParam, isRPC, isWrapped, isWrapperPartQualified, setServiceFactory, setServiceNamespace
-
-
-
-
Method Detail
-
getOperationName
public QName getOperationName(org.apache.cxf.service.model.InterfaceInfo service, Method method)
Description copied from class:AbstractServiceConfigurationCreates 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 nameddoSomething, the first one will have an operation name of "doSomething" and the second "doSomething1".- Overrides:
getOperationNamein classAbstractServiceConfiguration
-
getFaultName
public QName getFaultName(org.apache.cxf.service.model.InterfaceInfo service, org.apache.cxf.service.model.OperationInfo o, Class<?> exClass, Class<?> beanClass)
- Overrides:
getFaultNamein classAbstractServiceConfiguration
-
getInPartName
public QName getInPartName(org.apache.cxf.service.model.OperationInfo op, Method method, int paramNumber)
- Overrides:
getInPartNamein classAbstractServiceConfiguration
-
getOutPartName
public QName getOutPartName(org.apache.cxf.service.model.OperationInfo op, Method method, int paramNumber)
- Overrides:
getOutPartNamein classAbstractServiceConfiguration
-
getInParameterName
public QName getInParameterName(org.apache.cxf.service.model.OperationInfo op, Method method, int paramNumber)
- Overrides:
getInParameterNamein classAbstractServiceConfiguration
-
getInputMessageName
public QName getInputMessageName(org.apache.cxf.service.model.OperationInfo op, Method method)
- Overrides:
getInputMessageNamein classAbstractServiceConfiguration
-
getOutParameterName
public QName getOutParameterName(org.apache.cxf.service.model.OperationInfo op, Method method, int paramNumber)
- Overrides:
getOutParameterNamein classAbstractServiceConfiguration
-
createName
public static String createName(Method method, int paramNumber, int currentSize, boolean addMethodName, String flow)
-
getOutputMessageName
public QName getOutputMessageName(org.apache.cxf.service.model.OperationInfo op, Method method)
- Overrides:
getOutputMessageNamein classAbstractServiceConfiguration
-
getInterfaceName
public QName getInterfaceName()
- Overrides:
getInterfaceNamein classAbstractServiceConfiguration
-
getEndpointName
public QName getEndpointName()
- Overrides:
getEndpointNamein classAbstractServiceConfiguration
-
getServiceName
public String getServiceName()
- Overrides:
getServiceNamein classAbstractServiceConfiguration
-
getServiceNamespace
public String getServiceNamespace()
- Overrides:
getServiceNamespacein classAbstractServiceConfiguration
-
hasOutMessage
public Boolean hasOutMessage(Method m)
- Overrides:
hasOutMessagein classAbstractServiceConfiguration
-
isAsync
public Boolean isAsync(Method method)
- Overrides:
isAsyncin classAbstractServiceConfiguration
-
isHeader
public Boolean isHeader(Method method, int j)
- Overrides:
isHeaderin classAbstractServiceConfiguration
-
isInParam
public Boolean isInParam(Method method, int j)
- Overrides:
isInParamin classAbstractServiceConfiguration
-
isOperation
public Boolean isOperation(Method method)
- Overrides:
isOperationin classAbstractServiceConfiguration
-
isOutParam
public Boolean isOutParam(Method method, int j)
- Overrides:
isOutParamin classAbstractServiceConfiguration
-
isWrapped
public Boolean isWrapped(Method m)
- Overrides:
isWrappedin classAbstractServiceConfiguration
-
isHolder
public Boolean isHolder(Class<?> cls, Type type)
- Overrides:
isHolderin classAbstractServiceConfiguration
-
getHolderType
public Class<?> getHolderType(Class<?> cls, Type type)
- Overrides:
getHolderTypein classAbstractServiceConfiguration
-
isWrapperPartNillable
public Boolean isWrapperPartNillable(org.apache.cxf.service.model.MessagePartInfo mpi)
- Overrides:
isWrapperPartNillablein classAbstractServiceConfiguration
-
getWrapperPartMaxOccurs
public Long getWrapperPartMaxOccurs(org.apache.cxf.service.model.MessagePartInfo mpi)
- Overrides:
getWrapperPartMaxOccursin classAbstractServiceConfiguration
-
getWrapperPartMinOccurs
public Long getWrapperPartMinOccurs(org.apache.cxf.service.model.MessagePartInfo mpi)
- Overrides:
getWrapperPartMinOccursin classAbstractServiceConfiguration
-
-