com.thoughtworks.proxy.toys.pool
Interface Poolable


public interface Poolable

An interface automatically implemented by the proxy instances returned from an Pool. It is not necessary to implement this interface in a custom class. Cast the instance to this interface if you want to release the instance explicitly.

Since:
0.2
Author:
Jörg Schaible

Method Summary
 void returnInstanceToPool()
          Return the managed instance of this proxy directly to its pool.
 

Method Detail

returnInstanceToPool

void returnInstanceToPool()
Return the managed instance of this proxy directly to its pool.

Since:
0.2


Copyright © 2005-2010 Codehaus. All Rights Reserved.