public interface DependencyLoaderStrategy
Modifier and Type | Method and Description |
---|---|
void |
load(ClassLoader loader,
ApplicationContext applicationContext,
Class<?> klass,
Deque<String> stack,
BeanLoadingStrategy beanLoadingStrategy)
Loads needed dependencies of a Class if they are not already loaded.
|
void load(ClassLoader loader, ApplicationContext applicationContext, Class<?> klass, Deque<String> stack, BeanLoadingStrategy beanLoadingStrategy)
loader
- the ClassLoader to useapplicationContext
- the applicationContext to useklass
- the Class to load the dependencies for.stack
- the stack to detect circular dependencies.the
- current BeanLoadingStrategy to load the dependencies with.Copyright © 2012 redlab.be. All Rights Reserved.