org.codehaus.xfire.spring.config
Class SpringServiceConfiguration
java.lang.Object
org.codehaus.xfire.service.binding.ServiceConfiguration
org.codehaus.xfire.spring.config.SpringServiceConfiguration
public class SpringServiceConfiguration
- extends ServiceConfiguration
Service configuration information which is provide by Spring beans.
- Author:
- Dan Diephouse
Method Summary |
java.lang.String |
getAction(OperationInfo op2)
|
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 op2)
|
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)
|
ObjectServiceFactory |
getServiceFactory()
|
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)
|
void |
setMethods(java.util.List operations)
|
void |
setServiceFactory(ObjectServiceFactory serviceFactory)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringServiceConfiguration
public SpringServiceConfiguration()
getServiceFactory
public ObjectServiceFactory getServiceFactory()
setServiceFactory
public void setServiceFactory(ObjectServiceFactory serviceFactory)
- Specified by:
setServiceFactory
in class ServiceConfiguration
setMethods
public void setMethods(java.util.List operations)
isAsync
public java.lang.Boolean isAsync(java.lang.reflect.Method method)
- Overrides:
isAsync
in class ServiceConfiguration
isHeader
public java.lang.Boolean isHeader(java.lang.reflect.Method method,
int j)
- Overrides:
isHeader
in class ServiceConfiguration
isInParam
public java.lang.Boolean isInParam(java.lang.reflect.Method method,
int j)
- Overrides:
isInParam
in class ServiceConfiguration
isOperation
public java.lang.Boolean isOperation(java.lang.reflect.Method method)
- Overrides:
isOperation
in class ServiceConfiguration
isOutParam
public java.lang.Boolean isOutParam(java.lang.reflect.Method method,
int j)
- Overrides:
isOutParam
in class ServiceConfiguration
getAction
public java.lang.String getAction(OperationInfo op2)
- Overrides:
getAction
in class ServiceConfiguration
getFaultName
public javax.xml.namespace.QName getFaultName(Service service,
OperationInfo o,
java.lang.Class exClass,
java.lang.Class beanClass)
- Overrides:
getFaultName
in class ServiceConfiguration
getInParameterName
public javax.xml.namespace.QName getInParameterName(Service service,
OperationInfo op,
java.lang.reflect.Method method,
int paramNumber,
boolean doc)
- Overrides:
getInParameterName
in class ServiceConfiguration
getInputMessageName
public javax.xml.namespace.QName getInputMessageName(OperationInfo op2)
- Overrides:
getInputMessageName
in class ServiceConfiguration
getMEP
public java.lang.String getMEP(java.lang.reflect.Method method)
- Overrides:
getMEP
in class ServiceConfiguration
getOperationName
public java.lang.String getOperationName(ServiceInfo service,
java.lang.reflect.Method method)
- Description copied from class:
ServiceConfiguration
- 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 ServiceConfiguration
getOutParameterName
public javax.xml.namespace.QName getOutParameterName(Service service,
OperationInfo op,
java.lang.reflect.Method method,
int paramNumber,
boolean doc)
- Overrides:
getOutParameterName
in class ServiceConfiguration
getOutputMessageName
public javax.xml.namespace.QName getOutputMessageName(OperationInfo op)
- Overrides:
getOutputMessageName
in class ServiceConfiguration
getPortType
public javax.xml.namespace.QName getPortType(java.lang.Class clazz)
- Overrides:
getPortType
in class ServiceConfiguration
Copyright © 2004-2006 Envoi Solutions LLC. All Rights Reserved.