protected void setupSubscriptions() { super.setupSubscriptions(); myOrganizations = (IncrementalSubscription) subscribe(orgsPredicate); consumerSubscription = (IncrementalSubscription) subscribe(personPredicate()); if (didRehydrate()) { rehydrate(); } // if } // setupSubscriptions
public void load() { super.load(); serviceBroker = getBindingSite().getServiceBroker(); if (serviceBroker != null) { logger = getLoggingService(this); timeUtils = new TimeUtils(this); assetUtils = new AssetUtils(this); taskUtils = new TaskUtils(this); scheduleUtils = new ScheduleUtils(this); queryService = getBlackboardQueryService(this); if (queryService == null) { if (logger.isErrorEnabled()) { logger.error("Unable to get query service"); } } } }