public void initialize() { super.initialize(); repository = (IAppRepositoryManager) getConnectedComponents().get(IAppRepositoryManager.class.getName()); componentManager = (IComponentManager) getConnectedComponents().get(IComponentManager.class.getName()); repository.open(); }
public void initialize() { super.initialize(); battery = Spot.getInstance().getPowerController().getBattery(); }