/** * Resets the state of the scope. * Useful for automation testing when we want to reset the scope used to install test modules. */ protected void reset() { scopeAnnotationClasses.clear(); isOpen = true; bindScopeAnnotationIfNameIsScopeAnnotation(); }
public ScopeNode(Object name) { if (name == null) { throw new IllegalArgumentException("A scope can't have a null name"); } this.name = name; bindScopeAnnotationIfNameIsScopeAnnotation(); }
public ScopeNode(Object name) { if (name == null) { throw new IllegalArgumentException("A scope can't have a null name"); } this.name = name; bindScopeAnnotationIfNameIsScopeAnnotation(); }
/** * Resets the state of the scope. * Useful for automation testing when we want to reset the scope used to install test modules. */ protected void reset() { scopeAnnotationClasses.clear(); isOpen = true; bindScopeAnnotationIfNameIsScopeAnnotation(); }