org.apache.cxf.service.invoker
Class FactoryInvoker
java.lang.Object
org.apache.cxf.service.invoker.AbstractInvoker
org.apache.cxf.service.invoker.FactoryInvoker
- All Implemented Interfaces:
- Invoker
- Direct Known Subclasses:
- AbstractJAXWSMethodInvoker
public class FactoryInvoker
- extends AbstractInvoker
This invoker implementation calls a Factory to create the service object.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FactoryInvoker
public FactoryInvoker(Factory factory)
- Create a FactoryInvoker object.
- Parameters:
factory
- the factory used to create service object.
FactoryInvoker
public FactoryInvoker()
setFactory
public void setFactory(Factory f)
getServiceObject
public Object getServiceObject(Exchange ex)
- Description copied from class:
AbstractInvoker
- Creates and returns a service object depending on the scope.
- Specified by:
getServiceObject
in class AbstractInvoker
releaseServiceObject
public void releaseServiceObject(Exchange ex,
Object obj)
- Description copied from class:
AbstractInvoker
- Called when the invoker is done with the object. Default implementation
does nothing.
- Overrides:
releaseServiceObject
in class AbstractInvoker
isSingletonFactory
public boolean isSingletonFactory()
Apache CXF