Package aQute.bnd.annotation.metatype
Class Configurable.ConfigurableHandler
java.lang.Object
aQute.bnd.annotation.metatype.Configurable.ConfigurableHandler
- All Implemented Interfaces:
InvocationHandler
- Enclosing class:
- Configurable<T>
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final ClassLoader
(package private) final Map<?,
?> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Object
convert
(ParameterizedType pType, Object o) (package private) Object
convertArray
(Type componentType, Object o) private Class<?>
getRawClass
(Type type) private Collection<?>
private Map<?,
?>
-
Field Details
-
properties
-
loader
-
-
Constructor Details
-
ConfigurableHandler
ConfigurableHandler(Map<?, ?> properties, ClassLoader loader)
-
-
Method Details
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-
convert
- Throws:
Exception
-
convert
private Object convert(ParameterizedType pType, Object o) throws InstantiationException, IllegalAccessException, Exception -
convertArray
- Throws:
Exception
-
getRawClass
-
toCollection
-
toMap
-