org.codehaus.xfire.service.binding
Class DefaultServiceConfiguration

java.lang.Object
  extended by org.codehaus.xfire.service.binding.ServiceConfiguration
      extended by org.codehaus.xfire.service.binding.DefaultServiceConfiguration

public class DefaultServiceConfiguration
extends ServiceConfiguration


Constructor Summary
DefaultServiceConfiguration()
           
 
Method Summary
 java.lang.String getAction(OperationInfo op)
           
 javax.xml.namespace.QName getFaultName(Service service, OperationInfo o, java.lang.Class exClass, java.lang.Class beanClass)
           
 javax.xml.namespace.QName getInParameterName(Service endpoint, OperationInfo op, java.lang.reflect.Method method, int paramNumber, boolean doc)
           
 javax.xml.namespace.QName getInputMessageName(OperationInfo op)
           
 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 endpoint, OperationInfo op, java.lang.reflect.Method method, int paramNumber, boolean doc)
           
 javax.xml.namespace.QName getOutputMessageName(OperationInfo op)
           
 ObjectServiceFactory getServiceFactory()
           
 java.lang.Boolean hasOutMessage(java.lang.String mep)
           
 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 setServiceFactory(ObjectServiceFactory serviceFactory)
           
 
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

DefaultServiceConfiguration

public DefaultServiceConfiguration()
Method Detail

getServiceFactory

public ObjectServiceFactory getServiceFactory()

setServiceFactory

public void setServiceFactory(ObjectServiceFactory serviceFactory)
Specified by:
setServiceFactory 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

isInParam

public java.lang.Boolean isInParam(java.lang.reflect.Method method,
                                   int j)
Overrides:
isInParam in class ServiceConfiguration

getInputMessageName

public javax.xml.namespace.QName getInputMessageName(OperationInfo op)
Overrides:
getInputMessageName in class ServiceConfiguration

getOutputMessageName

public javax.xml.namespace.QName getOutputMessageName(OperationInfo op)
Overrides:
getOutputMessageName in class ServiceConfiguration

hasOutMessage

public java.lang.Boolean hasOutMessage(java.lang.String mep)
Overrides:
hasOutMessage 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

getAction

public java.lang.String getAction(OperationInfo op)
Overrides:
getAction in class ServiceConfiguration

isHeader

public java.lang.Boolean isHeader(java.lang.reflect.Method method,
                                  int j)
Overrides:
isHeader in class ServiceConfiguration

getOperationName

public java.lang.String getOperationName(ServiceInfo service,
                                         java.lang.reflect.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 java.lang.String getMEP(java.lang.reflect.Method method)
Overrides:
getMEP in class ServiceConfiguration

isAsync

public java.lang.Boolean isAsync(java.lang.reflect.Method method)
Overrides:
isAsync in class ServiceConfiguration

getInParameterName

public javax.xml.namespace.QName getInParameterName(Service endpoint,
                                                    OperationInfo op,
                                                    java.lang.reflect.Method method,
                                                    int paramNumber,
                                                    boolean doc)
Overrides:
getInParameterName in class ServiceConfiguration

getOutParameterName

public javax.xml.namespace.QName getOutParameterName(Service endpoint,
                                                     OperationInfo op,
                                                     java.lang.reflect.Method method,
                                                     int paramNumber,
                                                     boolean doc)
Overrides:
getOutParameterName in class ServiceConfiguration


Copyright © 2004-2010. All Rights Reserved.