Exemplo n.º 1
0
  public void initialize() {
    super.initialize();
    repository =
        (IAppRepositoryManager) getConnectedComponents().get(IAppRepositoryManager.class.getName());

    componentManager =
        (IComponentManager) getConnectedComponents().get(IComponentManager.class.getName());

    repository.open();
  }
Exemplo n.º 2
0
 public void initialize() {
   super.initialize();
   battery = Spot.getInstance().getPowerController().getBattery();
 }