org.apache.avalon.lifecycle
Interface Accessor
- All Known Implementing Classes:
- AbstractAccessor, TestAccessor
- 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:
| Method Summary |
void |
access(java.lang.Object object, Context context)
Access stage handler. |
void |
release(java.lang.Object object, Context context)
Release stage handler. |
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
Please see keelframework.org for information about new Keel releases.