View Javadoc

    1   package org.codehaus.xfire.service.binding;
    2
    3   import org.codehaus.xfire.MessageContext;
    4   import org.codehaus.xfire.fault.XFireFault;
    5
    6   /***
    7    * Invoker for externally created service objects.
    8    *
    9    * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a>
    10   * @since Feb 9, 2005
    11   */
    12  public class BeanInvoker
    13          extends ObjectInvoker
    14  {
    15      private Object proxy;
    16
    17      public BeanInvoker(Object proxy)
    18      {
    19          this.proxy = proxy;
    20      }
    21
    22      public Object getServiceObject(MessageContext context)
    23              throws XFireFault
    24      {
    25          return proxy;
    26      }
    27  }