mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

matthew_swift
19.47.2007 980147a25e6e1d817e24c0fa7ebe173313dce27d
refs
author matthew_swift <matthew_swift@localhost>
Thursday, April 19, 2007 22:47 +0200
committer matthew_swift <matthew_swift@localhost>
Thursday, April 19, 2007 22:47 +0200
commit980147a25e6e1d817e24c0fa7ebe173313dce27d
tree d937180c6fb811ffb9fab25cbd084a67ed6adfec tree | zip | gz
parent c7a779c3678542dbe20146902b1a8195a8b28a6f view | diff
Fix a bug in add/delete listener registration for instantiable
(one-to-many) relations. Listener registration would fail if
the entry associated with the relation did not exist (this is
the case when the parent managed object has only just been
created). The solution is to wait for the "relation" entry
to be created and, when it is added, automatically register
the add/delete listener then. This automatic registration is
managed by a "delayed" config add listener which is registered
against the parent managed object.
1 files added
1 files modified
227 ■■■■ changed files
opends/src/server/org/opends/server/admin/server/DelayedConfigAddListener.java 164 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/admin/server/ServerManagedObject.java 63 ●●●●● diff | view | raw | blame | history