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:
- LifestyleHandler, LogEnabled
- public class PooledLifestyleHandler
- extends AbstractLifestyleHandler
- Version:
- $Revision: 1.4 $ $Date: 2003/10/19 06:12:58 $
- Author:
- Avalon Development Team
Method Summary |
void |
release(Object instance,
boolean finalized)
Release an object |
Object |
resolve()
Resolve a object to a value relative to a supplied set of
interface classes. |
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()
throws Exception
- Resolve a object to a value relative to a supplied set of
interface classes.
- Returns:
- the resolved object
- Throws:
Exception
- if an error occurs
release
public void release(Object instance,
boolean finalized)
- Release an object
- Parameters:
instance
- the object to be releasedfinalized
- if TRUE the lifestyle handler cannot reuse the instance
Copyright © Apache Software Foundation. All Rights Reserved.