public class NamedInjectionStrategy extends Object implements InjectionStrategy
Constructor and Description |
---|
NamedInjectionStrategy() |
Modifier and Type | Method and Description |
---|---|
Object |
create(Class<?> t,
Annotation[] annotations,
ApplicationContext applicationContext)
Returns the found object from the given parameters.
|
public Object create(Class<?> t, Annotation[] annotations, ApplicationContext applicationContext)
InjectionStrategy
create
in interface InjectionStrategy
t
- the type of the object to search forannotations
- the annotations on this parametersapplicationContext
- the application context to take objects fromCopyright © 2012 redlab.be. All Rights Reserved.