untrackServiceReferences();
}
public void injectBeanInstance(BeanMetadata bmd, Object o)
throws IllegalArgumentException, ComponentDefinitionException {
ExecutionContext origContext
= ExecutionContext.Holder.setContext((ExecutionContext)getRepository());
try {
ComponentMetadata cmd = componentDefinitionRegistry.getComponentDefinition(bmd.getId());
if (cmd == null || cmd != bmd) {
throw new IllegalArgumentException(bmd.getId() + " not found in blueprint container");