private Map<String, Object> _properties;
private Map<String, Object> _runtimes;
private Map<String, ProvidedInterfaceImplementation> _provided;
private Map<String, Object> _properties;
private Map<String, Object> _runtimes;
private Map<String, ProvidedInterfaceImplementation> _provided;
public DefaultScope(ProvidedInterface[] aExternallyProvided,
List<Scope> aParent) {
_parents = new ArrayList<Scope>(aParent);
public DefaultScope(ProvidedInterface[] aExternallyProvided,
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>();
}
@Override
synchronized public void publishInterface(ProvidedInterface aInterface,
Object aImplementation) {
}
@Override
synchronized public void publishInterface(ProvidedInterface aInterface,
Object aImplementation) {
_provided.put(id, new ProvidedInterfaceImplementation(aInterface,
aImplementation));
aInterface.setUniqueId(id);
}
@Override
_provided.put(id, new ProvidedInterfaceImplementation(aInterface,
aImplementation));
aInterface.setUniqueId(id);
}
@Override