View Javadoc

1   package org.codehaus.xfire.service.object;
2   
3   import java.lang.reflect.Method;
4   
5   import org.codehaus.xfire.MessageContext;
6   import org.codehaus.xfire.fault.XFireFault;
7   
8   /***
9    * The invoker class allows you to control how your service class is invoked.
10   * For instance, you could supply an alternate instance which used a Factory to
11   * create your service instead of XFire instantiating it.
12   *  
13   * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a>
14   * @since Nov 16, 2004
15   */
16  public interface Invoker
17  {
18      Object invoke( Method m, Object[] params, MessageContext context )
19      	throws XFireFault;
20  }