KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > celtix > tools > common > toolspec > Tool


1 package org.objectweb.celtix.tools.common.toolspec;
2 import org.objectweb.celtix.tools.common.ToolException;
3 public interface Tool {
4
5     String JavaDoc TOOL_SPEC_PUBLIC_ID = "http://www.xsume.com/Xutil/ToolSpecification";
6
7     void init() throws ToolException;
8
9     void setContext(ToolContext ctx);
10
11     /**
12      * A tool has to be prepared to perform it's duty any number of times.
13      */

14     void performFunction() throws ToolException;
15
16     void destroy() throws ToolException;
17
18 }
19
Popular Tags