public class ConfiguredSetterMethod extends Object implements org.apache.tamaya.inject.spi.ConfiguredMethod
Constructor and Description |
---|
ConfiguredSetterMethod(Method method)
Models a configured field and provides mechanisms for injection.
|
Modifier and Type | Method and Description |
---|---|
void |
configure(Object target,
org.apache.tamaya.Configuration config) |
Method |
getAnnotatedMethod()
Access the annotated method.
|
Collection<String> |
getConfiguredKeys()
Access the applyable configuration keys for this field.
|
String |
getName() |
Class<?>[] |
getParameterTypes()
Get the type to be set on the setter method.
|
String |
getSignature() |
public ConfiguredSetterMethod(Method method)
method
- the method instance.public void configure(Object target, org.apache.tamaya.Configuration config) throws org.apache.tamaya.ConfigException
configure
in interface org.apache.tamaya.inject.spi.ConfiguredMethod
org.apache.tamaya.ConfigException
public Collection<String> getConfiguredKeys()
getConfiguredKeys
in interface org.apache.tamaya.inject.spi.ConfiguredMethod
public Class<?>[] getParameterTypes()
getParameterTypes
in interface org.apache.tamaya.inject.spi.ConfiguredMethod
public Method getAnnotatedMethod()
getAnnotatedMethod
in interface org.apache.tamaya.inject.spi.ConfiguredMethod
public String getName()
getName
in interface org.apache.tamaya.inject.spi.ConfiguredMethod
public String getSignature()
getSignature
in interface org.apache.tamaya.inject.spi.ConfiguredMethod
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.