An PropertyFactory is typically obtained from the Monitor:
// Get the current validation factory. PropertyFactory af; af = (PropertyFactory) Monitor.findServiceModule(this, org.apache.derby.shared.common.reference.Module.PropertyFactory);
| Modifier and Type | Method and Description |
|---|---|
| public void | addPropertySetNotification(PropertySetCallback
which object is called who)Add a callback for a change in any property value. |
| public Serializable | Returns: a serializableThe property key key, Serializable The value to be bound to the key value, Dictionary<K, V> The property set for this key set)Call the property set callbacks to map a proposed property value to a value to save. |
| public Serializable | doValidateApplyAndMap(TransactionController tc, String key, Serializable value, Dictionary<K, V> d, boolean dbOnlyProperty)
|
| public void | validateSingleProperty(String
The property key key, Serializable The proposed value for the key value, Dictionary<K, V> The set containing the key/value pair set)validate a single property |
| public void | verifyPropertySet(Properties
Properties to validate. p, Properties Properties to not validate in p. Usefull for properties
that may not be set after boot. ignore)Validate a Property set. |
| addPropertySetNotification | back to summary |
|---|---|
| public void addPropertySetNotification(PropertySetCallback who) Add a callback for a change in any property value.
| |
| doMap | back to summary |
|---|---|
| public Serializable doMap(String key, Serializable value, Dictionary<K, V> set) throws StandardException Call the property set callbacks to map a proposed property value to a value to save. The caller must run this in a block synchronized on this to serialize validations with changes to the set of property callbacks
| |
| doValidateApplyAndMap | back to summary |
|---|---|
| public Serializable doValidateApplyAndMap(TransactionController tc, String key, Serializable value, Dictionary<K, V> d, boolean dbOnlyProperty) throws StandardException | |
| validateSingleProperty | back to summary |
|---|---|
| public void validateSingleProperty(String key, Serializable value, Dictionary<K, V> set) throws StandardException validate a single property
| |
| verifyPropertySet | back to summary |
|---|---|
| public void verifyPropertySet(Properties p, Properties ignore) throws StandardException Validate a Property set. Validate a Property set by calling all the registered property set notification functions with .
| |