org.apache.avalon.lifecycle
Class AbstractAccessor
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.avalon.lifecycle.AbstractAccessor
- All Implemented Interfaces:
- org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.lifecycle.Accessor
public class AbstractAccessor
- extends org.apache.avalon.framework.logger.AbstractLogEnabled
- implements org.apache.avalon.lifecycle.Accessor
Abstract implementation of a Accessor
.
- Author:
- Avalon Development Team
Method Summary |
void |
access(java.lang.Object object,
org.apache.avalon.framework.context.Context context)
Access stage handler. |
void |
release(java.lang.Object object,
org.apache.avalon.framework.context.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 |
AbstractAccessor
public AbstractAccessor()
access
public void access(java.lang.Object object,
org.apache.avalon.framework.context.Context context)
throws java.lang.Exception
- Access stage handler.
- Specified by:
access
in interface org.apache.avalon.lifecycle.Accessor
- Parameters:
object
- the object that is being accessedcontext
- 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,
org.apache.avalon.framework.context.Context context)
- Release stage handler.
- Specified by:
release
in interface org.apache.avalon.lifecycle.Accessor
- Parameters:
object
- the object that is being releasedcontext
- the context instance required by the release handler
implementation
Copyright © 2002-2008 Apache Software Foundation. All Rights Reserved.