All Downloads are FREE. Search and download functionalities are using the official Maven repository.

toothpick.configuration.MultipleRootScopeCheckConfiguration Maven / Gradle / Ivy

There is a newer version: 3.1.0
Show newest version
package toothpick.configuration;

import toothpick.Scope;

/**
 * Check strategy to detect when mutiple roots
 * are created in TP scope forest.
 */
interface MultipleRootScopeCheckConfiguration {
  /**
   * Check that a scope doesn't introduce a second root
   * in TP scope forest.
   *
   * @param scope a newly created scope.
   */
  void checkMultipleRootScopes(Scope scope);

  /**
   * Reset the state of the detector.
   */
  void onScopeForestReset();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy