com.codestudio.util
Interface PooledObject
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- PoolManStatement, PoolManConnection
- public interface PooledObject
- extends java.io.Serializable
An object aware of its pool, lifespan, and possibly other resources.
Method Summary |
void |
clean()
Remove an object's caller state |
void |
closeAllResources()
Disassociate resource references from this object |
ObjectPool |
getPool()
Retrieve the pool containing this Object. |
clean
public void 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 © 1999-2001 The Code Studio. All Rights Reserved.