[dependency-shot] r404 committed - Refactor simple scope name

0 views
Skip to first unread message

depende...@googlecode.com

unread,
Apr 7, 2011, 12:21:43 PM4/7/11
to depende...@googlegroups.com
Revision: 404
Author: mathieuancelin
Date: Thu Apr 7 09:11:18 2011
Log: Refactor simple scope name
http://code.google.com/p/dependency-shot/source/detail?r=404

Modified:

/trunk/dependency-shot-core/src/main/java/cx/ath/mancel01/dependencyshot/spi/PluginsLoader.java

=======================================
---
/trunk/dependency-shot-core/src/main/java/cx/ath/mancel01/dependencyshot/spi/PluginsLoader.java
Tue Feb 22 13:21:54 2011
+++
/trunk/dependency-shot-core/src/main/java/cx/ath/mancel01/dependencyshot/spi/PluginsLoader.java
Thu Apr 7 09:11:18 2011
@@ -21,7 +21,7 @@
import cx.ath.mancel01.dependencyshot.graph.Binding;
import cx.ath.mancel01.dependencyshot.injection.InjectorImpl;
import cx.ath.mancel01.dependencyshot.scope.Dependent;
-import cx.ath.mancel01.dependencyshot.scope.SimpleScope;
+import cx.ath.mancel01.dependencyshot.scope.DependentScope;
import cx.ath.mancel01.dependencyshot.scope.SingletonScope;
import cx.ath.mancel01.dependencyshot.scope.ThreadScope;
import cx.ath.mancel01.dependencyshot.scope.ThreadScoped;
@@ -238,7 +238,7 @@
CustomScopeHandler handler = handlersIterator.next();
handlers.put(handler.getScope(), handler);
}
- handlers.put(Dependent.class, new SimpleScope());
+ handlers.put(Dependent.class, new DependentScope());
handlers.put(Singleton.class, new SingletonScope());
handlers.put(ThreadScoped.class, new ThreadScope());
return handlers;

Reply all
Reply to author
Forward
0 new messages