public class WeldConfiguration extends java.lang.Object implements Service
Each property may be set in three different sources:
weld.propertiesFor backwards compatibility:
org.jboss.weld.executor.properties and org.jboss.weld.bootstrap.properties are also loaded for some
configuration keys,BootstrapConfiguration,
ConfigurationKey| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONFIGURATION_FILE |
| Constructor and Description |
|---|
WeldConfiguration(BootstrapConfiguration bootstrapConfiguration,
ExternalConfiguration externalConfiguration,
Deployment deployment) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
Called by Weld when it is shutting down, allowing the service to perform any cleanup needed.
|
java.lang.Boolean |
getBooleanProperty(ConfigurationKey key) |
java.lang.Integer |
getIntegerProperty(ConfigurationKey key) |
java.lang.Long |
getLongProperty(ConfigurationKey key) |
java.io.File |
getProxyDumpFilePath() |
java.lang.String |
getStringProperty(ConfigurationKey key) |
public static final java.lang.String CONFIGURATION_FILE
public WeldConfiguration(BootstrapConfiguration bootstrapConfiguration, ExternalConfiguration externalConfiguration, Deployment deployment)
bootstrapConfiguration - deployment - public java.lang.String getStringProperty(ConfigurationKey key)
key - IllegalStateException - If the property type does not match the required typepublic java.lang.Boolean getBooleanProperty(ConfigurationKey key)
key - IllegalStateException - If the property type does not match the required typepublic java.lang.Long getLongProperty(ConfigurationKey key)
key - IllegalStateException - If the property type does not match the required typepublic java.lang.Integer getIntegerProperty(ConfigurationKey key)
key - IllegalStateException - If the property type does not match the required typepublic java.io.File getProxyDumpFilePath()
null if the generated bytecode should not be dumpedConfigurationKey.PROXY_DUMPCopyright © 2015. All Rights Reserved.