public enum ConfigurationKey extends java.lang.Enum<ConfigurationKey>
WeldConfiguration,
SystemPropertiesConfiguration| Enum Constant and Description |
|---|
BEAN_IDENTIFIER_INDEX_OPTIMIZATION
This optimization is used to reduce the HTTP session replication overhead.
|
CONCURRENT_DEPLOYMENT
Indicates whether ConcurrentDeployer and ConcurrentValidator should be enabled.
|
DISABLE_XML_VALIDATION
XML descriptor validation is enabled by default.
|
EXECUTOR_THREAD_POOL_DEBUG
If set to true, debug timing information is printed to the standard output.
|
EXECUTOR_THREAD_POOL_KEEP_ALIVE_TIME
Keep-alive time in seconds.
|
EXECUTOR_THREAD_POOL_SIZE
The number of threads to be used for bean loading and deployment.
|
EXECUTOR_THREAD_POOL_TYPE
The type of the thread pool.
|
INJECTABLE_REFERENCE_OPTIMIZATION
For certain combinations of scopes, the container is permitted to optimize an injectable reference lookup.
|
NON_PORTABLE_MODE
Allows an integrator to enable the non-portable mode.
|
PRELOADER_THREAD_POOL_SIZE
The number of threads used by ContainerLifecycleEventPreloader.
|
PROXY_DUMP
For debug purposes, it's possible to dump the generated bytecode of proxies and subclasses.
|
PROXY_INSTANTIATOR
Allows
ProxyInstantiator to be selected explicitly. |
PROXY_UNSAFE
Deprecated.
this option is deprecated. RELAXED_CONSTRUCTION should be used instead
|
RELAXED_CONSTRUCTION
Weld supports a non-standard workaround to be able to create client proxies for Java types that cannot be proxied by the container, using non-portable
JVM APIs.
|
RESOLUTION_CACHE_SIZE
Weld caches already resolved injection points in order to resolve them faster in the future.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
convertValue(java.lang.String value) |
static ConfigurationKey |
fromString(java.lang.String from) |
java.lang.String |
get() |
java.lang.Object |
getDefaultValue() |
boolean |
isValidValue(java.lang.Object value) |
boolean |
isValidValueType(java.lang.Class<?> valueType) |
static boolean |
isValueTypeSupported(java.lang.Class<?> valueType) |
static ConfigurationKey |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConfigurationKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigurationKey CONCURRENT_DEPLOYMENT
ExecutorServices which can be configured separately.
Otherwise, single-threaded version of Deployer and Validator are used.
By default, concurrent deployment is enabled.public static final ConfigurationKey PRELOADER_THREAD_POOL_SIZE
public static final ConfigurationKey NON_PORTABLE_MODE
public static final ConfigurationKey EXECUTOR_THREAD_POOL_SIZE
public static final ConfigurationKey EXECUTOR_THREAD_POOL_DEBUG
public static final ConfigurationKey EXECUTOR_THREAD_POOL_TYPE
public static final ConfigurationKey EXECUTOR_THREAD_POOL_KEEP_ALIVE_TIME
public static final ConfigurationKey RESOLUTION_CACHE_SIZE
public static final ConfigurationKey PROXY_DUMP
public static final ConfigurationKey RELAXED_CONSTRUCTION
public static final ConfigurationKey PROXY_INSTANTIATOR
ProxyInstantiator to be selected explicitly. This is only intended for testing purposes and should never be set by an application.public static final ConfigurationKey PROXY_UNSAFE
public static final ConfigurationKey DISABLE_XML_VALIDATION
public static final ConfigurationKey INJECTABLE_REFERENCE_OPTIMIZATION
AlterableContext contract.public static final ConfigurationKey BEAN_IDENTIFIER_INDEX_OPTIMIZATION
public static ConfigurationKey[] values()
for (ConfigurationKey c : ConfigurationKey.values()) System.out.println(c);
public static ConfigurationKey valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String get()
public java.lang.Object getDefaultValue()
public boolean isValidValue(java.lang.Object value)
value - true if the given value corresponds to the type of the default value, false otherwisepublic boolean isValidValueType(java.lang.Class<?> valueType)
valueType - true if the given value type corresponds to the type of the default value, false otherwisepublic java.lang.Object convertValue(java.lang.String value)
value - public static boolean isValueTypeSupported(java.lang.Class<?> valueType)
valueType - true if the given value type is supported, false otherwisepublic static ConfigurationKey fromString(java.lang.String from)
from - null if no such existsCopyright © 2015. All Rights Reserved.