| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Serviceable | apply(String
Property key for the property being set key, Serializable proposed new value for the property being set or null if
the property is being dropped. value, Dictionary<K, V> Property set before the change. SettingProperty may read but
must never change p. p)Implements org. Apply a property change. |
| private static Context | |
| public void | init(boolean
true if only per-database properties are to be looked at dbOnly, Dictionary<K, V> the complete set of per-database properties. p)Implements org. Initialize the properties for this callback. |
| public Serializable | map(String
Property key for the property being set key, Serializable proposed new value for the property being set or null if
the property is being dropped. value, Dictionary<K, V> Property set before the change. SettingProperty may read but
must never change p. p)Implements org. Map a proposed new value for a property to an official value. |
| public boolean | validate(String
Property key for the property being set key, Serializable proposed new value for the property being set or null if
the property is being dropped. value, Dictionary<K, V> Property set before the change. SettingProperty may read but
must never change p. p)Implements org. Validate a property change. |
| LanguageDbPropertySetter | back to summary |
|---|---|
| public LanguageDbPropertySetter() | |
| apply | back to summary |
|---|---|
| public Serviceable apply(String key, Serializable value, Dictionary<K, V> p) Implements org. Doc from org. Apply a property change. Will only be called after validate has been called and only if validate returned true. If this method is called then the new value is the value to be used, ie. the property is not set in the overriding JVM system set.
| |
| getContext | back to summary |
|---|---|
| private static Context getContext(final String contextID) Must be private so that user code can't call this entry point. | |
| init | back to summary |
|---|---|
| public void init(boolean dbOnly, Dictionary<K, V> p) Implements org. Doc from org. Initialize the properties for this callback. Called when addPropertySetNotification() is called with a non-null transaction controller. This allows code to set read its initial property values at boot time. Code within an init() method should use the 3 argument PropertyUtil method getPropertyFromSet() to obtain a property's value.
| |
| map | back to summary |
|---|---|
| public Serializable map(String key, Serializable value, Dictionary<K, V> p) Implements org. Doc from org. Map a proposed new value for a property to an official value. Will only be called after apply() has been called.
| |
| validate | back to summary |
|---|---|
| public boolean validate(String key, Serializable value, Dictionary<K, V> p) throws StandardException Implements org. Doc from org. Validate a property change.
| |