Examples of createInject()


Examples of org.jboss.beans.metadata.spi.builder.BeanMetaDataBuilder.createInject()

      // Create the classloader
      builder = BeanMetaDataBuilder.createBuilder(contextName, ClassLoader.class.getName());
      builder.setNoClassLoader();
      builder.setFactory(moduleName);
      builder.setFactoryMethod("registerClassLoaderPolicy");
      builder.addConstructorParameter(ClassLoaderSystem.class.getName(), builder.createInject(classLoaderSystemName));
      BeanMetaData classLoader = builder.getBeanMetaData();
     
      return Arrays.asList(classLoader, module);
   }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.