@Override
protected void cancelPolling(IServer server) {
Object o = getControllableBehavior().getSharedData(BaseKarafPoller.KEY_POLLER);
if (o instanceof PollThread) {
PollThread pollThread = (PollThread)o;
pollThread.cancel();
}
}
@Override
protected void logStatus(IServer server, IStatus stat) {