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

Nicolas Capponi
21.02.2014 9969e4092753602a028b9c7763afcc8544ae2879
refs
author Nicolas Capponi <nicolas.capponi@forgerock.com>
Monday, July 21, 2014 10:02 +0200
committer Nicolas Capponi <nicolas.capponi@forgerock.com>
Monday, July 21, 2014 10:02 +0200
commit9969e4092753602a028b9c7763afcc8544ae2879
tree 2f2de3cfe7f2f6babefe3724ce40b98b59d094bb tree | zip | gz
parent 1c3d676fa098a69043aa69197cf453660aaeeae8 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
208 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/replication/common/ChangelogBaseDNVirtualAttributeProvider.java 21 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/common/FirstChangeNumberVirtualAttributeProvider.java 41 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/common/LastChangeNumberVirtualAttributeProvider.java 41 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/common/LastCookieVirtualProvider.java 44 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationServer.java 61 ●●●●● diff | view | raw | blame | history