org.apache.avalon.activation.lifestyle.impl
Class AbstractLifestyleHandler
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.avalon.activation.lifestyle.impl.AbstractLifestyleHandler
- All Implemented Interfaces:
- Home, LifestyleHandler, LogEnabled
- Direct Known Subclasses:
- PooledLifestyleHandler, SingletonLifestyleHandler, ThreadLifestyleHandler, TransientLifestyleHandler
- public abstract class AbstractLifestyleHandler
- extends AbstractLogEnabled
- implements LifestyleHandler
Abstract implentation class for a lifestyle handler.
- 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 |
Methods inherited from interface org.apache.avalon.activation.appliance.Home |
release, resolve |
AbstractLifestyleHandler
public AbstractLifestyleHandler(Logger logger)
- Creation of a new instance.
- Parameters:
logger
- the logging channel
resolve
public Object resolve(Object source)
throws Exception
- Resolve a object to a value.
- Specified by:
resolve
in interface Home
- Parameters:
source
- the context within the the resolution is applied
- Returns:
- the resolved object
- Throws:
Exception
- if an error occurs
Copyright © Apache Software Foundation. All Rights Reserved.