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

Nicolas Capponi
27.48.2014 356240c99bdb71f712e425f22eac7f456cfe6881
refs
author Nicolas Capponi <nicolas.capponi@forgerock.com>
Thursday, February 27, 2014 11:48 +0100
committer Nicolas Capponi <nicolas.capponi@forgerock.com>
Thursday, February 27, 2014 11:48 +0100
commit356240c99bdb71f712e425f22eac7f456cfe6881
tree 7a246f55336cde439ea1903c610e959ddf7ba513 tree | zip | gz
parent 6f5e10b0dc596c8e7625de7ddf523b6d5bc220c7 view | diff
Refactor retrieval of serverRoot and instanceRoot to have an unique
implementation

* Move implementation to DirectoryEnvironmentConfig class

* Update DirectoryServer class to initialize Environment earlier and
rely on Environment to get the server root and instance root

* Update ConfigFileHandler class to rely on Environment to get the
server root and instance root

* Add retrieval of Environment from ServerContext
4 files modified
382 ■■■■ changed files
opendj3-server-dev/src/server/org/opends/server/core/DirectoryServer.java 111 ●●●●● diff | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/core/ServerContext.java 18 ●●●●● diff | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/extensions/ConfigFileHandler.java 104 ●●●●● diff | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/types/DirectoryEnvironmentConfig.java 149 ●●●● diff | view | raw | blame | history