Hello

In the hello world example the subscribe method starts specific thread

public void subscribe(String itemName, Object itemHandle,
boolean needsIterator)
throws SubscriptionException, FailureException {
if (itemName.equals("greetings")) {
gt = new GreetingsThread(itemHandle);
gt.start();
}
}

we are trying to start the thread in init method so even if the subscribe method is not called the thread should run on server side processing the data

public void init(Map params, File configDir) throws DataProviderException {

}
The problem we are getting with the itemHandle Object

can anyone provide a snippet of code to call the thread in init method, as we tried in init method but giving error on server console for the itemHandle object in
listener.smartUpdate function