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.
|
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
Copyright © 2013 Seam Framework. All Rights Reserved.