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

matthew_swift
19.47.2007 8719ea359c32f1e2e77f9cb7c7a98af0abe6b011
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
commit8719ea359c32f1e2e77f9cb7c7a98af0abe6b011
tree 7ea4a6f2c9a6534a4c9cd6a2fefafe23bcd14023 tree | zip | gz
parent 0b029146af876df99ce2eb78fc72c632bf051653 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
opendj-sdk/opends/src/server/org/opends/server/admin/server/DelayedConfigAddListener.java 164 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/admin/server/ServerManagedObject.java 63 ●●●●● diff | view | raw | blame | history