org.codehaus.xfire.service.binding
Class ServiceConfiguration
java.lang.Object
org.codehaus.xfire.service.binding.ServiceConfiguration
- Direct Known Subclasses:
- DefaultServiceConfiguration
public abstract class ServiceConfiguration
- extends java.lang.Object
Method Summary |
java.lang.String |
getAction(OperationInfo op)
|
javax.xml.namespace.QName |
getFaultName(Service service,
OperationInfo o,
java.lang.Class exClass,
java.lang.Class beanClass)
|
javax.xml.namespace.QName |
getInParameterName(Service service,
OperationInfo op,
java.lang.reflect.Method method,
int paramNumber,
boolean doc)
|
javax.xml.namespace.QName |
getInputMessageName(OperationInfo op)
|
java.lang.String |
getMEP(java.lang.reflect.Method method)
|
java.lang.String |
getOperationName(ServiceInfo service,
java.lang.reflect.Method method)
Creates a name for the operation from the method name. |
javax.xml.namespace.QName |
getOutParameterName(Service service,
OperationInfo op,
java.lang.reflect.Method method,
int paramNumber,
boolean doc)
|
javax.xml.namespace.QName |
getOutputMessageName(OperationInfo op)
|
javax.xml.namespace.QName |
getPortType(java.lang.Class clazz)
|
java.lang.Boolean |
hasOutMessage(java.lang.String mep)
|
java.lang.Boolean |
isAsync(java.lang.reflect.Method method)
|
java.lang.Boolean |
isHeader(java.lang.reflect.Method method,
int j)
|
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)
|
abstract void |
setServiceFactory(ObjectServiceFactory serviceFactory)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceConfiguration
public ServiceConfiguration()
setServiceFactory
public abstract void setServiceFactory(ObjectServiceFactory serviceFactory)
isOperation
public java.lang.Boolean isOperation(java.lang.reflect.Method method)
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)
getOutputMessageName
public javax.xml.namespace.QName getOutputMessageName(OperationInfo op)
hasOutMessage
public java.lang.Boolean hasOutMessage(java.lang.String mep)
getFaultName
public javax.xml.namespace.QName getFaultName(Service service,
OperationInfo o,
java.lang.Class exClass,
java.lang.Class beanClass)
getAction
public java.lang.String getAction(OperationInfo op)
isHeader
public java.lang.Boolean isHeader(java.lang.reflect.Method method,
int j)
getOperationName
public java.lang.String getOperationName(ServiceInfo 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(Service service,
OperationInfo op,
java.lang.reflect.Method method,
int paramNumber,
boolean doc)
getOutParameterName
public javax.xml.namespace.QName getOutParameterName(Service service,
OperationInfo op,
java.lang.reflect.Method method,
int paramNumber,
boolean doc)
getPortType
public javax.xml.namespace.QName getPortType(java.lang.Class clazz)
Copyright © 2004-2010. All Rights Reserved.