01: package org.gridsphere.services.core.customization;
02:
03: /**
04: * This service is used to determine where GridSphere should store it's variable settings. The path will default
05: * to $home/.gridsphere of the user who started the container or it can be set via JNDI.
06: */
07: public interface SettingsService {
08:
09: /**
10: * Returns the path where gridsphere stores it's settings
11: *
12: * @return path
13: */
14: String getSettingsPath();
15:
16: /**
17: * Returns the path for a specific file in the settings directory
18: *
19: * @param path relative path of the file
20: * @return absolute path of the file
21: */
22: public String getRealSettingsPath(String path);
23:
24: }
|