providerInstances.put(id, newInstance);
return newInstance;
}
public IArtefactProvider instantiateProvider(String providerID) {
IArtefactProvider runningInstance = providerInstances.get(providerID);
if (runningInstance != null)
return runningInstance;
Object providerObj = instantiate(providerID, IArtefactProvider.POINT_ID);
return registerProvider(providerID, providerObj);