Package org.jboss.shrinkwrap.classloader

Examples of org.jboss.shrinkwrap.classloader.ShrinkWrapClassLoader


   public ShrinkwrapBeanDeploymentArchiveImpl(Archive<?> archive)
   {
      Validate.notNull(archive, "Archive must be specified");
      this.archive = archive;
     
      this.classLoader = new ShrinkWrapClassLoader(archive.getClass().getClassLoader(), archive);
   }
View Full Code Here


   {
      boolean enableConversation = context.get(Configuration.class)
                                          .getContainerConfig(WeldEEMockConfiguration.class)
                                          .isEnableConversationScope();
     
      ShrinkWrapClassLoader classLoader = new ShrinkWrapClassLoader(archive.getClass().getClassLoader(), archive);
      ContextClassLoaderManager classLoaderManager = new ContextClassLoaderManager(classLoader);
      classLoaderManager.enable();
     
      TestContainer container = new TestContainer(findArchiveId(archive), findBeansXml(archive), findBeanClasses(archive, classLoader));
      Bootstrap bootstrap = container.getLifecycle().getBootstrap();
View Full Code Here

TOP

Related Classes of org.jboss.shrinkwrap.classloader.ShrinkWrapClassLoader

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.