|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface JPPFNodeStartupSPI
This interface represents objects that are run at node startup time.
More precisely, they are run just after the node MBeans have been registered, and just before the network handshake with the server is performed.
Classes implementing this interface must have a public no-arg constructor and
implement the run() method.
Node startup classes allow a developer to perform initializations at runtime, such as load specific APIs * that can be reused in the tasks, create connection pools, subscribe to the monitoring MBeans notifications, etc. The range of applications is quite broad.
They are looked up by using the Service Provider Interface (SPI) lookup mechanism. For the SPI to find them, proceed as follows:
| Method Summary |
|---|
| Methods inherited from interface java.lang.Runnable |
|---|
run |
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||