com.ecyrd.jspwiki.filters
Class PingWeblogsComFilter

java.lang.Object
  extended by com.ecyrd.jspwiki.filters.BasicPageFilter
      extended by com.ecyrd.jspwiki.filters.PingWeblogsComFilter
All Implemented Interfaces:
PageFilter

public class PingWeblogsComFilter
extends BasicPageFilter

A very dumb class that pings weblogs.com on each save. INTERNAL USE ONLY SO FAR! Look, but don't use as-is.


Field Summary
 String m_pingURL
           
static String PROP_PINGURL
           
 
Constructor Summary
PingWeblogsComFilter()
           
 
Method Summary
 void initialize(Properties props)
          Is called whenever the a new PageFilter is instantiated and reset.
 void postSave(WikiContext context, String pagecontent)
          This method is called after the page has been successfully saved.
 
Methods inherited from class com.ecyrd.jspwiki.filters.BasicPageFilter
postTranslate, preSave, preTranslate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_pingURL

public String m_pingURL

PROP_PINGURL

public static String PROP_PINGURL
Constructor Detail

PingWeblogsComFilter

public PingWeblogsComFilter()
Method Detail

initialize

public void initialize(Properties props)
Description copied from interface: PageFilter
Is called whenever the a new PageFilter is instantiated and reset.

Specified by:
initialize in interface PageFilter
Overrides:
initialize in class BasicPageFilter

postSave

public void postSave(WikiContext context,
                     String pagecontent)
Description copied from interface: PageFilter
This method is called after the page has been successfully saved. If the saving fails for any reason, then this method will not be called.

Since the result is discarded from this method, this is only useful for things like counters, etc.

Specified by:
postSave in interface PageFilter
Overrides:
postSave in class BasicPageFilter