/*
  public void setupSubscriptions() {                  if (logger.isDebugEnabled()) logger.debug("setupSubscriptions called.");     if (!haveServices()) {        logger.error(".haveServices - did NOT acquire services.");        return;     }      initObjects(); //create & publish condition and op mode objects     //Listen for changes in out defense mode object     defenseModeSubscription = ( IncrementalSubscription ) getBlackboardService().subscribe( new UnaryPredicate() {        public boolean execute(Object o) {            if ( o instanceof MyDefenseEnabler ) {                return true ;            }            return false ;        }    }) ;    //Listen for changes in our enabling mode object     enablingModeSubscription = ( IncrementalSubscription ) getBlackboardService().subscribe( new UnaryPredicate() {        public boolean execute(Object o) {            if ( o instanceof MyMonitoringEnabler ) {                return true ;            }            return false ;        }     }) ;           if (logger.isInfoEnabled()) {         logger.info ("Published condition and two OpMode ");      }  }