public final class DefaultDependencyLoaderStrategy extends Object implements DependencyLoaderStrategy
Constructor and Description |
---|
DefaultDependencyLoaderStrategy() |
Modifier and Type | Method and Description |
---|---|
protected void |
internalDependencyLoad(ClassLoader loader,
ApplicationContext applicationContext,
Class<?> loadClass,
Deque<String> stack,
BeanLoadingStrategy beanloader) |
void |
load(ClassLoader loader,
ApplicationContext applicationContext,
Class<?> klass,
Deque<String> stack,
BeanLoadingStrategy beanloader)
Loads needed Objects if they are not already loaded.
|
public void load(ClassLoader loader, ApplicationContext applicationContext, Class<?> klass, Deque<String> stack, BeanLoadingStrategy beanloader)
load
in interface DependencyLoaderStrategy
loader
- the ClassLoader to useapplicationContext
- the applicationContext to useklass
- the Class to load the dependencies for.stack
- the stack to detect circular dependencies.protected void internalDependencyLoad(ClassLoader loader, ApplicationContext applicationContext, Class<?> loadClass, Deque<String> stack, BeanLoadingStrategy beanloader) throws CheckedLoadingException, ClassNotFoundException, UnsettableFieldException
Copyright © 2012 redlab.be. All Rights Reserved.