net.sourceforge.mflow.impl
Class PluginManagerImpl

java.lang.Object
  extended bynet.sourceforge.mflow.impl.PluginManagerImpl
All Implemented Interfaces:
PluginManager

public class PluginManagerImpl
extends java.lang.Object
implements PluginManager

Manages MFlow plugins

Version:
$Revision: 1.4 $
Author:
David Carr

Constructor Summary
PluginManagerImpl()
          Default constructor; makes appropriate managers and populates the plugin list
 
Method Summary
 AccountManager getAccountManager()
          Returns the account manager
 ComponentManager getComponentManager()
          Returns the component manager
 ContactManager getContactManager()
          Returns the contact manager
 ContactMethodManager getContactMethodManager()
          Returns the contact method manager
 Plugin[] getKnownPlugins()
          Returns an array of all known plugins
 MFlowUIManager getUIManager()
          Returns the UI manager
 void refreshPluginList()
          Updates the list of known plugins
 void shutdown()
          Shuts down the plugin system, notifying all plugins to dispose of resources
 void toggleLoading(Plugin plugin)
          Enables/disables a given plugin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginManagerImpl

public PluginManagerImpl()
Default constructor; makes appropriate managers and populates the plugin list

Method Detail

getKnownPlugins

public Plugin[] getKnownPlugins()
Returns an array of all known plugins

Specified by:
getKnownPlugins in interface PluginManager
Returns:
an array of all known plugins

refreshPluginList

public void refreshPluginList()
Updates the list of known plugins

Specified by:
refreshPluginList in interface PluginManager

toggleLoading

public void toggleLoading(Plugin plugin)
Enables/disables a given plugin

Specified by:
toggleLoading in interface PluginManager
Parameters:
plugin - the plugin to enable/disable
To Do:
change to setEnabled

shutdown

public void shutdown()
Shuts down the plugin system, notifying all plugins to dispose of resources

Specified by:
shutdown in interface PluginManager

getContactMethodManager

public ContactMethodManager getContactMethodManager()
Returns the contact method manager

Specified by:
getContactMethodManager in interface PluginManager
Returns:
the contact method manager

getComponentManager

public ComponentManager getComponentManager()
Returns the component manager

Specified by:
getComponentManager in interface PluginManager
Returns:
the component manager

getUIManager

public MFlowUIManager getUIManager()
Returns the UI manager

Specified by:
getUIManager in interface PluginManager
Returns:
the UI manager

getContactManager

public ContactManager getContactManager()
Returns the contact manager

Specified by:
getContactManager in interface PluginManager
Returns:
the contact manager

getAccountManager

public AccountManager getAccountManager()
Returns the account manager

Specified by:
getAccountManager in interface PluginManager
Returns:
the account manager


Copyright © 2002-2004 MFlow Group. All Rights Reserved.