Commit 97a4296b authored by Matt Tucker's avatar Matt Tucker Committed by matt

Added note about using Jive properties.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1208 b35dd754-fafc-0310-a699-88a17e54d16e
parent e258344f
......@@ -253,6 +253,13 @@ points that are the most common:
iqRouter.addHandler(myHandler);
</pre>
<li>You can store persistent plugin settings as Jive Messenger properties using the
JiveGlobals.getProperty(String) and JiveGlobals.setProperty(String, String) methods. Make
your plugin a property listener to listen for changes to its properties by implementing the
<tt>org.jivesoftware.messenger.event.PropertyEventListener</tt> method.
You can register your plugin as a listener using the PropertyEventDispatcher.addListener(PropertyEventListener)
method. Be sure to unregister your plugin as a listener in your plugin's destroyPlugin() method.
</ol>
</p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment