001/*
002 * Copyright 2010-2015 Institut Pasteur.
003 * 
004 * This file is part of Icy.
005 * 
006 * Icy is free software: you can redistribute it and/or modify
007 * it under the terms of the GNU General Public License as published by
008 * the Free Software Foundation, either version 3 of the License, or
009 * (at your option) any later version.
010 * 
011 * Icy is distributed in the hope that it will be useful,
012 * but WITHOUT ANY WARRANTY; without even the implied warranty of
013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
014 * GNU General Public License for more details.
015 * 
016 * You should have received a copy of the GNU General Public License
017 * along with Icy. If not, see <http://www.gnu.org/licenses/>.
018 */
019package icy.plugin.interface_;
020
021import icy.plugin.PluginLoader;
022
023/**
024 * Interface for inner bundled plugin.
025 * This interface should be used for plugin which are packaged inside others plugins<br>
026 * (in a single JAR plugin file).<br>
027 * Generally you should avoid that as only one plugin can be correctly identified in a JAR<br>
028 * and a descriptor but in some case it can be useful.<br>
029 * You have to implement the {@link #getMainPluginClassName()} method to return<br>
030 * the main plugin class name so your plugin can be identified.
031 * This class will also hide your plugin from the plugin list in {@link PluginLoader}.
032 * 
033 * @author Stephane
034 */
035public interface PluginBundled
036{
037    public String getMainPluginClassName();
038}