Class FileBasedBootstrapConfiguration

  • java.lang.Object
    • org.jboss.weld.bootstrap.spi.helpers.FileBasedBootstrapConfiguration
    • Constructor Detail

      • FileBasedBootstrapConfiguration

        public FileBasedBootstrapConfiguration(ResourceLoader loader)
    • Method Detail

      • isConcurrentDeploymentEnabled

        public boolean isConcurrentDeploymentEnabled()
        Description copied from interface: BootstrapConfiguration
        Indicates whether ConcurrentDeployer and ConcurrentValidator should be enabled. If enabled, ConcurrentDeployer and ConcurrentValidator execute their subtasks using ExecutorServices which can be configured separately. Otherwise, single-threaded version of Deployer and Validator are used. By default, concurrent deployment is enabled.
        Specified by:
        isConcurrentDeploymentEnabled in interface BootstrapConfiguration
        whether ConcurrentDeployer and ConcurrentValidator should be enabled.
      • getPreloaderThreadPoolSize

        public int getPreloaderThreadPoolSize()
        Description copied from interface: BootstrapConfiguration
        The number of threads used by ContainerLifecycleEventPreloader. The ContainerLifecycleEventPreloader allows observer methods for container lifecycle events to be resolved upfront while the deployment is waiting for classloader or reflection API. ContainerLifecycleEventPreloader has its own thread pool whose size is configured by this property. If set to 0, ContainerLifecycleEventPreloader is not installed. If not specified, the value is set to Math.max(1, Runtime.getRuntime().availableProcessors() - 1)).
        Specified by:
        getPreloaderThreadPoolSize in interface BootstrapConfiguration
        the number of threads used by ContainerLifecycleEventPreloader.
      • cleanup

        public void cleanup()
        Description copied from interface: Service
        Called by Weld when it is shutting down, allowing the service to perform any cleanup needed.
        Specified by:
        cleanup in interface Service
      • isNonPortableModeEnabled

        public boolean isNonPortableModeEnabled()
        Description copied from interface: BootstrapConfiguration
        Allows an integrator to enable the non-portable mode. Non-portable mode is suggested by the specification to overcome problems with legacy applications not using CDI SPI properly. The non-portable mode is disabled by default.
        Specified by:
        isNonPortableModeEnabled in interface BootstrapConfiguration
        true if non-portable mode should be enabled.
        See Also:

Copyright © 2015. All Rights Reserved.

Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14