org.objectweb.dream.pool
Interface ObjectPoolAttributeController

All Superinterfaces:
AttributeController
All Known Implementing Classes:
ObjectPoolImpl

public interface ObjectPoolAttributeController
extends AttributeController

An attribute controller for object pools.


Method Summary
 int getCapacity()
          Returns the object pool capacity.
 String getObjectClassName()
          Returns the class name of objects that are managed by the pool to which this interface belongs.
 void setCapacity(int capacity)
          Sets the object pool capacity.
 void setObjectClassName(String name)
          Sets the class name of objects that are managed by the pool to which this interface belongs.
 

Method Detail

getCapacity

public int getCapacity()
Returns the object pool capacity.

Returns:
the object pool capacity.

setCapacity

public void setCapacity(int capacity)
Sets the object pool capacity.

Parameters:
capacity - the object pool capacity.

getObjectClassName

public String getObjectClassName()
Returns the class name of objects that are managed by the pool to which this interface belongs.

Returns:
the class name of managed objects.

setObjectClassName

public void setObjectClassName(String name)
Sets the class name of objects that are managed by the pool to which this interface belongs.

Parameters:
name - the class name of managed objects.


Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.