public interface ValueProvider
| Modifier and Type | Method and Description |
|---|---|
boolean |
canProvide(Class<?> parameterClass)
Checks if this provider can supply values for the given class.
|
Object |
provide(Class<?> parameterClass,
Method setterMethod)
Provides a value for the given class.
|
boolean canProvide(Class<?> parameterClass)
parameterClass - The class to supply values for.Object provide(Class<?> parameterClass, Method setterMethod) throws InvocationTargetException, IllegalAccessException, InstantiationException
parameterClass - The class to provide a value for.setterMethod - The setter method of the property being set.InvocationTargetExceptionIllegalAccessExceptionInstantiationExceptionCopyright © 2018. All rights reserved.