KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > oddjob > framework > Destroyable


1 package org.oddjob.framework;
2
3 /**
4  * An inteface for the proxy to implement so that a proxy can be destroyed.
5  * Destruction is normally via reflection looking for, and invoking a destroy
6  * method but obviously this doesn't work for proxies.
7  *
8  * @author Rob Gordon
9  */

10 public interface Destroyable {
11
12     /**
13      * Destroy the job, destroy all it's children and clean up any resources.
14      */

15     public void destroy();
16 }
17
Popular Tags