org.apache.avalon.activation.lifestyle.impl
Class PooledLifestyleHandler
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.avalon.activation.lifestyle.impl.AbstractLifestyleHandler
org.apache.avalon.activation.lifestyle.impl.PooledLifestyleHandler
- All Implemented Interfaces:
- Home, LifestyleHandler, LogEnabled
- public class PooledLifestyleHandler
- extends AbstractLifestyleHandler
- Version:
- $Revision: 1.1.1.1 $ $Date: 2003/09/10 08:56:29 $
- Author:
- Avalon Development Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PooledLifestyleHandler
public PooledLifestyleHandler(Logger logger,
Factory factory)
resolve
public Object resolve(Object source,
Class[] ref)
throws Exception
- Resolve a object to a value relative to a supplied set of
interface classes.
- Parameters:
source
- the aquiring sourceref
- the castable service classes
- Returns:
- the resolved object
- Throws:
Exception
- if an error occurs
release
public void release(Object source,
Object object)
- Release an object. The abstract implementation does nothing,
- Parameters:
source
- the context with respect the reclaimed object is qualifiedobject
- the object to be reclaimed
Copyright © Apache Software Foundation. All Rights Reserved.