public class FactoryInvoker extends AbstractInvoker
Constructor and Description |
---|
FactoryInvoker() |
FactoryInvoker(Factory factory)
Create a FactoryInvoker object.
|
Modifier and Type | Method and Description |
---|---|
Object |
getServiceObject(Exchange ex)
Creates and returns a service object depending on the scope.
|
boolean |
isSingletonFactory() |
void |
releaseServiceObject(Exchange ex,
Object obj)
Called when the invoker is done with the object.
|
void |
setFactory(Factory f) |
adjustMethodAndParams, checkSuspendedInvocation, createFault, getMostSpecificMethod, insertExchange, invoke, invoke, isJdkDynamicProxy, performInvocation
protected Factory factory
public FactoryInvoker(Factory factory)
factory
- the factory used to create service object.public FactoryInvoker()
public void setFactory(Factory f)
public Object getServiceObject(Exchange ex)
AbstractInvoker
getServiceObject
in class AbstractInvoker
public void releaseServiceObject(Exchange ex, Object obj)
AbstractInvoker
releaseServiceObject
in class AbstractInvoker
public boolean isSingletonFactory()
Apache CXF