{
log.warn("You have defined annotations for bean '" + context.getName() + "', but no MetaDataRepository has been installed under the name 'Repository'");
return null;
}
MetaDataRepository repository = (MetaDataRepository)repCtx.getTarget();
MetaDataContextFactory metaFactory = context.getBeanInfo().getMetaDataContextFactory();
ClassLoader beanLoader = context.getBeanInfo().getClassInfo().getType().getClassLoader();
MetaDataContext metaCtx = metaFactory.getMetaDataContext(beanLoader, repository, (String)context.getName());
if (metaCtx instanceof MutableMetaDataContext == false)