public interface IFieldValueFactory
Modifier and Type | Method and Description |
---|---|
Object |
getFieldValue(Field field,
Object fieldOwner)
Returns the value the field will be set to
|
boolean |
supportsField(Field field)
Returns true if the factory can generate a value for the field, false otherwise.
|
Object getFieldValue(Field field, Object fieldOwner)
field
- field being injectedfieldOwner
- instance of object being injectedboolean supportsField(Field field)
field
- fieldCopyright © 2006–2022 Apache Software Foundation. All rights reserved.