org.codehaus.xfire.util.factory
Class PooledFactory

java.lang.Object
  extended by org.codehaus.xfire.util.factory.PooledFactory
All Implemented Interfaces:
Factory

public class PooledFactory
extends Object
implements Factory

This class decorates a Factory object that uses a Pool strategy to cache the factory result;

Author:
Ben Yu Feb 2, 2006 11:57:12 AM

Constructor Summary
PooledFactory(Factory factory, Pool pool)
           
 
Method Summary
 Object create()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PooledFactory

public PooledFactory(Factory factory,
                     Pool pool)
Method Detail

create

public Object create()
              throws Throwable
Specified by:
create in interface Factory
Throws:
Throwable


Copyright © 2004-2013. All Rights Reserved.