public class ThreadBoundReactorSample {
public static void main(String[] args) throws Exception {
//A plant with no threads.
new Plant(0);
//Get a reference to the main thread.
final Thread mainThread = Thread.currentThread();
//Create a thread-bound processing.