Apache CXF API

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:
JAXWSMethodInvoker

public class FactoryInvoker
extends AbstractInvoker

This invoker implementation calls a Factory to create the service object and then applies a scope policy for caching.

Author:
Ben Yu Feb 2, 2006 12:55:59 PM

Constructor Summary
FactoryInvoker(Factory factory, ScopePolicy scope)
          Create a FactoryInvoker object.
 
Method Summary
 java.lang.Object getServiceObject(Exchange ex)
          Creates and returns a service object depending on the scope.
 
Methods inherited from class org.apache.cxf.service.invoker.AbstractInvoker
checkSuspendedInvocation, createFault, getMostSpecificMethod, insertExchange, invoke, invoke, isJdkDynamicProxy, performInvocation, releaseServiceObject
 
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,
                      ScopePolicy scope)
Create a FactoryInvoker object.

Parameters:
factory - the factory used to create service object.
scope - the scope policy. Null for default.
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

Apache CXF API

Apache CXF