1 package org.ocltf.common;
2
3
4
5 /***
6 * All plug-ins that can be found and used by
7 * the framework must implement this interface
8 *
9 * @author Chad Brandon
10 */
11 public interface Plugin {
12
13 /***
14 * Returns the name of this Plugin. This name must
15 * be unique amoung those Plugins of the same type.
16 *
17 * @return String the name of this Plugin
18 */
19 public String getName();
20
21 /***
22 * The name of the resource (i.e META-INF/cartridge.xml)
23 * that will configure an instance of this Plugin.
24 *
25 * @return String the name of the resource that can configure
26 * an instance of this Plugin.
27 */
28 public String getResourceName();
29
30 }