KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jivesoftware > messenger > plugin > ForumsPlugin


1 package org.jivesoftware.messenger.plugin;
2
3 import org.jivesoftware.messenger.container.Plugin;
4 import org.jivesoftware.messenger.container.PluginManager;
5 import org.jivesoftware.messenger.user.UserManager;
6 import org.jivesoftware.messenger.auth.AuthFactory;
7 import org.jivesoftware.util.JiveGlobals;
8
9 import java.io.File JavaDoc;
10
11 /**
12  * User: patrick
13  * Date: Jul 21, 2005
14  * Time: 3:38:41 PM
15  */

16 public class ForumsPlugin implements Plugin {
17
18     public void initializePlugin(PluginManager manager, File JavaDoc pluginDirectory) {
19         JiveGlobals.setXMLProperty("provider.user.className", ForumsUserProvider.class.getName());
20         JiveGlobals.setXMLProperty("provider.auth.className", ForumsUserProvider.class.getName());
21     }
22
23     public void destroyPlugin() {
24     }
25 }
26
Popular Tags