public class FileBasedBootstrapConfiguration extends Object implements BootstrapConfiguration
Constructor and Description |
---|
FileBasedBootstrapConfiguration(ResourceLoader loader) |
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Called by Weld when it is shutting down, allowing the service to perform any cleanup needed.
|
int |
getPreloaderThreadPoolSize()
The number of threads used by ContainerLifecycleEventPreloader.
|
boolean |
isConcurrentDeploymentEnabled()
Indicates whether ConcurrentDeployer and ConcurrentValidator should be enabled.
|
boolean |
isNonPortableModeEnabled()
Allows an integrator to enable the non-portable mode.
|
public FileBasedBootstrapConfiguration(ResourceLoader loader)
public boolean isConcurrentDeploymentEnabled()
BootstrapConfiguration
ExecutorServices
which can be configured separately.
Otherwise, single-threaded version of Deployer and Validator are used.
By default, concurrent deployment is enabled.isConcurrentDeploymentEnabled
in interface BootstrapConfiguration
public int getPreloaderThreadPoolSize()
BootstrapConfiguration
getPreloaderThreadPoolSize
in interface BootstrapConfiguration
public void cleanup()
Service
public boolean isNonPortableModeEnabled()
BootstrapConfiguration
isNonPortableModeEnabled
in interface BootstrapConfiguration
Copyright © 2008-2015. All Rights Reserved.