|  1 |     | 
     | 
  |  2 |     | 
     | 
  |  3 |     | 
     | 
  |  4 |     | 
     | 
  |  5 |     | 
     | 
  |  6 |     | 
     | 
  |  7 |     | 
     | 
  |  8 |     | 
     | 
  |  9 |     | 
     | 
  |  10 |     | 
     | 
  |  11 |     | 
     | 
  |  12 |     | 
     | 
  |  13 |     | 
     | 
  |  14 |     | 
     | 
  |  15 |     | 
     | 
  |  16 |     | 
     | 
  |  17 |     | 
   package org.kuali.rice.core.api.config.property;  | 
  |  18 |     | 
     | 
  |  19 |     | 
   import java.io.IOException;  | 
  |  20 |     | 
   import java.util.Map;  | 
  |  21 |     | 
   import java.util.Properties;  | 
  |  22 |     | 
     | 
  |  23 |     | 
     | 
  |  24 |     | 
     | 
  |  25 |     | 
     | 
  |  26 |     | 
     | 
  |  27 |     | 
     | 
  |  28 |     | 
     | 
  |  29 |     | 
   public interface Config { | 
  |  30 |     | 
     | 
  |  31 |     | 
           public static final String KEYSTORE_ALIAS = "keystore.alias";  | 
  |  32 |     | 
           public static final String KEYSTORE_PASSWORD = "keystore.password";  | 
  |  33 |     | 
           public static final String KEYSTORE_FILE = "keystore.file";  | 
  |  34 |     | 
     | 
  |  35 |     | 
           public static final String BASE_WEB_SERVICE_URL_WORKFLOW_CLIENT_FILE = "webservices.settings.url";  | 
  |  36 |     | 
     | 
  |  37 |     | 
           public static final String BASE_WEB_SERVICE_WSDL_PATH = "webservices.settings.wsdl.path";  | 
  |  38 |     | 
     | 
  |  39 |     | 
           public static final String WSDL_LOCATION_WORKFLOW_CLIENT_FILE = "webservices.settings.wsdd.path";  | 
  |  40 |     | 
     | 
  |  41 |     | 
           public static final String WEB_SERVICE_CONNECT_RETRY = "webservices.settings.connect.retry";  | 
  |  42 |     | 
     | 
  |  43 |     | 
             | 
  |  44 |     | 
     | 
  |  45 |     | 
     | 
  |  46 |     | 
           public static final String LOG4J_SETTINGS_XML = "log4j.settings.xml";  | 
  |  47 |     | 
     | 
  |  48 |     | 
             | 
  |  49 |     | 
     | 
  |  50 |     | 
     | 
  |  51 |     | 
           public static final String LOG4J_SETTINGS_PROPS = "log4j.settings.props";  | 
  |  52 |     | 
     | 
  |  53 |     | 
             | 
  |  54 |     | 
     | 
  |  55 |     | 
     | 
  |  56 |     | 
     | 
  |  57 |     | 
           public static final String LOG4J_SETTINGS_PATH = "log4j.settings.path";  | 
  |  58 |     | 
     | 
  |  59 |     | 
             | 
  |  60 |     | 
     | 
  |  61 |     | 
     | 
  |  62 |     | 
           public static final String LOG4J_SETTINGS_RELOADINTERVAL_MINS = "log4j.settings.reloadInterval";  | 
  |  63 |     | 
     | 
  |  64 |     | 
           public static final String TRANSACTION_TIMEOUT = "transaction.timeout";  | 
  |  65 |     | 
     | 
  |  66 |     | 
           public static final String DOCUMENT_LOCK_TIMEOUT = "document.lock.timeout";  | 
  |  67 |     | 
     | 
  |  68 |     | 
           public static final String EMAIL_SECURITY_PATH = "email.security.path";  | 
  |  69 |     | 
     | 
  |  70 |     | 
           public static final String ENVIRONMENT = "environment";  | 
  |  71 |     | 
     | 
  |  72 |     | 
           public static final String PLUGIN_DIR = "plugin.dir";  | 
  |  73 |     | 
     | 
  |  74 |     | 
           public static final String EXTRA_CLASSES_DIR = "extra.classes.dir";  | 
  |  75 |     | 
     | 
  |  76 |     | 
           public static final String EXTRA_LIB_DIR = "extra.lib.dir";  | 
  |  77 |     | 
     | 
  |  78 |     | 
           public static final String EDL_CONFIG_LOCATION = "edl.config.loc";  | 
  |  79 |     | 
     | 
  |  80 |     | 
           public static final String SERVICE_NAMESPACE = "service.namespace";  | 
  |  81 |     | 
     | 
  |  82 |     | 
           public static final String THREAD_POOL_SIZE = "threadPool.size";  | 
  |  83 |     | 
             | 
  |  84 |     | 
           public static final String BAM_ENABLED = "bam.enabled";  | 
  |  85 |     | 
     | 
  |  86 |     | 
           public static final String EMBEDDED_PLUGIN_LOCATIAON = "embedded.plugin.location";  | 
  |  87 |     | 
     | 
  |  88 |     | 
           public static final String DATASOURCE_PLATFORM = "datasource.platform";  | 
  |  89 |     | 
     | 
  |  90 |     | 
           public static final String OJB_PLATFORM = "datasource.ojb.platform";  | 
  |  91 |     | 
     | 
  |  92 |     | 
           public static final String NODE_PROPERTIES_PATH = "node.properties.path";  | 
  |  93 |     | 
     | 
  |  94 |     | 
           public static final String DATASOURCE_OJB_SEQUENCE_MANAGER = "datasource.ojb.sequenceManager";  | 
  |  95 |     | 
           public static final String DATASOURCE_OJB_SEQUENCE_MANAGER_CLASS = "datasource.ojb.sequenceManager.className";  | 
  |  96 |     | 
           public static final String DATASOURCE_DRIVER_NAME = "datasource.driver.name";  | 
  |  97 |     | 
           public static final String DATASOURCE_URL = "datasource.url";  | 
  |  98 |     | 
           public static final String DATASOURCE_POOL_SIZE = "datasource.pool.size";  | 
  |  99 |     | 
           public static final String DATASOURCE_POOL_MIN_SIZE = "datasource.pool.minSize";  | 
  |  100 |     | 
           public static final String DATASOURCE_POOL_MAX_SIZE = "datasource.pool.maxSize";  | 
  |  101 |     | 
           public static final String DATASOURCE_POOL_MAXWAIT = "datasource.pool.maxWait";  | 
  |  102 |     | 
           public static final String DATASOURCE_POOL_VALIDATION_QUERY = "datasource.pool.validationQuery";  | 
  |  103 |     | 
           public static final String DATASOURCE_USERNAME = "datasource.username";  | 
  |  104 |     | 
           public static final String DATASOURCE_PASSWORD = "datasource.password";  | 
  |  105 |     | 
     | 
  |  106 |     | 
             | 
  |  107 |     | 
     | 
  |  108 |     | 
     | 
  |  109 |     | 
           public static final String KEW_URL = "kew.url";  | 
  |  110 |     | 
     | 
  |  111 |     | 
             | 
  |  112 |     | 
     | 
  |  113 |     | 
     | 
  |  114 |     | 
           public static final String KR_URL = "kr.url";  | 
  |  115 |     | 
     | 
  |  116 |     | 
             | 
  |  117 |     | 
     | 
  |  118 |     | 
     | 
  |  119 |     | 
           public static final String KIM_URL = "kim.url";  | 
  |  120 |     | 
             | 
  |  121 |     | 
             | 
  |  122 |     | 
     | 
  |  123 |     | 
     | 
  |  124 |     | 
           public static final String KEN_URL = "ken.url";  | 
  |  125 |     | 
     | 
  |  126 |     | 
       public static final String DEFAULT_KEW_NOTE_CLASS = "default.kew.note.class";  | 
  |  127 |     | 
           public static final String M_BEANS = "mBeans";  | 
  |  128 |     | 
           public static final String ALT_SPRING_FILE = "config.spring.file";  | 
  |  129 |     | 
           public static final String ALT_OJB_FILE        = "config.obj.file";  | 
  |  130 |     | 
     | 
  |  131 |     | 
             | 
  |  132 |     | 
           public static final String BUS_DEPLOYED_SERVICES = "bus.services";  | 
  |  133 |     | 
           public static final String SERVICE_SERVLET_URL = "serviceServletUrl";  | 
  |  134 |     | 
           public static final String MESSAGE_PERSISTENCE = "message.persistence";  | 
  |  135 |     | 
           public static final String STORE_AND_FORWARD = "bus.storeAndForward";  | 
  |  136 |     | 
           public static final String REFRESH_RATE = "bus.refresh.rate";  | 
  |  137 |     | 
           public static final String DEV_MODE = "dev.mode";  | 
  |  138 |     | 
           public static final String BATCH_MODE = "rice.ksb.batch.mode";  | 
  |  139 |     | 
             | 
  |  140 |     | 
           public static final String CREDENTIALS_SOURCE_FACTORY = "credentialsSourceFactory";  | 
  |  141 |     | 
     | 
  |  142 |     | 
           public static final String EMBEDDED_PLUGIN_DEFAULT_CURRENT_CLASS_LOADER = "embedded.plugin.default.current.classloader";  | 
  |  143 |     | 
     | 
  |  144 |     | 
           public static final String FIRST_DAILY_EMAIL_DELIVERY_DATE = "email.daily.firstDeliveryDate";  | 
  |  145 |     | 
           public static final String FIRST_WEEKLY_EMAIL_DELIVERY_DATE = "email.weekly.firstDeliveryDate";  | 
  |  146 |     | 
     | 
  |  147 |     | 
           public static final String ENABLE_EMAIL_REMINDER_LIFECYCLE = "email.reminder.lifecycle.enabled";  | 
  |  148 |     | 
           public static final String ENABLE_XML_PIPELINE_LIFECYCLE = "xml.pipeline.lifecycle.enabled";  | 
  |  149 |     | 
             | 
  |  150 |     | 
           public static final String OUT_BOX_MODE = "actionlist.outbox";  | 
  |  151 |     | 
     | 
  |  152 |     | 
           public void parseConfig() throws IOException;  | 
  |  153 |     | 
     | 
  |  154 |     | 
           public String getDailyEmailFirstDeliveryDate();  | 
  |  155 |     | 
     | 
  |  156 |     | 
           public String getWeeklyEmailFirstDeliveryDate();  | 
  |  157 |     | 
     | 
  |  158 |     | 
             | 
  |  159 |     | 
     | 
  |  160 |     | 
     | 
  |  161 |     | 
     | 
  |  162 |     | 
     | 
  |  163 |     | 
           public Properties getProperties();  | 
  |  164 |     | 
     | 
  |  165 |     | 
           public String getProperty(String key);  | 
  |  166 |     | 
             | 
  |  167 |     | 
           public boolean getBooleanProperty(String key, boolean defaultValue);  | 
  |  168 |     | 
             | 
  |  169 |     | 
           public Map<String, String> getPropertiesWithPrefix(String prefix, boolean stripPrefix);  | 
  |  170 |     | 
             | 
  |  171 |     | 
           public Map<String, Object> getObjects();  | 
  |  172 |     | 
     | 
  |  173 |     | 
           public Object getObject(String key);  | 
  |  174 |     | 
     | 
  |  175 |     | 
           public String getBaseWebServiceURL();  | 
  |  176 |     | 
     | 
  |  177 |     | 
           public String getBaseWebServiceWsdlPath();  | 
  |  178 |     | 
     | 
  |  179 |     | 
           public String getClientWSDLFullPathAndFileName();  | 
  |  180 |     | 
     | 
  |  181 |     | 
           public String getWebServicesConnectRetry();  | 
  |  182 |     | 
             | 
  |  183 |     | 
             | 
  |  184 |     | 
     | 
  |  185 |     | 
     | 
  |  186 |     | 
           public String getKEWBaseURL();  | 
  |  187 |     | 
             | 
  |  188 |     | 
             | 
  |  189 |     | 
     | 
  |  190 |     | 
     | 
  |  191 |     | 
           public String getKIMBaseURL();  | 
  |  192 |     | 
             | 
  |  193 |     | 
             | 
  |  194 |     | 
     | 
  |  195 |     | 
     | 
  |  196 |     | 
           public String getKRBaseURL();  | 
  |  197 |     | 
     | 
  |  198 |     | 
             | 
  |  199 |     | 
     | 
  |  200 |     | 
     | 
  |  201 |     | 
           public String getKENBaseURL();  | 
  |  202 |     | 
     | 
  |  203 |     | 
           public String getLog4jFileLocation();  | 
  |  204 |     | 
     | 
  |  205 |     | 
           public String getLog4jReloadInterval();  | 
  |  206 |     | 
     | 
  |  207 |     | 
           public String getTransactionTimeout();  | 
  |  208 |     | 
     | 
  |  209 |     | 
           public String getEmailConfigurationPath();  | 
  |  210 |     | 
     | 
  |  211 |     | 
           public String getEnvironment();  | 
  |  212 |     | 
     | 
  |  213 |     | 
           public String getEDLConfigLocation();  | 
  |  214 |     | 
     | 
  |  215 |     | 
           public String getServiceNamespace();  | 
  |  216 |     | 
     | 
  |  217 |     | 
       public String getDefaultKewNoteClass();  | 
  |  218 |     | 
     | 
  |  219 |     | 
       public String getEmbeddedPluginLocation();  | 
  |  220 |     | 
     | 
  |  221 |     | 
           public Integer getRefreshRate();  | 
  |  222 |     | 
     | 
  |  223 |     | 
           public String getEndPointUrl();  | 
  |  224 |     | 
     | 
  |  225 |     | 
           public String getAlternateSpringFile();  | 
  |  226 |     | 
     | 
  |  227 |     | 
           public String getAlternateOJBFile();  | 
  |  228 |     | 
     | 
  |  229 |     | 
           public String getKeystoreAlias();  | 
  |  230 |     | 
     | 
  |  231 |     | 
           public String getKeystorePassword();  | 
  |  232 |     | 
     | 
  |  233 |     | 
           public String getKeystoreFile();  | 
  |  234 |     | 
     | 
  |  235 |     | 
           public String getDocumentLockTimeout();  | 
  |  236 |     | 
             | 
  |  237 |     | 
       public Boolean getEmailReminderLifecycleEnabled();  | 
  |  238 |     | 
     | 
  |  239 |     | 
       public Boolean getXmlPipelineLifeCycleEnabled();  | 
  |  240 |     | 
     | 
  |  241 |     | 
           public Boolean getDevMode();  | 
  |  242 |     | 
             | 
  |  243 |     | 
           public Boolean getBatchMode();  | 
  |  244 |     | 
             | 
  |  245 |     | 
           public Boolean getStoreAndForward();  | 
  |  246 |     | 
           public Boolean getOutBoxOn();  | 
  |  247 |     | 
             | 
  |  248 |     | 
             | 
  |  249 |     | 
     | 
  |  250 |     | 
     | 
  |  251 |     | 
     | 
  |  252 |     | 
     | 
  |  253 |     | 
     | 
  |  254 |     | 
     | 
  |  255 |     | 
           public void putConfig(Config config);  | 
  |  256 |     | 
             | 
  |  257 |     | 
           public void putProperties(Properties properties);  | 
  |  258 |     | 
           public void putProperty(String key, String value);  | 
  |  259 |     | 
           public void removeProperty(String key);  | 
  |  260 |     | 
           public void putObjects(Map<String, Object> objects);  | 
  |  261 |     | 
           public void putObject(String key, Object value);  | 
  |  262 |     | 
           public void removeObject(String key);          | 
  |  263 |     | 
   }  |