01: package org.osbl.spring;
02:
03: import org.springframework.context.support.ReloadableResourceBundleMessageSource;
04:
05: import java.util.*;
06:
07: public class SpringMessageSource extends
08: ReloadableResourceBundleMessageSource {
09: public void setBasenames(String string) {
10: StringTokenizer stringTokenizer = new StringTokenizer(string);
11: String[] basenames = new String[stringTokenizer.countTokens()];
12: int i = 0;
13:
14: while (stringTokenizer.hasMoreTokens())
15: basenames[i++] = stringTokenizer.nextToken();
16:
17: super.setBasenames(basenames);
18: }
19: }
|