org.gcube.data.tmf.api
Interface PluginLifecycle

All Superinterfaces:
Plugin

public interface PluginLifecycle
extends Plugin

A Plugin extension with callbacks made by the service at key points of its lifecycle.

Author:
Fabio Simeoni
See Also:
Plugin

Method Summary
 void start(Environment environment)
          Invoked by the service when plugin is first loaded.
 void stop(Environment environment)
          Invoked by the service when the plugin, or the service, are stopped.
 
Methods inherited from interface org.gcube.data.tmf.api.Plugin
binder, description, isAnchored, name, properties, requestSchemas
 

Method Detail

start

void start(Environment environment)
           throws Exception
Invoked by the service when plugin is first loaded.

Parameters:
environment - the deployment environment of the plugin.
Throws:
Exception

stop

void stop(Environment environment)
Invoked by the service when the plugin, or the service, are stopped.

Parameters:
environment - the deployment environment of the plugin.


Copyright © 2013. All Rights Reserved.