org.apache.avalon.lifecycle
Class AbstractAccessor

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.avalon.lifecycle.AbstractAccessor
All Implemented Interfaces:
Accessor, LogEnabled
Direct Known Subclasses:
Extensions

public class AbstractAccessor
extends AbstractLogEnabled
implements Accessor

Abstract implementation of a Accessor.

Author:
Avalon Development Team

Constructor Summary
AbstractAccessor()
           
 
Method Summary
 void access(java.lang.Object object, Context context)
          Access stage handler.
 void release(java.lang.Object object, Context context)
          Release stage handler.
 
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

AbstractAccessor

public AbstractAccessor()
Method Detail

access

public void access(java.lang.Object object,
                   Context context)
            throws java.lang.Exception
Access stage handler.

Specified by:
access in interface Accessor
Parameters:
object - the object that is being accessed
context - the context instance required by the access handler implementation
Throws:
java.lang.Exception - if an error occurs

release

public void release(java.lang.Object object,
                    Context context)
Release stage handler.

Specified by:
release in interface Accessor
Parameters:
object - the object that is being released
context - the context instance required by the release handler implementation


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