/** Remove the key-value pair from the Properties set and mark this set as modified. @see Hashtable#remove */ public Object remove(Object key) { Object ref = defaults.remove(key); if ((ref != null) && (!((String) key).startsWith(Property.PROPERTY_RUNTIME_PREFIX))) update(); return ref; }
usProperties = new UpdateServiceProperties(provider, serviceName, properties, provider.saveServiceProperties(serviceName, usProperties.getStorageFactory(), BaseMonitor.removeRuntimeProperties(properties), false); usProperties.setServiceBooted();
((UpdateServiceProperties)properties).setStorageFactory( (WritableStorageFactory) storageFactory); ((UpdateServiceProperties)properties).saveServiceProperties();
/** Set the locale for the service *outside* of boot time. @exception StandardException Standard Derby error. */ public Locale setLocale(Object serviceModule, String userDefinedLocale) throws StandardException { TopService ts = findTopService(serviceModule); if (ts == null) return null; PersistentService provider = ts.getServiceType(); if (provider == null) return null; String serviceName = ts.getKey().getIdentifier(); Properties properties = provider.getServiceProperties(serviceName, (Properties) null); properties = new UpdateServiceProperties(provider, serviceName, properties, true); return setLocale(properties, userDefinedLocale); }
usProperties = new UpdateServiceProperties(provider, serviceName, properties, provider.saveServiceProperties(serviceName, usProperties.getStorageFactory(), BaseMonitor.removeRuntimeProperties(properties), false); usProperties.setServiceBooted();
((UpdateServiceProperties)properties).setStorageFactory( (WritableStorageFactory) storageFactory); ((UpdateServiceProperties)properties).saveServiceProperties();
/** Set the locale for the service *outside* of boot time. @exception StandardException Standard Derby error. */ public Locale setLocale(Object serviceModule, String userDefinedLocale) throws StandardException { TopService ts = findTopService(serviceModule); if (ts == null) return null; PersistentService provider = ts.getServiceType(); if (provider == null) return null; String serviceName = ts.getKey().getIdentifier(); Properties properties = provider.getServiceProperties(serviceName, (Properties) null); properties = new UpdateServiceProperties(provider, serviceName, properties, true); return setLocale(properties, userDefinedLocale); }
usProperties = new UpdateServiceProperties(provider, serviceName, properties, provider.saveServiceProperties(serviceName, usProperties.getStorageFactory(), BaseMonitor.removeRuntimeProperties(properties), false); usProperties.setServiceBooted();
((UpdateServiceProperties)properties).setStorageFactory( (WritableStorageFactory) storageFactory); ((UpdateServiceProperties)properties).saveServiceProperties();
/** Put the key-value pair in the Properties set and mark this set as modified. @see Hashtable#put */ public Object put(Object key, Object value) { Object ref = defaults.put(key, value); if (!((String) key).startsWith(Property.PROPERTY_RUNTIME_PREFIX)) update(); return ref; }
/** Set the locale for the service *outside* of boot time. @exception StandardException Standard Derby error. */ public Locale setLocale(Object serviceModule, String userDefinedLocale) throws StandardException { TopService ts = findTopService(serviceModule); if (ts == null) return null; PersistentService provider = ts.getServiceType(); if (provider == null) return null; String serviceName = ts.getKey().getIdentifier(); Properties properties = provider.getServiceProperties(serviceName, (Properties) null); properties = new UpdateServiceProperties(provider, serviceName, properties, true); return setLocale(properties, userDefinedLocale); }
/** Remove the key-value pair from the Properties set and mark this set as modified. @see Hashtable#remove */ public Object remove(Object key) { Object ref = defaults.remove(key); if ((ref != null) && (!((String) key).startsWith(Property.PROPERTY_RUNTIME_PREFIX))) update(); return ref; }
/** Put the key-value pair in the Properties set and mark this set as modified. @see Hashtable#put */ public Object put(Object key, Object value) { Object ref = defaults.put(key, value); if (!((String) key).startsWith(Property.PROPERTY_RUNTIME_PREFIX)) update(); return ref; }
/** Put the key-value pair in the Properties set and mark this set as modified. @see Hashtable#put */ public Object put(Object key, Object value) { Object ref = defaults.put(key, value); if (!((String) key).startsWith(Property.PROPERTY_RUNTIME_PREFIX)) update(); return ref; }
/** Remove the key-value pair from the Properties set and mark this set as modified. @see Hashtable#remove */ public Object remove(Object key) { Object ref = defaults.remove(key); if ((ref != null) && (!((String) key).startsWith(Property.PROPERTY_RUNTIME_PREFIX))) update(); return ref; }