org.apache.avalon.fortress.examples.extended.extensions
Class Extensions

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.avalon.lifecycle.AbstractAccessor
          extended byorg.apache.avalon.fortress.examples.extended.extensions.Extensions
All Implemented Interfaces:
Accessor, LogEnabled

public class Extensions
extends AbstractAccessor

Some custom extensions for this container's components.

Version:
CVS $Revision: 1.9 $ $Date: 2004/02/24 22:31:21 $
Author:
Avalon Development Team

Constructor Summary
Extensions()
           
 
Method Summary
 void access(java.lang.Object component, Context context)
          Access, called when the given component is being accessed (ie.
 
Methods inherited from class org.apache.avalon.lifecycle.AbstractAccessor
release
 
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
 

Constructor Detail

Extensions

public Extensions()
Method Detail

access

public void access(java.lang.Object component,
                   Context context)
            throws java.lang.Exception
Access, called when the given component is being accessed (ie. via lookup() or select()).

Specified by:
access in interface Accessor
Overrides:
access in class AbstractAccessor
Parameters:
component - a Component instance
context - a Context instance
Throws:
java.lang.Exception - if an error occurs


Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.