01: /*
02: * Created on Dec 25, 2006
03: */
04: package uk.org.ponder.rsac.test;
05:
06: import org.springframework.context.ApplicationContext;
07: import org.springframework.context.ApplicationContextAware;
08:
09: import uk.org.ponder.rsac.RSACResourceLocator;
10:
11: public class LocalRSACResourceLocator implements
12: ApplicationContextAware, RSACResourceLocator {
13: private ApplicationContext applicationContext;
14: private String[] configLocations;
15:
16: public void setConfigLocations(String[] configLocations) {
17: this .configLocations = configLocations;
18: }
19:
20: public ApplicationContext getApplicationContext() {
21: return applicationContext;
22: }
23:
24: public String[] getConfigLocations() {
25: return configLocations;
26: }
27:
28: public void setApplicationContext(
29: ApplicationContext applicationContext) {
30: this.applicationContext = applicationContext;
31: }
32:
33: }
|