org.apache.cxf.service.invoker
Class FactoryInvoker

java.lang.Object
  extended by org.apache.cxf.service.invoker.AbstractInvoker
      extended by 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.


Constructor Summary
FactoryInvoker(Factory factory)
          Create a FactoryInvoker object.
 
Method Summary
 java.lang.Object getServiceObject(Exchange ex)
          Creates and returns a service object depending on the scope.
 void releaseServiceObject(Exchange ex, java.lang.Object obj)
          Called when the invoker is done with the object.
 
Methods inherited from class org.apache.cxf.service.invoker.AbstractInvoker
checkSuspendedInvocation, createFault, getMostSpecificMethod, insertExchange, invoke, invoke, isJdkDynamicProxy, performInvocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FactoryInvoker

public FactoryInvoker(Factory factory)
Create a FactoryInvoker object.

Parameters:
factory - the factory used to create service object.
Method Detail

getServiceObject

public java.lang.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,
                                 java.lang.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


Apache CXF