View Javadoc
1 /* 2 * (C) 2002 David Carr david@carr.name 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 2 of the License, or 7 * (at your option) any later version. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to the Free Software 16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 */ 18 19 package net.sourceforge.mflow.api; 20 21 /*** 22 * Manages MFlow plugins 23 * 24 * @author <a href="mailto:david@carr.name">David Carr</a> 25 * @version $Revision: 1.3 $ 26 */ 27 public interface PluginManager { 28 /*** 29 * Returns an array of all known plugins 30 * 31 * @return an array of all known plugins 32 */ 33 Plugin[] getKnownPlugins(); 34 35 /*** 36 * Updates the list of known plugins 37 */ 38 void refreshPluginList(); 39 40 /*** 41 * Enables/disables a given plugin 42 * 43 * @param plugin the plugin to enable/disable 44 * @todo change to setEnabled 45 */ 46 void toggleLoading(Plugin plugin); 47 48 /*** 49 * Shuts down the plugin system, notifying all plugins to dispose of resources 50 */ 51 void shutdown(); 52 53 /*** 54 * Returns the contact method manager 55 * 56 * @return the contact method manager 57 */ 58 ContactMethodManager getContactMethodManager(); 59 60 /*** 61 * Returns the component manager 62 * 63 * @return the component manager 64 */ 65 ComponentManager getComponentManager(); 66 67 /*** 68 * Returns the UI manager 69 * 70 * @return the UI manager 71 */ 72 MFlowUIManager getUIManager(); 73 74 /*** 75 * Returns the contact manager 76 * 77 * @return the contact manager 78 */ 79 ContactManager getContactManager(); 80 81 /*** 82 * Returns the account manager 83 * 84 * @return the account manager 85 */ 86 AccountManager getAccountManager(); 87 }

This page was automatically generated by Maven