org.codehaus.xfire.service.invoker
Class FactoryInvoker
java.lang.Object
org.codehaus.xfire.service.invoker.AbstractInvoker
org.codehaus.xfire.service.invoker.FactoryInvoker
- All Implemented Interfaces:
- Invoker
public class FactoryInvoker
- extends AbstractInvoker
This invoker implementation calls a Factory to create the service object
and then applies a scope policy for caching.
- Author:
- Ben Yu
Feb 2, 2006 12:55:59 PM
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FactoryInvoker
public FactoryInvoker(Factory factory,
ScopePolicy scope)
- Create a FactoryInvoker object.
- Parameters:
factory
- the factory used to create service object.scope
- the scope policy. Null for default.
getServiceObject
public Object getServiceObject(MessageContext context)
throws XFireFault
- Description copied from class:
AbstractInvoker
- Creates and returns a service object depending on the scope.
- Specified by:
getServiceObject
in class AbstractInvoker
- Throws:
XFireFault
Copyright © 2004-2013. All Rights Reserved.