Mercurial > hg > blitz_condensed
comparison src/com/go/trove/util/plugin/PluginAdapter.java @ 0:3dc0c5604566
Initial checkin of blitz 2.0 fcs - no installer yet.
author | Dan Creswell <dan.creswell@gmail.com> |
---|---|
date | Sat, 21 Mar 2009 11:00:06 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:3dc0c5604566 |
---|---|
1 /** | |
2 * PluginAdapter.java | |
3 * | |
4 * Copyright (c) 1999-2001 Disney Internet Group, Inc. All Rights Reserved. | |
5 * | |
6 * Original author: Scott Jappinen (scott.jappinen@dig.com) | |
7 * | |
8 * $Author: dan $ | |
9 * $Revision: 1.1 $ | |
10 * $Date: Mon, 13 Oct 2003 12:20:39 +0100 $ | |
11 */ | |
12 package com.go.trove.util.plugin; | |
13 | |
14 /** | |
15 * | |
16 * | |
17 * @author Scott Jappinen | |
18 * @version <!--$$Revision: 1.1 $-->-<!--$$JustDate:--> 01/03/23 <!-- $--> | |
19 */ | |
20 public class PluginAdapter implements Plugin { | |
21 | |
22 /** | |
23 * Initializes resources used by the Plugin. | |
24 * | |
25 * @param config the plugins's configuration object | |
26 */ | |
27 public void init(PluginConfig config) throws PluginException {} | |
28 | |
29 /** | |
30 * Return the name of the Plugin. | |
31 * | |
32 * @return String the name of the plugin. | |
33 */ | |
34 public String getName() { | |
35 return null; | |
36 } | |
37 | |
38 /** | |
39 * Called by the host container when the plugin is no longer needed. | |
40 */ | |
41 public void destroy() {} | |
42 | |
43 /** | |
44 * This method is invoked whenever a Plugin has added itself to the PluginContext. | |
45 * | |
46 * @param event a PluginEvent event object. | |
47 */ | |
48 public void pluginAdded(PluginEvent event) {} | |
49 | |
50 } | |
51 |