(no commit message)
[utils] / system / spring / src / main / java / org / wamblee / system / spring / SpringComponent.java
index 83a5133bd74122ef48213941ddffcd9ce6137f6b..88746a5ecc4a94f50a0af17653a49a05bce7f51d 100644 (file)
@@ -113,7 +113,7 @@ public class SpringComponent extends AbstractComponent<Scope> {
                SpringComponent old = THIS.get();
                Scope oldScope = SCOPE.get();
                THIS.set(this);
-               Scope scope = new DefaultScope(getProvidedInterfaces(), aExternalScope);
+               Scope scope = new DefaultScope(getProvidedInterfaces().toArray(new ProvidedInterface[0]), aExternalScope);
                SCOPE.set(scope);
                try {
                        GenericApplicationContext parentContext = new GenericApplicationContext();