se.datadosen.jalbum
Interface JAlbumPlugin


public interface JAlbumPlugin

JAlbum plugin interface On start up, jAlbum scans class files ending in *Plugin inside the "plugins" and "ext" directory (jar files) If found classes also implement this interface, an instance of that class is created. The instantiation is performed early during start up, before the JAlbumFrame and AlbumBean objects are created. When all critical JAlbum objects are created, jAlbum calls init() on all instantiated plugins.

Since:
8.1.6

Method Summary
 void init(PluginContext context)
          Allow a plugin to plug itself into the jAlbum framework.
 boolean onExit()
          Called when jAlbum is about to exit.
 

Method Detail

init

void init(PluginContext context)
Allow a plugin to plug itself into the jAlbum framework. Called when all critical JAlbum objects are created, but before the window is opened.

Parameters:
context - allows you to plug yourself into the jAlbum UI.

onExit

boolean onExit()
Called when jAlbum is about to exit. Allows for cleanup

Returns:
true if ok for jAlbum process to exit. false if the jAlbum process is to be kept running