org.kuali.common.util.service
Class DefaultSpringService

java.lang.Object
  extended by org.kuali.common.util.service.DefaultSpringService
All Implemented Interfaces:
SpringService

public class DefaultSpringService
extends Object
implements SpringService


Constructor Summary
DefaultSpringService()
           
 
Method Summary
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  void debugQuietly(org.springframework.context.ApplicationContext parent, org.springframework.context.ApplicationContext child1, org.springframework.context.ApplicationContext child2)
           
protected  org.springframework.context.annotation.AnnotationConfigApplicationContext getAnnotationContext(SpringContext context, org.springframework.context.ConfigurableApplicationContext parent)
           
protected  List<String> getConvertedLocations(List<String> locations)
          Convert any locations representing an existing file into a fully qualified file system url.
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSpringService

public DefaultSpringService()
Method Detail

load

public void load(Class<?> annotatedClass)
Specified by:
load in interface SpringService

load

public void load(Class<?> annotatedClass,
                 String beanName,
                 Object bean,
                 org.springframework.core.env.PropertySource<?> propertySource)
Specified by:
load in interface SpringService

load

public void load(Class<?> annotatedClass,
                 String beanName,
                 Object bean)
Specified by:
load in interface SpringService

load

public void load(String location)
Specified by:
load in interface SpringService

load

public void load(String location,
                 String beanName,
                 Object bean,
                 org.springframework.core.env.PropertySource<?> propertySource)
Specified by:
load in interface SpringService

load

public void load(String location,
                 String beanName,
                 Object bean)
Specified by:
load in interface SpringService

load

public void load(SpringContext context)
Specified by:
load in interface SpringService

debugQuietly

protected void debugQuietly(org.springframework.context.ApplicationContext parent,
                            org.springframework.context.ApplicationContext child1,
                            org.springframework.context.ApplicationContext child2)

addMetaInfo

protected void addMetaInfo(org.springframework.context.annotation.AnnotationConfigApplicationContext ctx,
                           SpringContext sc)
Add id and display name to the ApplicationContext if they are not blank


addMetaInfo

protected void addMetaInfo(org.springframework.context.support.ClassPathXmlApplicationContext ctx,
                           SpringContext sc)
Add id and display name to the ApplicationContext if they are not blank


getAnnotationContext

protected org.springframework.context.annotation.AnnotationConfigApplicationContext getAnnotationContext(SpringContext context,
                                                                                                         org.springframework.context.ConfigurableApplicationContext parent)

addPropertySources

protected void addPropertySources(SpringContext context,
                                  org.springframework.context.ConfigurableApplicationContext applicationContext)

isParentContextRequired

protected boolean isParentContextRequired(SpringContext context)
Return true if the context contains any beans or beanNames, false otherwise.


getConvertedLocations

protected List<String> getConvertedLocations(List<String> locations)
Convert any locations representing an existing file into a fully qualified file system url. Leave any locations that do not resolve to an existing file alone.



Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.