/** * This method MUST NOT be renamed stop() because the container is registered itself in picocontainer. Starting * a component twice is not authorized. */ public ComponentContainer stopComponents() { return stopComponents(false); }
public void execute() { boolean threw = true; try { startComponents(); threw = false; } finally { stopComponents(threw); } }