@header@
Plugins

Plugins are a way to extend the functionality of Pebble in a structured way and most of the plugin APIs currently available allow you to write Java classes that are notified when particular events occur. The plugin APIs available are as follows.

With all types of plugins, to use your own implementation you must add your compiled class(es) to the classpath of the Pebble web application. To do this, either place the class file(s) underneath the /WEB-INF/classes directory or inside a JAR file placed underneath the /WEB-INF/lib directory.

If you've added new classes to the web application classpath, you may need to restart the web application so that they are picked up by the servlet container.

Next, login to your blog, click the Plugins link and enter the fully qualified class name in the appropriate place. This will either be a textfield in which a single class name can be specified, or a textarea containing a whitespace (i.e. space or carriage return) separated list of class names.

After saving, click the Reload blog link so that the plugins are registered with your blog and started.

@footer@