try {
pollingInterval = Integer.parseInt(pollingIntervalString);
} catch (Exception e) {
pollingInterval = EventContext.MINIMUM_POLLING_INTERVAL;
}
eventPoller = new PerfTestEventPoller(resourceContext);
this.resourceContext.getEventContext().registerEventPoller(eventPoller, pollingInterval);
}
}
}