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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates and returns a service object depending on the scope.booleanvoidreleaseServiceObject(Exchange ex, Object obj) Called when the invoker is done with the object.voidMethods 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:AbstractInvokerCreates and returns a service object depending on the scope.- Specified by:
getServiceObjectin classAbstractInvoker
-
releaseServiceObject
Description copied from class:AbstractInvokerCalled when the invoker is done with the object. Default implementation does nothing.- Overrides:
releaseServiceObjectin classAbstractInvoker
-
isSingletonFactory
public boolean isSingletonFactory()
-