org.sape.carbon.core.component.lifecycle
Interface Destroyable

All Known Subinterfaces:
ComponentLifecycle
All Known Implementing Classes:
DefaultHttpAdaptorServiceImpl, DefaultThreadPoolImpl

public interface Destroyable

This interface should be implemented by Components that wish to provide a callback method to participate in container destroy operations. This is an opportunity to do any necessary housekeeping before the Component is removed from service. Copyright 2002 Sapient

Since:
carbon 1.0
Version:
$Revision: 1.7 $($Author: dvoet $ / $Date: 2003/05/05 21:21:13 $)
Author:
Chris Herron, January 2002

Method Summary
 void destroy()
          Destroy the component.
 

Method Detail

destroy

public void destroy()
             throws Exception
Destroy the component. Called when the Component is already Stopped.

Throws:
Exception - when there is a failure in destroying the component


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.