public interface ParameterFinder
This interface defines a single method for finding parameters given a class. The implementing classes may use annotations or conventions to search the class for parameters.
| Modifier and Type | Method and Description |
|---|---|
Map<String,Class<?>> |
findParameters(Class<?> clazz)
Returns a map of parameters (name,type) for the specified class.
|
Set<String> |
inject(Map<String,?> params,
Object o)
This method injects the given parameters into the specified object, based
on the map returned by the {
findParameters(Class) method. |
Map<String,Class<?>> findParameters(Class<?> clazz)
clazz - Set<String> inject(Map<String,?> params, Object o) throws Exception
findParameters(Class) method.params - o - ExceptionCopyright © 2018. All rights reserved.