org.codehaus.xfire.service.binding
Class DefaultServiceConfiguration
java.lang.Object
org.codehaus.xfire.service.binding.ServiceConfiguration
org.codehaus.xfire.service.binding.DefaultServiceConfiguration
public class DefaultServiceConfiguration
- extends ServiceConfiguration
Method Summary |
String |
getAction(OperationInfo op)
|
QName |
getFaultName(Service service,
OperationInfo o,
Class exClass,
Class beanClass)
|
QName |
getInParameterName(Service endpoint,
OperationInfo op,
Method method,
int paramNumber,
boolean doc)
|
QName |
getInputMessageName(OperationInfo op)
|
String |
getMEP(Method method)
|
String |
getOperationName(ServiceInfo service,
Method method)
Creates a name for the operation from the method name. |
QName |
getOutParameterName(Service endpoint,
OperationInfo op,
Method method,
int paramNumber,
boolean doc)
|
QName |
getOutputMessageName(OperationInfo op)
|
ObjectServiceFactory |
getServiceFactory()
|
Boolean |
hasOutMessage(String mep)
|
Boolean |
isAsync(Method method)
|
Boolean |
isHeader(Method method,
int j)
|
Boolean |
isInParam(Method method,
int j)
|
Boolean |
isOperation(Method method)
|
Boolean |
isOutParam(Method method,
int j)
|
void |
setServiceFactory(ObjectServiceFactory serviceFactory)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultServiceConfiguration
public DefaultServiceConfiguration()
getServiceFactory
public ObjectServiceFactory getServiceFactory()
setServiceFactory
public void setServiceFactory(ObjectServiceFactory serviceFactory)
- Specified by:
setServiceFactory
in class ServiceConfiguration
isOperation
public Boolean isOperation(Method method)
- Overrides:
isOperation
in class ServiceConfiguration
isOutParam
public Boolean isOutParam(Method method,
int j)
- Overrides:
isOutParam
in class ServiceConfiguration
isInParam
public Boolean isInParam(Method method,
int j)
- Overrides:
isInParam
in class ServiceConfiguration
getInputMessageName
public QName getInputMessageName(OperationInfo op)
- Overrides:
getInputMessageName
in class ServiceConfiguration
getOutputMessageName
public QName getOutputMessageName(OperationInfo op)
- Overrides:
getOutputMessageName
in class ServiceConfiguration
hasOutMessage
public Boolean hasOutMessage(String mep)
- Overrides:
hasOutMessage
in class ServiceConfiguration
getFaultName
public QName getFaultName(Service service,
OperationInfo o,
Class exClass,
Class beanClass)
- Overrides:
getFaultName
in class ServiceConfiguration
getAction
public String getAction(OperationInfo op)
- Overrides:
getAction
in class ServiceConfiguration
isHeader
public Boolean isHeader(Method method,
int j)
- Overrides:
isHeader
in class ServiceConfiguration
getOperationName
public String getOperationName(ServiceInfo service,
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".
- Overrides:
getOperationName
in class ServiceConfiguration
- Parameters:
service
- method
-
getMEP
public String getMEP(Method method)
- Overrides:
getMEP
in class ServiceConfiguration
isAsync
public Boolean isAsync(Method method)
- Overrides:
isAsync
in class ServiceConfiguration
getInParameterName
public QName getInParameterName(Service endpoint,
OperationInfo op,
Method method,
int paramNumber,
boolean doc)
- Overrides:
getInParameterName
in class ServiceConfiguration
getOutParameterName
public QName getOutParameterName(Service endpoint,
OperationInfo op,
Method method,
int paramNumber,
boolean doc)
- Overrides:
getOutParameterName
in class ServiceConfiguration
Copyright © 2004-2013. All Rights Reserved.