public class MethodInjectorFactory extends Object implements InjectorFactory
Constructor and Description |
---|
MethodInjectorFactory() |
Modifier and Type | Method and Description |
---|---|
Injector |
createInjector(Field field,
Map<Class<?>,Map<String,String>> nonStandardNames,
String uniqueName)
Creates accessors for accessing data from an object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMapping
public Injector createInjector(Field field, Map<Class<?>,Map<String,String>> nonStandardNames, String uniqueName)
InjectorFactory
createInjector
in interface InjectorFactory
field
- The field we're trying to accessnonStandardNames
- a map of possible methods from the class itselfuniqueName
- a uniqueName to use as a key in map if the class has two methods with same name.Copyright © 2024. All rights reserved.