jrunx.pool
Interface PooledObject

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
JRunStatement, JRunConnection

public interface PooledObject
extends java.io.Serializable

An object aware of its pool, lifespan, and possibly other resources.

Author:
PS Neville

Method Summary
 boolean clean()
          Remove an object's caller state
 void closeAllResources()
          Disassociate resource references from this object
 ObjectPool getPool()
          Retrieve the pool containing this Object.
 

Method Detail

clean

public boolean clean()
Remove an object's caller state

getPool

public ObjectPool getPool()
Retrieve the pool containing this Object.
Returns:
ObjectPool The pool that contains this object

closeAllResources

public void closeAllResources()
Disassociate resource references from this object


Copyright � 2002 Macromedia Corporation. All Rights Reserved.