public class DefaultRuntimeSpringConfiguration
A programmable runtime Spring configuration that allows a spring ApplicationContext to be constructed at runtime. Credit must go to Solomon Duskis and the article: http://jroller.com/page/Solomon?entry=programmatic_configuration_in_spring
Modifiers | Name | Description |
---|---|---|
protected java.util.Map<java.lang.String, java.util.List<java.lang.String>> |
aliases |
|
protected ListableBeanFactory |
beanFactory |
|
protected java.lang.ClassLoader |
classLoader |
|
protected GenericApplicationContext |
context |
|
protected ApplicationContext |
parent |
Constructor and description |
---|
DefaultRuntimeSpringConfiguration
() |
DefaultRuntimeSpringConfiguration
(ApplicationContext parent) |
DefaultRuntimeSpringConfiguration
(ApplicationContext parent, java.lang.ClassLoader cl) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Creates the ApplicationContext instance. Subclasses can override to customise the used ApplicationContext
parentCtx
- The parent ApplicationContext instance. Can be null.Initialises the ApplicationContext instance.