Class ServiceRef

All Implemented Interfaces:
Serializable, Cloneable

public class ServiceRef extends AbstractRef
Represents a reference web service.
See Also:
  • Field Details

  • Constructor Details

    • ServiceRef

      public ServiceRef(String refname, String serviceInterface, String[] serviceQname, String wsdl, String jaxrpcmapping)
      Creates a ServiceRef with the given parameters and no factory information.
      Parameters:
      refname - the reference name
      serviceInterface - the service interface class name
      serviceQname - the service QName (namespace and local part)
      wsdl - the WSDL location
      jaxrpcmapping - the JAX-RPC mapping
    • ServiceRef

      public ServiceRef(String refname, String serviceInterface, String[] serviceQname, String wsdl, String jaxrpcmapping, String factory, String factoryLocation)
      Creates a ServiceRef with the given parameters and factory information.
      Parameters:
      refname - the reference name - unused
      serviceInterface - the service interface class name
      serviceQname - the service QName (namespace and local part)
      wsdl - the WSDL location
      jaxrpcmapping - the JAX-RPC mapping
      factory - the factory class name
      factoryLocation - the factory location
  • Method Details

    • getHandler

      public HandlerRef getHandler()
      Add and Get Handlers classes.
      Returns:
      the handler
    • getHandlersSize

      public int getHandlersSize()
      Returns the number of handlers in the list.
      Returns:
      the number of handlers
    • addHandler

      public void addHandler(HandlerRef handler)
      Adds a handler reference to the list.
      Parameters:
      handler - the handler reference to add
    • getDefaultFactoryClassName

      protected String getDefaultFactoryClassName()
      Description copied from class: AbstractRef
      Returns the default factory class name.
      Specified by:
      getDefaultFactoryClassName in class AbstractRef
      Returns:
      the default factory class name