Package org.jboss.repository.spi

Examples of org.jboss.repository.spi.MetaDataContextFactory


         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)
      {
         throw new RuntimeException("MetaDataContext must be mutable");
      }
View Full Code Here

TOP

Related Classes of org.jboss.repository.spi.MetaDataContextFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.