1 |
//---PACKAGE DECLARATION--- |
2 |
package uk.ac.ukc.iscream.componentmanager; |
3 |
|
4 |
//---IMPORTS--- |
5 |
import uk.ac.ukc.iscream.core.*; |
6 |
import java.util.*; |
7 |
|
8 |
/** |
9 |
* ConfigurationCache class |
10 |
* |
11 |
* @author $Author: ajm4 $ |
12 |
* @version $Id: ConfigurationCache.java,v 1.1 2001/03/02 05:37:31 ajm4 Exp $ |
13 |
*/ |
14 |
public class ConfigurationCache { |
15 |
|
16 |
//---FINAL ATTRIBUTES--- |
17 |
|
18 |
/** |
19 |
* The current CVS revision of this class |
20 |
*/ |
21 |
public static final String REVISION = "$Revision: 1.1 $"; |
22 |
|
23 |
//---STATIC METHODS--- |
24 |
|
25 |
//---CONSTRUCTORS--- |
26 |
|
27 |
/** |
28 |
* Construct a ConfigurationCache |
29 |
* |
30 |
*/ |
31 |
public ConfigurationCache(Configuration config, HashMap propertyCache) { |
32 |
_propertyCache = propertyCache; |
33 |
_config = config; |
34 |
} |
35 |
|
36 |
//---PUBLIC METHODS--- |
37 |
|
38 |
//---PRIVATE METHODS--- |
39 |
|
40 |
//---ACCESSOR/MUTATOR METHODS--- |
41 |
|
42 |
public HashMap getPropertyCache() { |
43 |
return _propertyCache; |
44 |
} |
45 |
|
46 |
public Configuration getConfig() { |
47 |
return _config; |
48 |
} |
49 |
|
50 |
public void setConfig(Configuration config) { |
51 |
_config = config; |
52 |
} |
53 |
|
54 |
public void setPropertyCache(HashMap propertyCache) { |
55 |
_propertyCache = propertyCache; |
56 |
} |
57 |
|
58 |
//---ATTRIBUTES--- |
59 |
|
60 |
private HashMap _propertyCache; |
61 |
private Configuration _config; |
62 |
|
63 |
//---STATIC ATTRIBUTES--- |
64 |
|
65 |
} |