@Override
 protected void cancelPolling(IServer server) {
   IControllableServerBehavior jbsBehavior =
       JBossServerBehaviorUtils.getControllableBehavior(server);
   Object pt =
       ((ControllableServerBehavior) jbsBehavior)
           .getSharedData(IDeployableServerBehaviorProperties.POLL_THREAD);
   if (pt != null) {
     PollThreadUtils.cancelPolling(null, (PollThread) pt);
   }
 }
 /*
  * A solution needs to be found here.
  * Should ideally use the poller that the server says is its poller,
  * but some pollers such as timeout poller
  */
 protected IStatus isServerStarted(IServer server) {
   return PollThreadUtils.isServerStarted(server);
 }
 protected void initiatePolling(IServer server) {
   // Initiate Polling!
   PollThreadUtils.pollServer(server, IServerStatePoller.SERVER_UP);
 }