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 java.lang.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
 java.lang.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 java.lang.Object create()
                        throws java.lang.Throwable
Specified by:
create in interface Factory
Throws:
java.lang.Throwable


Copyright © 2004-2009. All Rights Reserved.