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

Nicolas Capponi
22.26.2014 fc2267b6e73ca9707f8eaaf37f3c6d730944f1ae
refs
author Nicolas Capponi <nicolas.capponi@forgerock.com>
Monday, September 22, 2014 15:26 +0200
committer Nicolas Capponi <nicolas.capponi@forgerock.com>
Monday, September 22, 2014 15:26 +0200
commitfc2267b6e73ca9707f8eaaf37f3c6d730944f1ae
tree 21124ccdb37998a68fad339a968f517cc4208f4c tree | zip | gz
parent 62e6e3728581850763dee59915e865d7368e95a1 view | diff
Checkpoint commit for OPENDJ-1206 : Create a new ReplicationBackend/ChangelogBackend 
to support cn=changelog
CR-4036

Preparatory work : change implementation of virtual attribute providers related to external
changelog to be independant of ECL workflow

* ReplicationServer class:
** remove duplication of virtual attribute providers creation (for registering
and deregistering)
** create virtual attribute providers by injecting the replication server instance

* FirstChangeNumberVirtualAttributeProvider, LastChangeNumberVirtualAttributeProvider,
LastCookieVirtualProvider classes:
** inject ReplicationServer in constructor in order to use it in getValues() method
** remove ConfigurationChangeListener implementation because no config change
can happen

* ChangelogBaseDNVirtualAttributeProvider class:
** remove ConfigurationChangeListener implementation because no config change
can happen
5 files modified
203 ■■■■■ changed files
opendj3-server-dev/src/server/org/opends/server/replication/common/ChangelogBaseDNVirtualAttributeProvider.java 20 ●●●●● diff | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/replication/common/FirstChangeNumberVirtualAttributeProvider.java 40 ●●●● diff | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/replication/common/LastChangeNumberVirtualAttributeProvider.java 40 ●●●● diff | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/replication/common/LastCookieVirtualProvider.java 42 ●●●● diff | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/replication/server/ReplicationServer.java 61 ●●●●● diff | view | raw | blame | history