001    // GraphLab Project: http://graphlab.sharif.edu
002    // Copyright (C) 2008 Mathematical Science Department of Sharif University of Technology
003    // Distributed under the terms of the GNU General Public License (GPL): http://www.gnu.org/licenses/
004    package graphlab.plugins.connector;
005    
006    import graphlab.platform.core.BlackBoard;
007    import graphlab.platform.extension.ExtensionLoader;
008    import graphlab.platform.plugin.PluginInterface;
009    import graphlab.plugins.connector.matlab.MatlabExtensionLoader;
010    
011    /**
012     * @author azin
013     */
014    public class Init implements PluginInterface {
015        static {
016            try {
017                System.loadLibrary("jmatlink");
018                ExtensionLoader.registerUnknownExtensionLoader(new MatlabExtensionLoader());
019            }
020            catch (UnsatisfiedLinkError e) {
021                System.err.println("Could't load JMATLINK");
022                //System.err.println("Could't load JMATLINK");
023    //            e.printStackTrace();
024            }
025    //        ExtensionLoader.registerExtensionHandler(new MatlabReportHandler());
026        }
027    
028        public void init(BlackBoard blackboard) {
029        }
030    }