Package org.jboss.weld.bootstrap.spi.helpers

Examples of org.jboss.weld.bootstrap.spi.helpers.FileBasedBootstrapConfiguration


    }

    private void installBootstrapConfigurationService(WeldDeployment deployment, DeploymentUnit parentDeploymentUnit) {
        final boolean nonPortableMode = parentDeploymentUnit.getAttachment(WeldConfiguration.ATTACHMENT_KEY).isNonPortableMode();
        final ResourceLoader resourceLoader = deployment.getServices().get(ResourceLoader.class);
        deployment.getServices().add(BootstrapConfiguration.class, new FileBasedBootstrapConfiguration(resourceLoader) {
            @Override
            public boolean isNonPortableModeEnabled() {
                return nonPortableMode;
            }
        });
View Full Code Here


        }
        if (!registry.contains(ProxyServices.class)) {
            registry.add(ProxyServices.class, new SimpleProxyServices());
        }
        if (!registry.contains(BootstrapConfiguration.class)) {
            registry.add(BootstrapConfiguration.class, new FileBasedBootstrapConfiguration(DefaultResourceLoader.INSTANCE));
        }
        addImplementationServices(registry);


        verifyServices(registry, environment.getRequiredDeploymentServices());
View Full Code Here

TOP

Related Classes of org.jboss.weld.bootstrap.spi.helpers.FileBasedBootstrapConfiguration

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.