org.codehaus.xfire.service.invoker
Class ObjectInvoker
java.lang.Object
org.codehaus.xfire.service.invoker.ObjectInvoker
- All Implemented Interfaces:
- Invoker
public final class ObjectInvoker
- extends java.lang.Object
- implements Invoker
An invoker which instantiates classes automatically based on the Service's
scope. The default scope is SCOPE_APPLICATION, which creates once instance to
use for the lifetime of the invoker.
- Since:
- Nov 16, 2004
- Author:
- Dan Diephouse, Ben Yu
Field Summary |
static java.lang.String |
SERVICE_IMPL_CLASS
Constant to denote the implementation class for the service. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVICE_IMPL_CLASS
public static final java.lang.String SERVICE_IMPL_CLASS
- Constant to denote the implementation class for the service.
- See Also:
- Constant Field Values
ObjectInvoker
public ObjectInvoker(ScopePolicy policy)
invoke
public java.lang.Object invoke(java.lang.reflect.Method m,
java.lang.Object[] params,
MessageContext context)
throws XFireFault
- Specified by:
invoke
in interface Invoker
- Throws:
XFireFault
getScope
public ScopePolicy getScope()
- Get the scope policy used by this class.
Copyright © 2004-2006 Envoi Solutions LLC. All Rights Reserved.