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

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

public static class Pool.PoolModeOrBuild<T>
extends Pool.PoolBuild<T>


Field Summary
 
Fields inherited from class com.thoughtworks.proxy.toys.pool.Pool.PoolBuild
pool
 
Method Summary
 Pool.PoolBuild<T> mode(SerializationMode serializationMode)
          Specify the serializationMode SerializationMode.STANDARD: the standard mode, i.e.
 
Methods inherited from class com.thoughtworks.proxy.toys.pool.Pool.PoolBuild
build, build
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

mode

public Pool.PoolBuild<T> mode(SerializationMode serializationMode)
Specify the serializationMode

Parameters:
serializationMode -
Returns:
the pool with a certain serialization mode
Throws:
IllegalArgumentException - if the serialization mode is not one of the predefined values
Since:
0.2


Copyright © 2005-2010 Codehaus. All Rights Reserved.