Package org.jppf.node.screensaver
Class ScreenSaverMain
java.lang.Object
org.jppf.node.screensaver.ScreenSaverMain
- All Implemented Interfaces:
InitializationHook
Main entry point for starting the screen saver.
- Since:
- 4.0
- Author:
- Laurent Cohen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinitializing(org.jppf.utils.TypedProperties initialConfiguration) This method is called each time the node is about to attempt to connect to a driver.static ImageIconLoad an icon from the specified path.static voidTest the screen saver stadalone (not part of a node).Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jppf.node.initialization.InitializationHook
initializing
-
Constructor Details
-
ScreenSaverMain
public ScreenSaverMain()
-
-
Method Details
-
main
Test the screen saver stadalone (not part of a node).- Parameters:
args- not used.
-
initializing
public void initializing(org.jppf.utils.TypedProperties initialConfiguration) Description copied from interface:InitializationHookThis method is called each time the node is about to attempt to connect to a driver. The provided configuration can be modified.- Specified by:
initializingin interfaceInitializationHook- Parameters:
initialConfiguration- the configuration properties of the node at startup time.
-
loadImage
Load an icon from the specified path.- Parameters:
file- the file to get the icon from.- Returns:
- an
ImageIconinstance.
-