org.apache.avalon.lifecycle
Class AbstractAccessor

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.avalon.lifecycle.AbstractAccessor
All Implemented Interfaces:
LogEnabled, Accessor

public class AbstractAccessor
extends AbstractLogEnabled
implements Accessor

Abstract implementation of a Accessor.

Author:
Avalon Development Team

Constructor Summary
AbstractAccessor()
           
 
Method Summary
 void access(Object object, Context context)
          Access stage handler.
 void release(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(Object object,
                   Context context)
            throws 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:
Exception - if an error occurs

release

public void release(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 © 2002-2012 The Apache Software Foundation. All Rights Reserved.