org.ow2.jonas.ws.cxf.easybeans
Class EasyBeansInvokerFactory

java.lang.Object
  extended by org.ow2.jonas.ws.cxf.easybeans.EasyBeansInvokerFactory
All Implemented Interfaces:
org.apache.cxf.common.util.factory.Factory

public class EasyBeansInvokerFactory
extends Object
implements org.apache.cxf.common.util.factory.Factory

This class implements the Factory concept of CXF, that is nicely mapped on the EasyBeans's Pool concept.


Constructor Summary
EasyBeansInvokerFactory(org.ow2.easybeans.container.session.stateless.StatelessSessionFactory factory)
          Creates an EasyBeansInvoker factory for the given factory.
 
Method Summary
 Object create()
          Creates the object that will be used for the invoke
 void release(Object o)
          Post invoke, this is called to allow the factory to release the object, store it, etc...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EasyBeansInvokerFactory

public EasyBeansInvokerFactory(org.ow2.easybeans.container.session.stateless.StatelessSessionFactory factory)
Creates an EasyBeansInvoker factory for the given factory.

Parameters:
factory - the given session factory.
Method Detail

create

public Object create()
              throws Throwable
Creates the object that will be used for the invoke

Specified by:
create in interface org.apache.cxf.common.util.factory.Factory
Returns:
a new instance from the pool.
Throws:
Throwable

release

public void release(Object o)
Post invoke, this is called to allow the factory to release the object, store it, etc...

Parameters:
o - object created from the create method


Copyright © 2010 OW2 Consortium. All Rights Reserved.