org.codehaus.xfire.service.object
Class ObjectInvoker
java.lang.Object
org.codehaus.xfire.service.object.ObjectInvoker
- All Implemented Interfaces:
- Invoker
public class ObjectInvoker
- extends java.lang.Object
- implements Invoker
An invoker which instantiates classes automatically based on the Service's
scope.
- Since:
- Nov 16, 2004
- Author:
- Dan Diephouse
Method Summary |
java.lang.Object |
createServiceObject(ObjectService service)
Override this method to control how XFire creates the service object. |
java.lang.Object |
getServiceObject(org.codehaus.xfire.MessageContext context)
Creates and returns a service object depending on the scope. |
java.lang.Object |
invoke(java.lang.reflect.Method method,
java.lang.Object[] params,
org.codehaus.xfire.MessageContext context)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectInvoker
public ObjectInvoker()
invoke
public java.lang.Object invoke(java.lang.reflect.Method method,
java.lang.Object[] params,
org.codehaus.xfire.MessageContext context)
throws org.codehaus.xfire.fault.XFireFault
- Specified by:
invoke
in interface Invoker
- Throws:
org.codehaus.xfire.fault.XFireFault
getServiceObject
public java.lang.Object getServiceObject(org.codehaus.xfire.MessageContext context)
throws org.codehaus.xfire.fault.XFireFault
- Creates and returns a service object depending on the scope.
- Throws:
org.codehaus.xfire.fault.XFireFault
createServiceObject
public java.lang.Object createServiceObject(ObjectService service)
throws org.codehaus.xfire.fault.XFireFault
- Override this method to control how XFire creates the service object.
- Parameters:
service
-
- Returns:
-
- Throws:
org.codehaus.xfire.fault.XFireFault
Copyright © 2004-2005 Codehaus. All Rights Reserved.