org.apache.avalon.lifecycle
Interface Accessor

All Known Implementing Classes:
AbstractAccessor

public interface Accessor

The Accessor interface describes the access and release stages that occur between a service or component manager and a container during service deployment. Lifecycle extensions supporting access and release stages must implement this interface.

Version:
CVS $Revision: 1.3 $ $Date: 2004/02/28 11:47:19 $
Author:
Avalon Development Team

Method Summary
 void access(java.lang.Object object, Context context)
          Access stage handler.
 void release(java.lang.Object object, Context context)
          Release stage handler.
 

Method Detail

access

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

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.

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.