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

Nicolas Capponi
27.48.2014 7f90143dd0cfdf7ed6c35a259e1aec68a3aa2951
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
commit7f90143dd0cfdf7ed6c35a259e1aec68a3aa2951
tree 4ae18224a4ce78404c492e638cc0770857ee9eee tree | zip | gz
parent abc7a128e7b96b8918b443ac278707e54f53383c 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
opendj-sdk/opendj3-server-dev/src/server/org/opends/server/core/DirectoryServer.java 111 ●●●●● diff | view | raw | blame | history
opendj-sdk/opendj3-server-dev/src/server/org/opends/server/core/ServerContext.java 18 ●●●●● diff | view | raw | blame | history
opendj-sdk/opendj3-server-dev/src/server/org/opends/server/extensions/ConfigFileHandler.java 104 ●●●●● diff | view | raw | blame | history
opendj-sdk/opendj3-server-dev/src/server/org/opends/server/types/DirectoryEnvironmentConfig.java 149 ●●●● diff | view | raw | blame | history