|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.common.util.service.DefaultSpringService
public class DefaultSpringService
| Constructor Summary | |
|---|---|
DefaultSpringService()
|
|
| Method Summary | |
|---|---|
protected void |
addPropertySources(SpringContext context,
org.springframework.context.ConfigurableApplicationContext applicationContext)
|
protected void |
closeQuietly(org.springframework.context.ConfigurableApplicationContext context)
Null safe close for a context |
protected org.springframework.context.annotation.AnnotationConfigApplicationContext |
getAnnotationContext(SpringContext context,
org.springframework.context.ConfigurableApplicationContext parent)
|
org.springframework.context.ConfigurableApplicationContext |
getContextWithPreRegisteredBean(String beanName,
Object bean)
|
org.springframework.context.ConfigurableApplicationContext |
getContextWithPreRegisteredBeans(List<String> beanNames,
List<Object> beans)
Return an AbstractApplicationContext with beans and PropertySource's registered as dictated by the SpringContext |
protected List<String> |
getConvertedLocations(List<String> locations)
Format file names into fully qualified file system URL's |
List<org.springframework.core.env.PropertySource<?>> |
getPropertySources(org.springframework.context.ConfigurableApplicationContext context)
|
List<org.springframework.core.env.PropertySource<?>> |
getPropertySources(String location)
|
protected boolean |
isParentContextRequired(SpringContext context)
Return true if the context contains any beans or beanNames, false otherwise. |
void |
load(Class<?> annotatedClass)
|
void |
load(Class<?> annotatedClass,
String beanName,
Object bean)
|
void |
load(Class<?> annotatedClass,
String beanName,
Object bean,
org.springframework.core.env.PropertySource<?> propertySource)
|
void |
load(SpringContext context)
|
void |
load(String location)
|
void |
load(String location,
String beanName,
Object bean)
|
void |
load(String location,
String beanName,
Object bean,
org.springframework.core.env.PropertySource<?> propertySource)
|
protected void |
refreshQuietly(org.springframework.context.ConfigurableApplicationContext context)
|
protected void |
validate(List<String> locations)
Make sure all of the locations actually exist |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultSpringService()
| Method Detail |
|---|
public List<org.springframework.core.env.PropertySource<?>> getPropertySources(String location)
getPropertySources in interface SpringServicepublic List<org.springframework.core.env.PropertySource<?>> getPropertySources(org.springframework.context.ConfigurableApplicationContext context)
getPropertySources in interface SpringServicepublic void load(Class<?> annotatedClass)
load in interface SpringService
public void load(Class<?> annotatedClass,
String beanName,
Object bean,
org.springframework.core.env.PropertySource<?> propertySource)
load in interface SpringService
public void load(Class<?> annotatedClass,
String beanName,
Object bean)
load in interface SpringServicepublic void load(String location)
load in interface SpringService
public void load(String location,
String beanName,
Object bean,
org.springframework.core.env.PropertySource<?> propertySource)
load in interface SpringService
public void load(String location,
String beanName,
Object bean)
load in interface SpringServicepublic void load(SpringContext context)
load in interface SpringService
protected org.springframework.context.annotation.AnnotationConfigApplicationContext getAnnotationContext(SpringContext context,
org.springframework.context.ConfigurableApplicationContext parent)
protected void refreshQuietly(org.springframework.context.ConfigurableApplicationContext context)
protected void closeQuietly(org.springframework.context.ConfigurableApplicationContext context)
public org.springframework.context.ConfigurableApplicationContext getContextWithPreRegisteredBeans(List<String> beanNames,
List<Object> beans)
AbstractApplicationContext with beans and PropertySource's registered as dictated by the SpringContext
getContextWithPreRegisteredBeans in interface SpringService
public org.springframework.context.ConfigurableApplicationContext getContextWithPreRegisteredBean(String beanName,
Object bean)
getContextWithPreRegisteredBean in interface SpringService
protected void addPropertySources(SpringContext context,
org.springframework.context.ConfigurableApplicationContext applicationContext)
protected boolean isParentContextRequired(SpringContext context)
protected void validate(List<String> locations)
protected List<String> getConvertedLocations(List<String> locations)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||