public void reset() {
    for (LifeCycle component : components) {
      if (component.isStarted()) {
        component.stop();
      }
    }
    components.clear();
  }
public void reset() {
    for (LifeCycle component : components) {
      if (component.isStarted()) {
        component.stop();
      }
    }
    components.clear();
  }
public void reset ( ) { for ( LifeCycle component : components ) { if ( component . isStarted ( ) ) { component . stop ( ) ; } } components . clear ( ) ; }
Resets this manager.
<p>
All registered components are stopped and removed from the manager.
Resets this manager . <p > All registered components are stopped and removed from the manager .