| org.apache.derby.iapi.services.property.PropertyFactory
All known Subclasses: org.apache.derby.iapi.services.property.PropertyValidation,
PropertyFactory | public interface PropertyFactory (Code) | | Module interface for an Property validation.
An PropertyFactory is typically obtained from the Monitor:
// Get the current validation factory.
PropertyFactory af;
af = (PropertyFactory) Monitor.findServiceModule(this, org.apache.derby.iapi.reference.Module.PropertyFactory);
|
addPropertySetNotification | public void addPropertySetNotification(PropertySetCallback who)(Code) | | Add a callback for a change in any property value.
The callback is made in the context of the transaction making the change.
Parameters: who - which object is called |
doMap | public Serializable doMap(String key, Serializable value, Dictionary set) throws StandardException(Code) | | 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
|
verifyPropertySet | public void verifyPropertySet(Properties p, Properties ignore) throws StandardException(Code) | | Validate a Property set.
Validate a Property set by calling all the registered property set
notification functions with .
Parameters: p - Properties to validate. Parameters: ignore - Properties to not validate in p. Usefull for propertiesthat may not be set after boot. exception: StandardException - Throws if p fails a check. |
|
|