Now the component provides read-only access to the interfaces.
[utils] / system / general / src / test / java / org / wamblee / system / core / StringComponent.java
index 990adaf07bbf40e1f716b7bb08441326d770ccce..c47112aa6c86ab8d50906157c836a196f4cc474e 100644 (file)
@@ -63,7 +63,7 @@ public class StringComponent extends AbstractComponent {
 
        @Override
        protected Object doStart(Scope aScope) {
-               addInterface(getProvidedInterfaces()[0], getString(), aScope);
+               addInterface(getProvidedInterfaces().get(0), getString(), aScope);
                track("start." + getName());
                return _random;
        }