org.ceryle.plugin
Interface Disposable

All Known Subinterfaces:
Plugin
All Known Implementing Classes:
PluginBase

public interface Disposable

An interface for the closing() and dispose() methods available on Ceryle plugins.

Since:
JDK1.4
Version:
$Id: Disposable.java,v 3.3 2007-06-15 12:09:29 altheim Exp $
Author:
Murray Altheim

Method Summary
 boolean closing()
          Warns of the imminent closing of the plugin, allowing it to finish up any remaining tasks prior to disposal.
 void dispose()
          Disposes of the plugin.
 

Method Detail

closing

boolean closing()
Warns of the imminent closing of the plugin, allowing it to finish up any remaining tasks prior to disposal.

Returns:
true if the plugin closed without a problem

dispose

void dispose()
Disposes of the plugin.



The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.