Revision 4442
Added by daigle over 15 years ago
PropertyService.java | ||
---|---|---|
29 | 29 |
import java.io.IOException; |
30 | 30 |
import java.util.Map; |
31 | 31 |
import java.util.Set; |
32 |
import java.util.SortedMap; |
|
33 | 32 |
import java.util.Vector; |
34 | 33 |
|
35 | 34 |
import javax.servlet.ServletContext; |
... | ... | |
42 | 41 |
import edu.ucsb.nceas.metacat.util.UtilException; |
43 | 42 |
import edu.ucsb.nceas.utilities.FileUtil; |
44 | 43 |
import edu.ucsb.nceas.utilities.GeneralPropertyException; |
45 |
import edu.ucsb.nceas.utilities.MetaDataGroup; |
|
46 |
import edu.ucsb.nceas.utilities.MetaDataProperty; |
|
47 | 44 |
import edu.ucsb.nceas.utilities.PropertiesMetaData; |
48 | 45 |
import edu.ucsb.nceas.utilities.PropertyNotFoundException; |
49 | 46 |
import edu.ucsb.nceas.utilities.SortedProperties; |
... | ... | |
51 | 48 |
/** |
52 | 49 |
* A suite of utility classes for the metadata configuration utility |
53 | 50 |
*/ |
54 |
public class PropertyService implements ServiceInterface {
|
|
51 |
public class PropertyService extends BaseService {
|
|
55 | 52 |
|
56 | 53 |
private static PropertyService propertyService = null; |
57 | 54 |
|
... | ... | |
121 | 118 |
return propertyService; |
122 | 119 |
} |
123 | 120 |
|
121 |
public boolean refreshable() { |
|
122 |
return false; |
|
123 |
} |
|
124 |
|
|
125 |
protected void doRefresh() { |
|
126 |
return; |
|
127 |
} |
|
128 |
|
|
124 | 129 |
/** |
125 | 130 |
* Initialize the singleton. |
126 | 131 |
* |
Also available in: Unified diff
Change the ServiceInterface into a base class called BaseService. All services extend BaseService.