@ Override public void started ( ServiceBroker broker ) throws Exception { super . started ( broker ) ; // Local nodeID this . nodeID = broker . getNodeID ( ) ; // Set components ServiceBrokerConfig cfg = broker . getConfig ( ) ; this . executor = cfg . getExecutor ( ) ; this . scheduler = cfg . getScheduler ( ) ; this . strategyFactory = cfg . getStrategyFactory ( ) ; this . contextFactory = cfg . getContextFactory ( ) ; this . transporter = cfg . getTransporter ( ) ; this . eventbus = cfg . getEventbus ( ) ; this . uid = cfg . getUidGenerator ( ) ; }
Initializes ServiceRegistry instance .