Spring application context based on a Restlet context. Here is an example
illustrating the various ways to use this class:
SpringContext springContext = new SpringContext(getContext());
springContext.getPropertyConfigRefs().add("war://config/database.properties");
springContext.getXmlConfigRefs().add("war://config/applicationContext.xml");
springContext.getXmlConfigRefs().add(
"file:///C/myApp/config/applicationContext.xml");
springContext.getXmlConfigRefs().add(
"clap://thread/config/applicationContext.xml");
author: Jerome Louvel (contact@noelios.com) |