java.lang.Object
org.apache.derby.iapi.services.property.PropertyValidation
- All Implemented Interfaces:
- PropertyFactory
- public class PropertyValidation
- extends java.lang.Object
- implements PropertyFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
notifyOnSet
private java.util.Vector notifyOnSet
PropertyValidation
public PropertyValidation()
doValidateApplyAndMap
public java.io.Serializable doValidateApplyAndMap(org.apache.derby.iapi.store.access.TransactionController tc,
java.lang.String key,
java.io.Serializable value,
java.util.Dictionary d,
boolean dbOnlyProperty)
throws org.apache.derby.iapi.error.StandardException
- Specified by:
doValidateApplyAndMap in interface PropertyFactory
doMap
public java.io.Serializable doMap(java.lang.String key,
java.io.Serializable value,
java.util.Dictionary set)
throws org.apache.derby.iapi.error.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
- Specified by:
doMap in interface PropertyFactory
validateSingleProperty
public void validateSingleProperty(java.lang.String key,
java.io.Serializable value,
java.util.Dictionary set)
throws org.apache.derby.iapi.error.StandardException
- Description copied from interface:
PropertyFactory
- validation a single property
- Specified by:
validateSingleProperty in interface PropertyFactory
addPropertySetNotification
public void addPropertySetNotification(PropertySetCallback who)
- Description copied from interface:
PropertyFactory
- Add a callback for a change in any property value.
The callback is made in the context of the transaction making the change.
- Specified by:
addPropertySetNotification in interface PropertyFactory
verifyPropertySet
public void verifyPropertySet(java.util.Properties p,
java.util.Properties ignore)
throws org.apache.derby.iapi.error.StandardException
- Description copied from interface:
PropertyFactory
- Validate a Property set.
Validate a Property set by calling all the registered property set
notification functions with .
- Specified by:
verifyPropertySet in interface PropertyFactory