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

neil_a_wilson
17.24.2007 66a356e0256bbeb2c6b4034c4d322a61100850d2
refs
author neil_a_wilson <neil_a_wilson@localhost>
Friday, August 17, 2007 02:24 +0200
committer neil_a_wilson <neil_a_wilson@localhost>
Friday, August 17, 2007 02:24 +0200
commit66a356e0256bbeb2c6b4034c4d322a61100850d2
tree dead70775e1a90f63dcb433c5e46a60af8f95894 tree | zip | gz
parent 909069a522e880b3fdbbf4233338e8980a13278d view | diff
Provide a new EmbeddedUtils.initializeForClientUse() method that can be used to
initialize the proper internal structures so that OpenDS code can be more
easily used for client-side applications that could benefit from the code but
don't want or need to be running in the same JVM as the server.

Also, update the DirectoryServer.bootstrapClient() method (which is what
EmbeddedUtils.initializeForClientUse() uses behind the scenes) can be called
multiple times on the same server instance without interfering with any
previous initialization that might have been done. In short, it will ensure
that this initialization occurs no more than once during the life of the
DirectoryServer object instance.
8 files modified
221 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/core/DirectoryServer.java 181 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/LDAPCompare.java 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/LDAPDelete.java 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/LDAPModify.java 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/LDAPPasswordModify.java 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/LDAPSearch.java 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/dsconfig/DSConfig.java 5 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/EmbeddedUtils.java 15 ●●●●● diff | view | raw | blame | history