01: /**
02: * Miroslav Popov, Dec 8, 2005
03: * miroslav.popov@gmail.com
04: */package org.enhydra.jawe.base.idfactory;
05:
06: import java.util.Properties;
07:
08: import org.enhydra.jawe.AdditionalResourceManager;
09: import org.enhydra.jawe.JaWEComponent;
10: import org.enhydra.jawe.JaWEComponentSettings;
11:
12: /**
13: * @author Miroslav Popov
14: *
15: */
16: public class IdFactorySettings extends JaWEComponentSettings {
17:
18: public void init(JaWEComponent comp) {
19: PROPERTYFILE_PATH = "org/enhydra/jawe/base/idfactory/properties/";
20: PROPERTYFILE_NAME = "idfactory.properties";
21: loadDefault(comp, new Properties());
22: // super.init(comp);
23: }
24:
25: public void loadDefault(JaWEComponent comp, Properties properties) {
26: // defaults
27: arm = new AdditionalResourceManager(properties);
28: }
29:
30: }
|