View Javadoc

    1   package org.codehaus.xfire.loom;
    2
    3   import org.codehaus.xfire.MessageContext;
    4   import org.codehaus.xfire.fault.XFireFault;
    5   import org.codehaus.xfire.service.binding.ObjectInvoker;
    6
    7   /***
    8    * Invokes a Loom service.
    9    *
    10   * @author <a href="mailto:peter.royal@pobox.com">peter royal</a>
    11   */
    12  public class ServiceInvoker extends ObjectInvoker
    13  {
    14      private final Object m_service;
    15
    16      public ServiceInvoker( final Object service )
    17      {
    18          m_service = service;
    19      }
    20
    21      public Object getServiceObject( final MessageContext context ) throws XFireFault
    22      {
    23          return m_service;
    24      }
    25  }