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

Nicolas Capponi
22.26.2014 39dacbb53b81e9450b196f985a8b3ef4c00e6378
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
commit39dacbb53b81e9450b196f985a8b3ef4c00e6378
tree 0df5b87bf6d92f909e48c5ad9c53dc8bd8357c27 tree | zip | gz
parent 46f6e918d0b0b3e6e425878f5e7c97c087c5036e 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
opendj-sdk/opendj3-server-dev/src/server/org/opends/server/replication/common/ChangelogBaseDNVirtualAttributeProvider.java 20 ●●●●● diff | view | raw | blame | history
opendj-sdk/opendj3-server-dev/src/server/org/opends/server/replication/common/FirstChangeNumberVirtualAttributeProvider.java 40 ●●●● diff | view | raw | blame | history
opendj-sdk/opendj3-server-dev/src/server/org/opends/server/replication/common/LastChangeNumberVirtualAttributeProvider.java 40 ●●●● diff | view | raw | blame | history
opendj-sdk/opendj3-server-dev/src/server/org/opends/server/replication/common/LastCookieVirtualProvider.java 42 ●●●● diff | view | raw | blame | history
opendj-sdk/opendj3-server-dev/src/server/org/opends/server/replication/server/ReplicationServer.java 61 ●●●●● diff | view | raw | blame | history