org.codehaus.xfire.service.binding
Class ServiceConfiguration

java.lang.Object
  extended by org.codehaus.xfire.service.binding.ServiceConfiguration
Direct Known Subclasses:
DefaultServiceConfiguration

public abstract class ServiceConfiguration
extends Object


Constructor Summary
ServiceConfiguration()
           
 
Method Summary
 String getAction(OperationInfo op)
           
 QName getFaultName(Service service, OperationInfo o, Class exClass, Class beanClass)
           
 QName getInParameterName(Service service, 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 service, OperationInfo op, Method method, int paramNumber, boolean doc)
           
 QName getOutputMessageName(OperationInfo op)
           
 QName getPortType(Class clazz)
           
 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)
           
abstract  void setServiceFactory(ObjectServiceFactory serviceFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceConfiguration

public ServiceConfiguration()
Method Detail

setServiceFactory

public abstract void setServiceFactory(ObjectServiceFactory serviceFactory)

isOperation

public Boolean isOperation(Method method)

isOutParam

public Boolean isOutParam(Method method,
                          int j)

isInParam

public Boolean isInParam(Method method,
                         int j)

getInputMessageName

public QName getInputMessageName(OperationInfo op)

getOutputMessageName

public QName getOutputMessageName(OperationInfo op)

hasOutMessage

public Boolean hasOutMessage(String mep)

getFaultName

public QName getFaultName(Service service,
                          OperationInfo o,
                          Class exClass,
                          Class beanClass)

getAction

public String getAction(OperationInfo op)

isHeader

public Boolean isHeader(Method method,
                        int j)

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".

Parameters:
service -
method -

getMEP

public String getMEP(Method method)

isAsync

public Boolean isAsync(Method method)

getInParameterName

public QName getInParameterName(Service service,
                                OperationInfo op,
                                Method method,
                                int paramNumber,
                                boolean doc)

getOutParameterName

public QName getOutParameterName(Service service,
                                 OperationInfo op,
                                 Method method,
                                 int paramNumber,
                                 boolean doc)

getPortType

public QName getPortType(Class clazz)


Copyright © 2004-2013. All Rights Reserved.