public class DependencySupplierImpl extends BaseDependencySupplier
injectAnnotationClass, nameDetector| Constructor and Description |
|---|
DependencySupplierImpl() |
DependencySupplierImpl(Class<? extends Annotation> injectAnnotation) |
| Modifier and Type | Method and Description |
|---|---|
void |
addComponent(Class<?> key,
Object instance) |
Object |
getComponent(Class<?> type)
Get instance of
type. |
getComponent, getComponentByName, getProvider, isProviderpublic DependencySupplierImpl()
public DependencySupplierImpl(Class<? extends Annotation> injectAnnotation)
public Object getComponent(Class<?> type)
DependencySuppliertype.type - required parameter classtype may not be producedDependencySupplier.getComponent(java.lang.Class)Copyright © 2015. All rights reserved.