diff --git a/pom.xml b/pom.xml
index 88fa5b8..1ad2ea4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -33,6 +33,7 @@
org.slf4j
slf4j-simple
1.7.21
+ provided
junit
@@ -46,11 +47,6 @@
1.3
test
-
- com.google.collections
- google-collections
- 1.0
-
diff --git a/src/main/java/de/joshavg/simpledic/Instantiator.java b/src/main/java/de/joshavg/simpledic/Instantiator.java
index 610d285..e17ccce 100644
--- a/src/main/java/de/joshavg/simpledic/Instantiator.java
+++ b/src/main/java/de/joshavg/simpledic/Instantiator.java
@@ -6,9 +6,11 @@ import java.lang.reflect.InvocationTargetException;
class Instantiator {
private final Class clz;
+ private final SdiContainerInterface container;
- Instantiator(Class clz) {
+ Instantiator(Class clz, SdiContainerInterface container) {
this.clz = clz;
+ this.container = container;
}
T createInstance()
@@ -22,10 +24,14 @@ class Instantiator {
for (int i = 0; i < parameterTypes.length; ++i) {
@SuppressWarnings("unchecked")
Class