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

neil_a_wilson
17.24.2007 476ab6a2f8e1c5f60321626a27f7d82a008243af
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
commit476ab6a2f8e1c5f60321626a27f7d82a008243af
tree c2b684e11b0f306b9ccdffc44ad0032b78646c02 tree | zip | gz
parent 43b865d7aa79f44169abf201a4122fdce2532cdd 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
opends/src/server/org/opends/server/core/DirectoryServer.java 181 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/LDAPCompare.java 4 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/LDAPDelete.java 4 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/LDAPModify.java 4 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/LDAPPasswordModify.java 4 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/LDAPSearch.java 4 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/dsconfig/DSConfig.java 5 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/EmbeddedUtils.java 15 ●●●●● diff | view | raw | blame | history