public class SpringApplicationContextFactory
extends java.lang.Object
ApplicationContext using the specified resources.
The resources can be expressed as:
AnnotationConfigApplicationContext,
if the resources are annotated class names, or
GenericApplicationContext otherwise.| Constructor and Description |
|---|
SpringApplicationContextFactory(org.springframework.context.ApplicationContext parent,
java.lang.ClassLoader classLoader,
java.lang.String... resources) |
SpringApplicationContextFactory(java.lang.ClassLoader classLoader,
java.lang.String... resources) |
SpringApplicationContextFactory(java.lang.String... resources) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.context.ConfigurableApplicationContext |
createApplicationContext()
Creates a configurable application context from the resources provided.
|
public SpringApplicationContextFactory(java.lang.String... resources)
public SpringApplicationContextFactory(java.lang.ClassLoader classLoader,
java.lang.String... resources)
public SpringApplicationContextFactory(org.springframework.context.ApplicationContext parent,
java.lang.ClassLoader classLoader,
java.lang.String... resources)
public org.springframework.context.ConfigurableApplicationContext createApplicationContext()
AnnotationConfigApplicationContext, if the resources are
annotated class names, or GenericApplicationContext otherwise.Copyright © 2003-2013. All Rights Reserved.