Beispiel #1
0
  /* (non-Javadoc)
   * @see com.orange.mmp.module.osgi.FelixOSGiContainer#initialize()
   */
  @Override
  public void initialize() throws MMPException {
    if (!this.isRunning) {
      // Initialize parent (Felix container)
      super.initialize();

      this.runningModules = new Module[0];
      this.isRunning = true;
      try {
        Thread m4mThread = new Thread(this);
        m4mThread.setDaemon(true);
        m4mThread.start();
      } catch (IllegalStateException ise) {
        throw new MMPRuntimeException("Failed to start WidgetManager daemon", ise);
      }
    }
  }
Beispiel #2
0
 /* (non-Javadoc)
  * @see com.orange.mmp.module.osgi.FelixOSGiContainer#shutdown()
  */
 @Override
 public void shutdown() throws MMPException {
   super.shutdown();
 }