org.apache.avalon.activation.lifestyle.impl
Class AbstractLifestyleHandler

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.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

Constructor Summary
AbstractLifestyleHandler(Logger logger)
          Creation of a new instance.
 
Method Summary
 Object resolve(Object source)
          Resolve a object to a value.
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
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
 

Constructor Detail

AbstractLifestyleHandler

public AbstractLifestyleHandler(Logger logger)
Creation of a new instance.

Parameters:
logger - the logging channel
Method Detail

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.