public enum ConfigurationKey extends 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.
|
CONTEXT_ATTRIBUTES_LAZY_FETCH
If set to
true , the attributes should be fetched lazily from the backing store for some contexts (e.g. |
CONVERSATION_CONCURRENT_ACCESS_TIMEOUT
Conversation concurrent access timeout in milliseconds represents maximum time to wait on the conversation concurrent lock.
|
CONVERSATION_TIMEOUT
Conversation timeout in milliseconds.
|
DEFAULT_BEAN_NAMES_FOLLOW_JAVABEAN_RULES
If set to
true the default name follows the rules from the original JavaBean specification. |
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.
|
PROBE_ALLOW_REMOTE_ADDRESS
A regular expression used to limit access to the Probe REST API.
|
PROBE_EMBED_INFO_SNIPPET
If set to
true an informative HTML snippet will be added to every response with Content-Type of value text/html . |
PROBE_EVENT_MONITOR_CONTAINER_LIFECYCLE_EVENTS
If set to
true all the container lifecycle events are monitored during bootstrap. |
PROBE_EVENT_MONITOR_EXCLUDE_TYPE
A regular expression.
|
PROBE_INVOCATION_MONITOR_EXCLUDE_TYPE
A regular expression.
|
PROBE_INVOCATION_MONITOR_SKIP_JAVABEAN_PROPERTIES
If set to
true the JavaBean accessor methods are not monitored. |
PROBE_JMX_SUPPORT
If set to
true one or more MBean components may be registered so that it is possible to use JMX to access the Probe development tool data. |
PROXY_DUMP
For debug purposes, it's possible to dump the generated bytecode of proxies and subclasses.
|
PROXY_IGNORE_FINAL_METHODS
Weld supports a non-standard workaround to be able to create proxies for Java types which declare non-private non-static final methods.
|
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 resolved injection points in order to resolve them faster in the future.
|
Modifier and Type | Method and Description |
---|---|
Object |
convertValue(String value) |
static ConfigurationKey |
fromString(String from) |
String |
get() |
Object |
getDefaultValue() |
boolean |
isValidValue(Object value) |
boolean |
isValidValueType(Class<?> valueType) |
static boolean |
isValueTypeSupported(Class<?> valueType) |
static ConfigurationKey |
valueOf(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 PROBE_INVOCATION_MONITOR_EXCLUDE_TYPE
public static final ConfigurationKey PROBE_INVOCATION_MONITOR_SKIP_JAVABEAN_PROPERTIES
true
the JavaBean accessor methods are not monitored.public static final ConfigurationKey PROBE_EVENT_MONITOR_EXCLUDE_TYPE
public static final ConfigurationKey BEAN_IDENTIFIER_INDEX_OPTIMIZATION
public static final ConfigurationKey PROBE_EMBED_INFO_SNIPPET
true
an informative HTML snippet will be added to every response with Content-Type of value text/html
.public static final ConfigurationKey DEFAULT_BEAN_NAMES_FOLLOW_JAVABEAN_RULES
true
the default name follows the rules from the original JavaBean specification. Otherwise (default, portable solution), the CDI specification requirements are met.https://issues.jboss.org/browse/WELD-1941
public static final ConfigurationKey CONTEXT_ATTRIBUTES_LAZY_FETCH
true
, the attributes should be fetched lazily from the backing store for some contexts (e.g. attributes of an HTTP session for a
session context).public static final ConfigurationKey PROBE_JMX_SUPPORT
true
one or more MBean components may be registered so that it is possible to use JMX to access the Probe development tool data.public static final ConfigurationKey PROBE_EVENT_MONITOR_CONTAINER_LIFECYCLE_EVENTS
true
all the container lifecycle events are monitored during bootstrap. Note that this feature has negative impact on the bootstrap performance.public static final ConfigurationKey PROBE_ALLOW_REMOTE_ADDRESS
127.0.0.1
::1
, incl. zone indices (e.g. ::1%0
)0:0:0:0:0:0:0:1
, incl. zone indices (e.g. 0:0:0:0:0:0:0:1%eth0
)io.undertow.server.handlers.ProxyPeerAddressHandler
, org.apache.catalina.valves.RemoteIpValve
, etc.).public static final ConfigurationKey PROXY_IGNORE_FINAL_METHODS
A regular expression. If an unproxyable type matches this pattern, the type is considered proxyable and final methods are ignored.
public static final ConfigurationKey CONVERSATION_TIMEOUT
public static final ConfigurationKey CONVERSATION_CONCURRENT_ACCESS_TIMEOUT
public static ConfigurationKey[] values()
for (ConfigurationKey c : ConfigurationKey.values()) System.out.println(c);
public static ConfigurationKey valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String get()
public Object getDefaultValue()
public boolean isValidValue(Object value)
value
- true
if the given value corresponds to the type of the default value, false
otherwisepublic boolean isValidValueType(Class<?> valueType)
valueType
- true
if the given value type corresponds to the type of the default value, false
otherwisepublic Object convertValue(String value)
value
- public static boolean isValueTypeSupported(Class<?> valueType)
valueType
- true
if the given value type is supported, false
otherwisepublic static ConfigurationKey fromString(String from)
from
- null
if no such existsCopyright © 2016. All rights reserved.