org.codehaus.xfire.annotations
Class AnnotationServiceConfiguration
java.lang.Object
org.codehaus.xfire.service.binding.ServiceConfiguration
org.codehaus.xfire.service.binding.DefaultServiceConfiguration
org.codehaus.xfire.annotations.AnnotationServiceConfiguration
public class AnnotationServiceConfiguration
- extends org.codehaus.xfire.service.binding.DefaultServiceConfiguration
Annotations-based implementation of the ServiceConfiguration
class.
- Author:
- Dan Diephouse, Arjen Poutsma
Method Summary |
java.lang.String |
getAction(org.codehaus.xfire.service.OperationInfo op)
|
javax.xml.namespace.QName |
getInParameterName(org.codehaus.xfire.service.Service endpoint,
org.codehaus.xfire.service.OperationInfo op,
java.lang.reflect.Method method,
int paramNumber,
boolean doc)
|
java.lang.String |
getMEP(java.lang.reflect.Method method)
|
java.lang.String |
getOperationName(org.codehaus.xfire.service.ServiceInfo service,
java.lang.reflect.Method method)
|
javax.xml.namespace.QName |
getOutParameterName(org.codehaus.xfire.service.Service endpoint,
org.codehaus.xfire.service.OperationInfo op,
java.lang.reflect.Method method,
int paramNumber,
boolean doc)
|
java.lang.Boolean |
isAsync(java.lang.reflect.Method method)
|
java.lang.Boolean |
isHeader(java.lang.reflect.Method method,
int paramNumber)
|
java.lang.Boolean |
isInParam(java.lang.reflect.Method method,
int j)
|
java.lang.Boolean |
isOperation(java.lang.reflect.Method method)
Returns true if the specified method is valid for a SOAP operation. |
java.lang.Boolean |
isOutParam(java.lang.reflect.Method method,
int j)
|
void |
setWebAnnotations(WebAnnotations webAnnotations)
|
Methods inherited from class org.codehaus.xfire.service.binding.DefaultServiceConfiguration |
getFaultName, getInputMessageName, getOutputMessageName, getServiceFactory, hasOutMessage, setServiceFactory |
Methods inherited from class org.codehaus.xfire.service.binding.ServiceConfiguration |
getPortType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationServiceConfiguration
public AnnotationServiceConfiguration()
setWebAnnotations
public void setWebAnnotations(WebAnnotations webAnnotations)
getOperationName
public java.lang.String getOperationName(org.codehaus.xfire.service.ServiceInfo service,
java.lang.reflect.Method method)
- Overrides:
getOperationName
in class org.codehaus.xfire.service.binding.DefaultServiceConfiguration
getAction
public java.lang.String getAction(org.codehaus.xfire.service.OperationInfo op)
- Overrides:
getAction
in class org.codehaus.xfire.service.binding.DefaultServiceConfiguration
isOperation
public java.lang.Boolean isOperation(java.lang.reflect.Method method)
- Returns
true
if the specified method is valid for a SOAP operation.
- Overrides:
isOperation
in class org.codehaus.xfire.service.binding.DefaultServiceConfiguration
- Parameters:
method
- the method.
- Returns:
true
if valid; false
otherwise.
isHeader
public java.lang.Boolean isHeader(java.lang.reflect.Method method,
int paramNumber)
- Overrides:
isHeader
in class org.codehaus.xfire.service.binding.DefaultServiceConfiguration
isInParam
public java.lang.Boolean isInParam(java.lang.reflect.Method method,
int j)
- Overrides:
isInParam
in class org.codehaus.xfire.service.binding.DefaultServiceConfiguration
isOutParam
public java.lang.Boolean isOutParam(java.lang.reflect.Method method,
int j)
- Overrides:
isOutParam
in class org.codehaus.xfire.service.binding.DefaultServiceConfiguration
getInParameterName
public javax.xml.namespace.QName getInParameterName(org.codehaus.xfire.service.Service endpoint,
org.codehaus.xfire.service.OperationInfo op,
java.lang.reflect.Method method,
int paramNumber,
boolean doc)
- Overrides:
getInParameterName
in class org.codehaus.xfire.service.binding.DefaultServiceConfiguration
getOutParameterName
public javax.xml.namespace.QName getOutParameterName(org.codehaus.xfire.service.Service endpoint,
org.codehaus.xfire.service.OperationInfo op,
java.lang.reflect.Method method,
int paramNumber,
boolean doc)
- Overrides:
getOutParameterName
in class org.codehaus.xfire.service.binding.DefaultServiceConfiguration
isAsync
public java.lang.Boolean isAsync(java.lang.reflect.Method method)
- Overrides:
isAsync
in class org.codehaus.xfire.service.binding.DefaultServiceConfiguration
getMEP
public java.lang.String getMEP(java.lang.reflect.Method method)
- Overrides:
getMEP
in class org.codehaus.xfire.service.binding.DefaultServiceConfiguration
Copyright © 2004-2009. All Rights Reserved.