com.thoughtworks.proxy.toys.pool
Class Pool.PoolBuild<T>

java.lang.Object
  extended by com.thoughtworks.proxy.toys.pool.Pool.PoolBuild<T>
Direct Known Subclasses:
Pool.PoolModeOrBuild
Enclosing class:
Pool<T>

public static class Pool.PoolBuild<T>
extends Object


Field Summary
protected  Pool<T> pool
           
 
Method Summary
 Pool<T> build()
          Build the pool using the StandardProxyFactory.
 Pool<T> build(ProxyFactory factory)
          Build the pool using a special ProxyFactory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pool

protected Pool<T> pool
Method Detail

build

public Pool<T> build()
Build the pool using the StandardProxyFactory.

Returns:
the pool with predefined instances
Since:
1.0

build

public Pool<T> build(ProxyFactory factory)
Build the pool using a special ProxyFactory.

Parameters:
factory - the proxy factory to use
Returns:
the pool with predefined instances
Since:
0.2


Copyright © 2005-2010 Codehaus. All Rights Reserved.