Package org.jppf.node.initialization
Interface InitializationHook
- All Known Implementing Classes:
OutputRedirectHook,ScreenSaverMain
public interface InitializationHook
Interface for custom discovery of the driver to connect to.
By definition, an initialization hook must be deployed in the node's classpath, since it must be known before the node connects to the driver, which means that it cannot be downloaded from the driver.
- Author:
- Laurent Cohen
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidinitializing(org.jppf.utils.TypedProperties initialConfiguration) This method is called each time the node is about to attempt to connect to a driver.default voidinitializing(org.jppf.utils.UnmodifiableTypedProperties initialConfiguration) Deprecated.
-
Method Details
-
initializing
@Deprecated default void initializing(org.jppf.utils.UnmodifiableTypedProperties initialConfiguration) Deprecated.the classUnmodifiableTypedPropertiesis deprecated, useinitializing(TypedProperties)instead.This method is called each time the node is about to attempt to connect to a driver. The provided configuration can be modified.- Parameters:
initialConfiguration- the un-modified configuration properties of the node at startup time.
-
initializing
default void initializing(org.jppf.utils.TypedProperties initialConfiguration) This method is called each time the node is about to attempt to connect to a driver. The provided configuration can be modified.- Parameters:
initialConfiguration- the configuration properties of the node at startup time.
-
UnmodifiableTypedPropertiesis deprecated, useinitializing(TypedProperties)instead.