net.sourceforge.blogentis.plugins.impl
Class PageExtensionPointImpl

java.lang.Object
  extended bynet.sourceforge.blogentis.plugins.AbstractExtensionPoint
      extended bynet.sourceforge.blogentis.plugins.impl.PageExtensionPointImpl
All Implemented Interfaces:
IExtensionPoint, IPageExtensionPoint

public class PageExtensionPointImpl
extends AbstractExtensionPoint
implements IPageExtensionPoint

Implementation of the page extension point.

Author:
abas

Field Summary
 
Fields inherited from class net.sourceforge.blogentis.plugins.AbstractExtensionPoint
extensions, plugin
 
Constructor Summary
PageExtensionPointImpl(IPlugin plugin)
           
 
Method Summary
 void doBuildAfterAction(BlogRunData data)
          Will be called after the action and before the Screen will be executed.
 void doBuildBeforeAction(BlogRunData data)
          Called before the action is executed.
 void doPostBuild(BlogRunData data)
          Called after the screen has been executed and before cleanup.
 java.lang.Class getExtensionClass()
          Get the class or interface that extensions for this extension point have to implement.
 java.lang.String getName()
          Get the user-visible name of this extension point.
 
Methods inherited from class net.sourceforge.blogentis.plugins.AbstractExtensionPoint
addExtension, getExtensions, getPlugin, removeExtension, removeExtensions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sourceforge.blogentis.plugins.IExtensionPoint
addExtension, getExtensions, getPlugin, removeExtension, removeExtensions
 

Constructor Detail

PageExtensionPointImpl

public PageExtensionPointImpl(IPlugin plugin)
Method Detail

doBuildBeforeAction

public void doBuildBeforeAction(BlogRunData data)
Description copied from interface: IPageExtensionPoint
Called before the action is executed.

Specified by:
doBuildBeforeAction in interface IPageExtensionPoint
Parameters:
data - the BlogRunData of the request.

doBuildAfterAction

public void doBuildAfterAction(BlogRunData data)
Description copied from interface: IPageExtensionPoint
Will be called after the action and before the Screen will be executed. Skipped if the action marked a redirect.

Specified by:
doBuildAfterAction in interface IPageExtensionPoint
Parameters:
data - the BlogRunData of the request.

doPostBuild

public void doPostBuild(BlogRunData data)
Description copied from interface: IPageExtensionPoint
Called after the screen has been executed and before cleanup. skipped if the action has sent a redirect.

Specified by:
doPostBuild in interface IPageExtensionPoint
Parameters:
data - the BlogRunData of the request.

getName

public java.lang.String getName()
Description copied from interface: IExtensionPoint
Get the user-visible name of this extension point.

Specified by:
getName in interface IExtensionPoint
Returns:
the name of this extension point.

getExtensionClass

public java.lang.Class getExtensionClass()
Description copied from interface: IExtensionPoint
Get the class or interface that extensions for this extension point have to implement.

Specified by:
getExtensionClass in interface IExtensionPoint
Returns:
this extension points' appropriate base class or inteface.


Copyright © 2003-2004 SourceForge.net. All Rights Reserved.