((InstanceBundleContextAware) instance).setInstanceBundleContext(instanceDeclaration
.getBundle().getBundleContext());
}
// Notify the declaration that everything is fine
instanceDeclaration.bind();
return instance;
} catch (UnacceptableConfiguration c) {
instanceDeclaration.unbind(format("Instance configuration is invalid (component:%s/%s, bundle:%d)",
m_declaration.getComponentName(),