defaultFactory.registerEntry(name, entry);
Object target = entry.getTarget();
if (target != null && target instanceof KernelRegistryPlugin)
{
KernelRegistryPlugin factory = (KernelRegistryPlugin) target;
addKernelRegistryFactory(factory);
}
// TODO optional interceptor
if (hasListeners())