public class ConfiguredFieldImpl extends Object implements org.apache.tamaya.inject.spi.ConfiguredField
| Modifier and Type | Field and Description |
|---|---|
protected Field |
annotatedField
The configured field instance.
|
| Constructor and Description |
|---|
ConfiguredFieldImpl(Field field)
Models a configured field and provides mechanisms for injection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Object target,
org.apache.tamaya.Configuration config)
Evaluate the initial keys fromMap the configuration and applyChanges it to the field.
|
Field |
getAnnotatedField() |
Collection<String> |
getConfiguredKeys()
Access the applyable configuration keys for this field.
|
String |
getName() |
String |
getSignature() |
Class<?> |
getType()
Get the field's type.
|
String |
toString() |
protected final Field annotatedField
public ConfiguredFieldImpl(Field field)
field - the field instance.public void configure(Object target, org.apache.tamaya.Configuration config) throws org.apache.tamaya.ConfigException
configure in interface org.apache.tamaya.inject.spi.ConfiguredFieldtarget - the target instance.org.apache.tamaya.ConfigException - if evaluation or conversion failed.public Class<?> getType()
getType in interface org.apache.tamaya.inject.spi.ConfiguredFieldpublic Collection<String> getConfiguredKeys()
getConfiguredKeys in interface org.apache.tamaya.inject.spi.ConfiguredFieldpublic String getName()
getName in interface org.apache.tamaya.inject.spi.ConfiguredFieldpublic String getSignature()
getSignature in interface org.apache.tamaya.inject.spi.ConfiguredFieldpublic Field getAnnotatedField()
getAnnotatedField in interface org.apache.tamaya.inject.spi.ConfiguredFieldCopyright © 2014–2016 Apache Software Foundation. All rights reserved.