org.apache.avalon.fortress.impl.handler
Class AbstractReleasableComponent

java.lang.Object
  extended byorg.apache.avalon.fortress.impl.handler.AbstractReleasableComponent
All Implemented Interfaces:
ReleasableComponent

public class AbstractReleasableComponent
extends java.lang.Object
implements ReleasableComponent

Base Implementation for a releasable component.

Since:
1.2
Version:
CVS $Revision: 1.2 $ $Date: 2004/03/13 17:57:59 $
Author:
Avalon Development Team

Constructor Summary
AbstractReleasableComponent()
           
 
Method Summary
 void initialize(ComponentHandler handler)
          Initialize this component with the corresponding component handler.
 void releaseOnComponentHandler()
          Puts the reference back in the ComponentHandler according to the policy of the implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractReleasableComponent

public AbstractReleasableComponent()
Method Detail

initialize

public void initialize(ComponentHandler handler)
                throws java.lang.Exception
Description copied from interface: ReleasableComponent
Initialize this component with the corresponding component handler.

Specified by:
initialize in interface ReleasableComponent
Parameters:
handler - The component handler used to put this component back again
Throws:
java.lang.Exception

releaseOnComponentHandler

public void releaseOnComponentHandler()
Description copied from interface: ReleasableComponent
Puts the reference back in the ComponentHandler according to the policy of the implementation. In fact this calls the put method on the ComponentHandler

Specified by:
releaseOnComponentHandler in interface ReleasableComponent


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