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
This invoker implementation calls a Factory to create the service object.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates and returns a service object depending on the scope.boolean
void
releaseServiceObject
(Exchange ex, Object obj) Called when the invoker is done with the object.void
Methods inherited from class org.apache.cxf.service.invoker.AbstractInvoker
adjustMethodAndParams, checkSuspendedInvocation, createFault, getMostSpecificMethod, insertExchange, invoke, invoke, isJdkDynamicProxy, performInvocation
-
Field Details
-
factory
-
-
Constructor Details
-
FactoryInvoker
Create a FactoryInvoker object.- Parameters:
factory
- the factory used to create service object.
-
FactoryInvoker
public FactoryInvoker()
-
-
Method Details
-
setFactory
-
getServiceObject
Description copied from class:AbstractInvoker
Creates and returns a service object depending on the scope.- Specified by:
getServiceObject
in classAbstractInvoker
-
releaseServiceObject
Description copied from class:AbstractInvoker
Called when the invoker is done with the object. Default implementation does nothing.- Overrides:
releaseServiceObject
in classAbstractInvoker
-
isSingletonFactory
public boolean isSingletonFactory()
-