magoffin.matt.ma2.plugin
Interface Plugin

All Known Subinterfaces:
BrowseModePlugin
All Known Implementing Classes:
AbstractJdbcBrowseModePlugin, AbstractPlugin, AlbumsByDateBrowseModePlugin, NoopPlugin, PopularityBrowseModePlugin, RatingAverageBrowseModePlugin

public interface Plugin

Base API for system plugins.

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

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.
 

Method Detail

getPluginType

java.lang.Class<? extends Plugin> getPluginType()
Return the type of plugin this plugin represents.

Returns:
the plugin type

initialize

void initialize(org.springframework.context.ApplicationContext application)
Initialize the plugin.

Parameters:
application - the Spring application context

getMessageResourceNames

java.lang.String[] getMessageResourceNames()
Get a list of message resource names to register.

Returns:
the message resource names