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 closeQuietly(org.springframework.context.support.AbstractApplicationContext context)
          Null safe close for a context
protected  org.springframework.context.support.AbstractApplicationContext getApplicationContext(List<String> beanNames, List<Object> beans)
          Return an AbstractApplicationContext with beans registered in the context under beanNames
protected  List<String> getConvertedLocations(List<String> locations)
          Format file names into fully qualified file system URL's
 void load(List<String> locations)
           
 void load(List<String> locations, List<String> beanNames, List<Object> beans)
           
 void load(List<String> locations, String beanName, Object bean)
           
 void load(String location)
           
 void load(String location, List<String> beanNames, List<Object> beans)
           
 void load(String location, String beanName, Object bean)
           
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

DefaultSpringService

public DefaultSpringService()
Method Detail

load

public void load(String location)
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(String location,
                 List<String> beanNames,
                 List<Object> beans)
Specified by:
load in interface SpringService

load

public void load(List<String> locations)
Specified by:
load in interface SpringService

load

public void load(List<String> locations,
                 String beanName,
                 Object bean)
Specified by:
load in interface SpringService

load

public void load(List<String> locations,
                 List<String> beanNames,
                 List<Object> beans)
Specified by:
load in interface SpringService

closeQuietly

protected void closeQuietly(org.springframework.context.support.AbstractApplicationContext context)
Null safe close for a context


getApplicationContext

protected org.springframework.context.support.AbstractApplicationContext getApplicationContext(List<String> beanNames,
                                                                                               List<Object> beans)
Return an AbstractApplicationContext with beans registered in the context under beanNames


validate

protected void validate(List<String> locations)
Make sure all of the locations actually exist


getConvertedLocations

protected List<String> getConvertedLocations(List<String> locations)
Format file names into fully qualified file system URL's



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