Package 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
 
 public class FactoryInvoker extends AbstractInvoker This invoker implementation calls a Factory to create the service object.
- 
- 
Constructor SummaryConstructors Constructor Description FactoryInvoker()FactoryInvoker(Factory factory)Create a FactoryInvoker object.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetServiceObject(Exchange ex)Creates and returns a service object depending on the scope.booleanisSingletonFactory()voidreleaseServiceObject(Exchange ex, Object obj)Called when the invoker is done with the object.voidsetFactory(Factory f)- 
Methods inherited from class org.apache.cxf.service.invoker.AbstractInvokeradjustMethodAndParams, checkSuspendedInvocation, createFault, getMostSpecificMethod, insertExchange, invoke, invoke, isJdkDynamicProxy, performInvocation
 
- 
 
- 
- 
- 
Field Detail- 
factoryprotected Factory factory 
 
- 
 - 
Constructor Detail- 
FactoryInvokerpublic FactoryInvoker(Factory factory) Create a FactoryInvoker object.- Parameters:
- factory- the factory used to create service object.
 
 - 
FactoryInvokerpublic FactoryInvoker() 
 
- 
 - 
Method Detail- 
setFactorypublic void setFactory(Factory f) 
 - 
getServiceObjectpublic Object getServiceObject(Exchange ex) Description copied from class:AbstractInvokerCreates and returns a service object depending on the scope.- Specified by:
- getServiceObjectin class- AbstractInvoker
 
 - 
releaseServiceObjectpublic void releaseServiceObject(Exchange ex, Object obj) Description copied from class:AbstractInvokerCalled when the invoker is done with the object. Default implementation does nothing.- Overrides:
- releaseServiceObjectin class- AbstractInvoker
 
 - 
isSingletonFactorypublic boolean isSingletonFactory() 
 
- 
 
-