org.apache.cxf.service.factory
Class DefaultServiceConfiguration
java.lang.Object
org.apache.cxf.service.factory.AbstractServiceConfiguration
org.apache.cxf.service.factory.DefaultServiceConfiguration
public class DefaultServiceConfiguration
- extends AbstractServiceConfiguration
Method Summary |
static java.lang.String |
createName(java.lang.reflect.Method method,
int paramNumber,
int currentSize,
boolean addMethodName,
java.lang.String flow)
|
javax.xml.namespace.QName |
getEndpointName()
|
javax.xml.namespace.QName |
getFaultName(InterfaceInfo service,
OperationInfo o,
java.lang.Class<?> exClass,
java.lang.Class<?> beanClass)
|
java.lang.Class<?> |
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()
|
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.String |
getServiceName()
|
java.lang.String |
getServiceNamespace()
|
java.lang.Long |
getWrapperPartMaxOccurs(MessagePartInfo mpi)
|
java.lang.Long |
getWrapperPartMinOccurs(MessagePartInfo mpi)
|
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 |
isWrapped(java.lang.reflect.Method m)
|
java.lang.Boolean |
isWrapperPartNillable(MessagePartInfo mpi)
|
Methods inherited from class org.apache.cxf.service.factory.AbstractServiceConfiguration |
getAction, getMEP, getRequestWrapper, getRequestWrapperClassName, getRequestWrapperName, 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 |
DefaultServiceConfiguration
public DefaultServiceConfiguration()
getOperationName
public javax.xml.namespace.QName getOperationName(InterfaceInfo service,
java.lang.reflect.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 javax.xml.namespace.QName getFaultName(InterfaceInfo service,
OperationInfo o,
java.lang.Class<?> exClass,
java.lang.Class<?> beanClass)
- Overrides:
getFaultName
in class AbstractServiceConfiguration
getInPartName
public javax.xml.namespace.QName getInPartName(OperationInfo op,
java.lang.reflect.Method method,
int paramNumber)
- Overrides:
getInPartName
in class AbstractServiceConfiguration
getOutPartName
public javax.xml.namespace.QName getOutPartName(OperationInfo op,
java.lang.reflect.Method method,
int paramNumber)
- Overrides:
getOutPartName
in class AbstractServiceConfiguration
getInParameterName
public javax.xml.namespace.QName getInParameterName(OperationInfo op,
java.lang.reflect.Method method,
int paramNumber)
- Overrides:
getInParameterName
in class AbstractServiceConfiguration
getInputMessageName
public javax.xml.namespace.QName getInputMessageName(OperationInfo op,
java.lang.reflect.Method method)
- Overrides:
getInputMessageName
in class AbstractServiceConfiguration
getOutParameterName
public javax.xml.namespace.QName getOutParameterName(OperationInfo op,
java.lang.reflect.Method method,
int paramNumber)
- Overrides:
getOutParameterName
in class AbstractServiceConfiguration
createName
public static java.lang.String createName(java.lang.reflect.Method method,
int paramNumber,
int currentSize,
boolean addMethodName,
java.lang.String flow)
getOutputMessageName
public javax.xml.namespace.QName getOutputMessageName(OperationInfo op,
java.lang.reflect.Method method)
- Overrides:
getOutputMessageName
in class AbstractServiceConfiguration
getInterfaceName
public javax.xml.namespace.QName getInterfaceName()
- Overrides:
getInterfaceName
in class AbstractServiceConfiguration
getEndpointName
public javax.xml.namespace.QName getEndpointName()
- Overrides:
getEndpointName
in class AbstractServiceConfiguration
getServiceName
public java.lang.String getServiceName()
- Overrides:
getServiceName
in class AbstractServiceConfiguration
getServiceNamespace
public java.lang.String getServiceNamespace()
- Overrides:
getServiceNamespace
in class AbstractServiceConfiguration
hasOutMessage
public java.lang.Boolean hasOutMessage(java.lang.reflect.Method m)
- Overrides:
hasOutMessage
in class AbstractServiceConfiguration
isAsync
public java.lang.Boolean isAsync(java.lang.reflect.Method method)
- Overrides:
isAsync
in class AbstractServiceConfiguration
isHeader
public java.lang.Boolean isHeader(java.lang.reflect.Method method,
int j)
- Overrides:
isHeader
in class AbstractServiceConfiguration
isInParam
public java.lang.Boolean isInParam(java.lang.reflect.Method method,
int j)
- Overrides:
isInParam
in class AbstractServiceConfiguration
isOperation
public java.lang.Boolean isOperation(java.lang.reflect.Method method)
- Overrides:
isOperation
in class AbstractServiceConfiguration
isOutParam
public java.lang.Boolean isOutParam(java.lang.reflect.Method method,
int j)
- Overrides:
isOutParam
in class AbstractServiceConfiguration
isWrapped
public java.lang.Boolean isWrapped(java.lang.reflect.Method m)
- Overrides:
isWrapped
in class AbstractServiceConfiguration
isHolder
public java.lang.Boolean isHolder(java.lang.Class<?> cls,
java.lang.reflect.Type type)
- Overrides:
isHolder
in class AbstractServiceConfiguration
getHolderType
public java.lang.Class<?> getHolderType(java.lang.Class<?> cls,
java.lang.reflect.Type type)
- Overrides:
getHolderType
in class AbstractServiceConfiguration
isWrapperPartNillable
public java.lang.Boolean isWrapperPartNillable(MessagePartInfo mpi)
- Overrides:
isWrapperPartNillable
in class AbstractServiceConfiguration
getWrapperPartMaxOccurs
public java.lang.Long getWrapperPartMaxOccurs(MessagePartInfo mpi)
- Overrides:
getWrapperPartMaxOccurs
in class AbstractServiceConfiguration
getWrapperPartMinOccurs
public java.lang.Long getWrapperPartMinOccurs(MessagePartInfo mpi)
- Overrides:
getWrapperPartMinOccurs
in class AbstractServiceConfiguration
Apache CXF