| java.lang.Object org.blojsom.plugin.velocity.StandaloneVelocityPlugin org.blojsom.plugin.pingback.PingbackPlugin
PingbackPlugin | public class PingbackPlugin extends StandaloneVelocityPlugin implements Plugin,Listener(Code) | | Pingback plugin implements a pingback client to send pingbacks to any URLs in a blog entry according to the
Pingback 1.0 specification.
author: David Czarnecki version: $Id: PingbackPlugin.java,v 1.8 2007/01/17 02:35:13 czarneckid Exp $ since: blojsom 3.0 |
BLOJSOM_PINGBACK_PLUGIN_APPROVED | final public static String BLOJSOM_PINGBACK_PLUGIN_APPROVED(Code) | | |
BLOJSOM_PINGBACK_PLUGIN_METADATA_IP | final public static String BLOJSOM_PINGBACK_PLUGIN_METADATA_IP(Code) | | IP address meta-data
|
BLOJSOM_PLUGIN_PINGBACK_METADATA_DESTROY | final public static String BLOJSOM_PLUGIN_PINGBACK_METADATA_DESTROY(Code) | | |
PINGBACK_MODERATION_ENABLED | final public static String PINGBACK_MODERATION_ENABLED(Code) | | |
PINGBACK_PLUGIN_METADATA_SEND_PINGBACKS | final public static String PINGBACK_PLUGIN_METADATA_SEND_PINGBACKS(Code) | | |
PINGBACK_PREFIX_IP | final public static String PINGBACK_PREFIX_IP(Code) | | |
PingbackPlugin | public PingbackPlugin()(Code) | | Create a new instance of the Pingback plugin
|
init | public void init() throws PluginException(Code) | | Initialize this plugin. This method only called when the plugin is instantiated.
throws: PluginException - If there is an error initializing the plugin |
process | public Entry[] process(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Blog blog, Map context, Entry[] entries) throws PluginException(Code) | | Process the blog entries
Parameters: httpServletRequest - Request Parameters: httpServletResponse - Response Parameters: blog - Blog instance Parameters: context - Context Parameters: entries - Blog entries retrieved for the particular request Modified set of blog entries throws: PluginException - If there is an error processing the blog entries |
processEvent | public void processEvent(Event event)(Code) | | Process an event from another component
Parameters: event - Event to be handled |
setupEmail | protected void setupEmail(Blog blog, Entry entry, Email email) throws EmailException(Code) | | Setup the pingback e-mail
Parameters: blog - org.blojsom.blog.Blog information Parameters: email - Email message throws: org.apache.commons.mail.EmailException - If there is an error preparing the e-mail message |
|
|