public class ConfiguredTypeImpl extends Object implements org.apache.tamaya.inject.spi.ConfiguredType
Constructor and Description |
---|
ConfiguredTypeImpl(Class type)
Creates an instance of this class hereby evaluating the config annotations given for later effective
injection (configuration) of instances.
|
Modifier and Type | Method and Description |
---|---|
void |
configure(Object instance)
Method called to configure an instance.
|
void |
configure(Object instance,
org.apache.tamaya.Configuration config) |
Collection<org.apache.tamaya.inject.spi.ConfiguredField> |
getConfiguredFields()
Get the registered configured fields.
|
Collection<org.apache.tamaya.inject.spi.ConfiguredMethod> |
getConfiguredMethods()
Get the registered annotated setter methods.
|
String |
getName() |
Class |
getType() |
static boolean |
isConfigured(Class type) |
static boolean |
isConfiguredField(Field field) |
static boolean |
isConfiguredMethod(Method method) |
String |
toString() |
public ConfiguredTypeImpl(Class type)
type
- the instance type.public void configure(Object instance)
instance
- The instance to be configured.public void configure(Object instance, org.apache.tamaya.Configuration config)
configure
in interface org.apache.tamaya.inject.spi.ConfiguredType
public static boolean isConfigured(Class type)
public static boolean isConfiguredField(Field field)
public static boolean isConfiguredMethod(Method method)
public Class getType()
getType
in interface org.apache.tamaya.inject.spi.ConfiguredType
public String getName()
getName
in interface org.apache.tamaya.inject.spi.ConfiguredType
public Collection<org.apache.tamaya.inject.spi.ConfiguredField> getConfiguredFields()
getConfiguredFields
in interface org.apache.tamaya.inject.spi.ConfiguredType
public Collection<org.apache.tamaya.inject.spi.ConfiguredMethod> getConfiguredMethods()
getConfiguredMethods
in interface org.apache.tamaya.inject.spi.ConfiguredType
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.