package com.beolnix.marvin.plugins.api;

/**
 * Interface used by marvin-core for subscription on deploy and undeploy events launched by PluginsProvider
 * Created by beolnix on 31/10/15.
 */
public interface PluginsListener {

    /**
     * Method should be executed by PluginProvider if it registered new plugin
     * @param imPlugin
     */
    void deployPlugin(IMPlugin imPlugin);

    /**
     * Method should be executed by PluginProvider if it unregistered the plugin
     * @param imPlugin
     */
    void undeployPlugin(IMPlugin imPlugin);

}

@@ -239,33 +239,26 @@
    * Method 
+i
 s
-hould be
  executed by
@@ -401,17 +401,10 @@
 hod 
+i
 s
-hould be
  exe
@@ -468,32 +468,35 @@
   * @param imPlu
+add
 gin%0A     */%0A    
@@ -536,10 +536,161 @@
 ugin);%0A%0A
+    /**%0A     * Method is executed by PluginProvider if it catch error during plugin registration%0A     * @param%0A     */%0A    void onError(Throwable e);%0A%0A
 %7D%0A

add onError method to PluginsListener