public class ProviderAwareObjectFactoryAggregate extends Object implements ObjectFactory
| Constructor and Description |
|---|
ProviderAwareObjectFactoryAggregate() |
| Modifier and Type | Method and Description |
|---|---|
<T> Map<String,T> |
getAllObjects(Annotation annotation,
Class<T> type) |
<T> Map<String,T> |
getAllObjects(Class<T> type) |
Object[] |
getArgumentsFor(Method method) |
<T> T |
getObject(Annotation annotation,
Class<T> type) |
<T> T |
getObject(Annotation annotation,
String name,
Class<T> type) |
<T> T |
getObject(Class<T> type) |
<T> T |
getObject(String name,
Class<T> type) |
void |
register(Annotation annotation,
ObjectFactory objectFactory) |
public void register(Annotation annotation, ObjectFactory objectFactory)
public <T> T getObject(Class<T> type)
getObject in interface ObjectFactorypublic <T> T getObject(String name, Class<T> type)
getObject in interface ObjectFactorypublic <T> T getObject(Annotation annotation, Class<T> type)
public <T> T getObject(Annotation annotation, String name, Class<T> type)
public <T> Map<String,T> getAllObjects(Annotation annotation, Class<T> type)
public <T> Map<String,T> getAllObjects(Class<T> type)
getAllObjects in interface ObjectFactoryCopyright © 2016–2019 AdvisedTesting. All rights reserved.