コード例 #1
0
  public void initialize() {
    super.initialize();
    repository =
        (IAppRepositoryManager) getConnectedComponents().get(IAppRepositoryManager.class.getName());

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

    repository.open();
  }
コード例 #2
0
 public void initialize() {
   super.initialize();
   battery = Spot.getInstance().getPowerController().getBattery();
 }