/trunk/src/main/java/org/mentacontainer/impl/MentaContainer.java |
---|
48,6 → 48,8 |
public <T> T clear(String key) { |
if (!beans.containsKey(key)) return null; |
Scope scope = scopes.get(key); |
if (scope == Scope.SINGLETON) { |
289,6 → 291,8 |
public boolean check(String key) { |
if (!beans.containsKey(key)) return false; |
Scope scope = scopes.get(key); |
if (scope == Scope.NONE) { |