org.codehaus.xfire.annotations
Class AnnotationServiceConfiguration

java.lang.Object
  extended by org.codehaus.xfire.service.binding.ServiceConfiguration
      extended by org.codehaus.xfire.service.binding.DefaultServiceConfiguration
          extended by 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

Constructor Summary
AnnotationServiceConfiguration()
           
 
Method Summary
 String getAction(org.codehaus.xfire.service.OperationInfo op)
           
 QName getInParameterName(org.codehaus.xfire.service.Service endpoint, org.codehaus.xfire.service.OperationInfo op, Method method, int paramNumber, boolean doc)
           
 String getMEP(Method method)
           
 String getOperationName(org.codehaus.xfire.service.ServiceInfo service, Method method)
           
 QName getOutParameterName(org.codehaus.xfire.service.Service endpoint, org.codehaus.xfire.service.OperationInfo op, Method method, int paramNumber, boolean doc)
           
 Boolean isAsync(Method method)
           
 Boolean isHeader(Method method, int paramNumber)
           
 Boolean isInParam(Method method, int j)
           
 Boolean isOperation(Method method)
          Returns true if the specified method is valid for a SOAP operation.
 Boolean isOutParam(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
 

Constructor Detail

AnnotationServiceConfiguration

public AnnotationServiceConfiguration()
Method Detail

setWebAnnotations

public void setWebAnnotations(WebAnnotations webAnnotations)

getOperationName

public String getOperationName(org.codehaus.xfire.service.ServiceInfo service,
                               Method method)
Overrides:
getOperationName in class org.codehaus.xfire.service.binding.DefaultServiceConfiguration

getAction

public String getAction(org.codehaus.xfire.service.OperationInfo op)
Overrides:
getAction in class org.codehaus.xfire.service.binding.DefaultServiceConfiguration

isOperation

public Boolean isOperation(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 Boolean isHeader(Method method,
                        int paramNumber)
Overrides:
isHeader in class org.codehaus.xfire.service.binding.DefaultServiceConfiguration

isInParam

public Boolean isInParam(Method method,
                         int j)
Overrides:
isInParam in class org.codehaus.xfire.service.binding.DefaultServiceConfiguration

isOutParam

public Boolean isOutParam(Method method,
                          int j)
Overrides:
isOutParam in class org.codehaus.xfire.service.binding.DefaultServiceConfiguration

getInParameterName

public QName getInParameterName(org.codehaus.xfire.service.Service endpoint,
                                org.codehaus.xfire.service.OperationInfo op,
                                Method method,
                                int paramNumber,
                                boolean doc)
Overrides:
getInParameterName in class org.codehaus.xfire.service.binding.DefaultServiceConfiguration

getOutParameterName

public QName getOutParameterName(org.codehaus.xfire.service.Service endpoint,
                                 org.codehaus.xfire.service.OperationInfo op,
                                 Method method,
                                 int paramNumber,
                                 boolean doc)
Overrides:
getOutParameterName in class org.codehaus.xfire.service.binding.DefaultServiceConfiguration

isAsync

public Boolean isAsync(Method method)
Overrides:
isAsync in class org.codehaus.xfire.service.binding.DefaultServiceConfiguration

getMEP

public String getMEP(Method method)
Overrides:
getMEP in class org.codehaus.xfire.service.binding.DefaultServiceConfiguration


Copyright © 2004-2013. All Rights Reserved.