Added init() function on plugins

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/vre-management/smart-executor-api@113888 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2015-04-08 09:35:32 +00:00
parent cdfedf17eb
commit 7729529782
1 changed files with 7 additions and 0 deletions

View File

@ -11,6 +11,13 @@ import java.util.Map;
*/
public interface PluginDeclaration {
/**
* This method is used by executor to ask to Plugin to initialize itself.
* In some cases the plugin does not need the initialization. In that case
* the plugin can just implement an empty method.
*/
public void init() throws Exception;
/**
* This method is used by executor to retrieve the name of the Plugin
* @return the name of the plugin used by the Executor to refer to the