de.janrufmonitor.runtime.launcher
Interface ILauncher


public interface ILauncher

This interface can be implemented by a launcher component which will be registered at the LauncherFactory. A launcher can add or remove java depended information, e.g. jar file to a launcher control file (Batch file or shell script).

Author:
Thilo Brandt

Method Summary
 void addLibrary(String lib)
          Adds the given library to the launchers control file.
 String getID()
          Gets a unique ID of the launcher.
 void removeLibrary(String lib)
          Removes the given library name from the launchers control file.
 

Method Detail

addLibrary

void addLibrary(String lib)
Adds the given library to the launchers control file.

Parameters:
lib - library name to be added

removeLibrary

void removeLibrary(String lib)
Removes the given library name from the launchers control file.

Parameters:
lib - library name to be removed

getID

String getID()
Gets a unique ID of the launcher.

Returns:
unique ID


Copyright © 2010 by Thilo Brandt. All Rights Reserved.