org.scopemvc.util
Interface PoolableObjectFactory

All Known Implementing Classes:
BasicPoolableObjectFactory, ScopeServlet.SharedControllerFactory

public interface PoolableObjectFactory

Interface for creating poolable objects.

Version:
$Revision: 1.3 $
Author:
Simon Harris

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.

Returns:
TODO: Describe the Return Value

destroyObject

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

Parameters:
object - TODO: Describe the Parameter

activateObject

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

Parameters:
object - TODO: Describe the Parameter

passivateObject

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

Parameters:
object - TODO: Describe the Parameter


Copyright © 2000-2002 The Scope Team. All Rights Reserved.