magoffin.matt.ma2.plugin
Class NoopPlugin

java.lang.Object
  extended by magoffin.matt.ma2.plugin.NoopPlugin
All Implemented Interfaces:
Plugin

public class NoopPlugin
extends java.lang.Object
implements Plugin

Plugin implementation that does nothing.

This plugin exists just to be able to test plugin infrastructure.

Version:
$Revision: 43 $ $Date: 2007-10-21 11:10:01 +1300 (Sun, 21 Oct 2007) $
Author:
matt

Constructor Summary
NoopPlugin()
           
 
Method Summary
 java.lang.String[] getMessageResourceNames()
          Get a list of message resource names to register.
 java.lang.Class<? extends Plugin> getPluginType()
          Return the type of plugin this plugin represents.
 void initialize(org.springframework.context.ApplicationContext application)
          Initialize the plugin.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoopPlugin

public NoopPlugin()
Method Detail

getPluginType

public java.lang.Class<? extends Plugin> getPluginType()
Description copied from interface: Plugin
Return the type of plugin this plugin represents.

Specified by:
getPluginType in interface Plugin
Returns:
the plugin type

initialize

public void initialize(org.springframework.context.ApplicationContext application)
Description copied from interface: Plugin
Initialize the plugin.

Specified by:
initialize in interface Plugin
Parameters:
application - the Spring application context

getMessageResourceNames

public java.lang.String[] getMessageResourceNames()
Description copied from interface: Plugin
Get a list of message resource names to register.

Specified by:
getMessageResourceNames in interface Plugin
Returns:
the message resource names