Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.scopemvc.util
Interface PoolableObjectFactory  view PoolableObjectFactory download PoolableObjectFactory.java

All Known Implementing Classes:
BasicPoolableObjectFactory

public interface PoolableObjectFactory

Interface for creating poolable objects.

Version:
$Revision: 1.2 $

Method Summary
 void activateObject(java.lang.Object object)
          Peforms whatever processing is required prior to activating a pooled object.
 java.lang.Object createObject()
          Creates and returns a poolable object.
 void destroyObject(java.lang.Object object)
          Peforms whatever processing is required prior to destruction of a pooled object.
 void passivateObject(java.lang.Object object)
          Peforms whatever processing is required prior to passivating a pooled object.
 

Method Detail

createObject

public java.lang.Object createObject()
Creates and returns a poolable object.


destroyObject

public void destroyObject(java.lang.Object object)
Peforms whatever processing is required prior to destruction of a pooled object.


activateObject

public void activateObject(java.lang.Object object)
Peforms whatever processing is required prior to activating a pooled object.


passivateObject

public void passivateObject(java.lang.Object object)
Peforms whatever processing is required prior to passivating a pooled object.