public class DefaultSpringService extends Object implements SpringService
Constructor and Description |
---|
DefaultSpringService() |
Modifier and Type | Method and Description |
---|---|
protected void |
addMetaInfo(org.springframework.context.annotation.AnnotationConfigApplicationContext ctx,
SpringContext sc)
Add id and display name to the ApplicationContext if they are not blank
|
protected void |
addMetaInfo(org.springframework.context.support.ClassPathXmlApplicationContext ctx,
SpringContext sc)
Add id and display name to the ApplicationContext if they are not blank
|
protected void |
addPropertySources(SpringContext context,
org.springframework.context.ConfigurableApplicationContext applicationContext) |
protected org.springframework.context.support.AbstractApplicationContext |
getAnnotationContext(SpringContext context,
org.springframework.context.ConfigurableApplicationContext parent) |
org.springframework.context.ConfigurableApplicationContext |
getApplicationContext(SpringContext context) |
protected Map<String,Object> |
getContextBeans(SpringContext context) |
protected List<String> |
getConvertedLocations(List<String> locations)
Convert any locations representing an existing file into a fully qualified file system url.
|
protected org.springframework.context.support.AbstractApplicationContext |
getXmlChild(String[] locationsArray,
org.springframework.context.support.AbstractApplicationContext parent,
SpringContext context) |
void |
load(Class<?> annotatedClass) |
void |
load(Class<?> annotatedClass,
Map<String,Object> contextBeans) |
void |
load(Class<?> annotatedClass,
Map<String,Object> contextBeans,
org.springframework.core.env.PropertySource<?> propertySource) |
void |
load(Class<?> annotatedClass,
String beanName,
Object bean)
Deprecated.
|
void |
load(Class<?> annotatedClass,
String beanName,
Object bean,
org.springframework.core.env.PropertySource<?> propertySource)
Deprecated.
|
void |
load(SpringContext context) |
void |
load(String location) |
void |
load(String location,
Map<String,Object> contextBeans) |
void |
load(String location,
Map<String,Object> contextBeans,
org.springframework.core.env.PropertySource<?> propertySource) |
void |
load(String location,
String beanName,
Object bean)
Deprecated.
|
void |
load(String location,
String beanName,
Object bean,
org.springframework.core.env.PropertySource<?> propertySource)
Deprecated.
|
protected void |
setActiveProfiles(org.springframework.context.ConfigurableApplicationContext applicationContext,
List<String> activeProfiles) |
protected void |
setDefaultProfiles(org.springframework.context.ConfigurableApplicationContext applicationContext,
List<String> defaultProfiles) |
public DefaultSpringService()
public void load(Class<?> annotatedClass, Map<String,Object> contextBeans)
load
in interface SpringService
public void load(Class<?> annotatedClass, Map<String,Object> contextBeans, org.springframework.core.env.PropertySource<?> propertySource)
load
in interface SpringService
public void load(String location, Map<String,Object> contextBeans)
load
in interface SpringService
protected Map<String,Object> getContextBeans(SpringContext context)
protected org.springframework.context.support.AbstractApplicationContext getXmlChild(String[] locationsArray, org.springframework.context.support.AbstractApplicationContext parent, SpringContext context)
public org.springframework.context.ConfigurableApplicationContext getApplicationContext(SpringContext context)
getApplicationContext
in interface SpringService
public void load(SpringContext context)
load
in interface SpringService
public void load(String location, Map<String,Object> contextBeans, org.springframework.core.env.PropertySource<?> propertySource)
load
in interface SpringService
public void load(Class<?> annotatedClass)
load
in interface SpringService
public void load(String location)
load
in interface SpringService
protected void addMetaInfo(org.springframework.context.annotation.AnnotationConfigApplicationContext ctx, SpringContext sc)
protected void addMetaInfo(org.springframework.context.support.ClassPathXmlApplicationContext ctx, SpringContext sc)
protected org.springframework.context.support.AbstractApplicationContext getAnnotationContext(SpringContext context, org.springframework.context.ConfigurableApplicationContext parent)
protected void setActiveProfiles(org.springframework.context.ConfigurableApplicationContext applicationContext, List<String> activeProfiles)
protected void setDefaultProfiles(org.springframework.context.ConfigurableApplicationContext applicationContext, List<String> defaultProfiles)
protected void addPropertySources(SpringContext context, org.springframework.context.ConfigurableApplicationContext applicationContext)
protected List<String> getConvertedLocations(List<String> locations)
@Deprecated public void load(Class<?> annotatedClass, String beanName, Object bean, org.springframework.core.env.PropertySource<?> propertySource)
load
in interface SpringService
@Deprecated public void load(Class<?> annotatedClass, String beanName, Object bean)
load
in interface SpringService
@Deprecated public void load(String location, String beanName, Object bean, org.springframework.core.env.PropertySource<?> propertySource)
load
in interface SpringService
@Deprecated public void load(String location, String beanName, Object bean)
load
in interface SpringService
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.