import java.util.ArrayList;
import java.util.Arrays;
+import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
List<Scope> aParent) {
_parents = new ArrayList<Scope>(aParent);
_count = 0;
- _properties = new TreeMap<String, Object>();
- _runtimes = new TreeMap<String, Object>();
- _provided = new TreeMap<String, ProvidedInterfaceImplementation>();
+ _properties = new HashMap<String, Object>();
+ _runtimes = new HashMap<String, Object>();
+ _provided = new HashMap<String, ProvidedInterfaceImplementation>();
_externallyProvided = aExternallyProvided;
}
* Publishes an implementation of a provided interface.
* @param aComponent Component that provides the interface.
* @param aInterface Interface that is provided.
- * @param aImplementation Implementation of the interface.
- * @return Returns a unique id of the published interface.
+ * @param aImplementation Implementation of the interface.
*/
void publishInterface(ProvidedInterface aInterface, Object aImplementation);
/**
* Retrieves an implementation of a provided interface.
- * @param aProvided Provided interface. If it is null then null is returned.
+ * @param aProvided P
+ * rovided interface. If it is null then null is returned.
* @param aType Type of implementation that is expected.
* @return Retrieved interface.
*/