12 Aug, 2015

1 commit

  • This patch adds some new examples using the asynchronous APIs:
    
    *  ModifyAsync.java
    *  SearchBindAsync.java
    *  ShortLifeAsync.java
    *  SimpleAuthAsync.java
    *  UpdateGroupAsync.java
    *  UseSchemaAsync.java
    
    The examples also tend to be written in fluent style,
    which in some cases looks a bit cluttered due to inline declarations.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12726 41b1ffd8-f28e-4786-ab96-9950f0a78031
    mark
     

27 Jul, 2015

1 commit


20 Jul, 2015

1 commit

  • * Note that this migration just solved compilation issues, it does not try to take benefits from the apis enhancements.
    * The major change is that org.forgerock.opendj.ldap.ResultHandler has been renamed to org.forgerock.opendj.ldap.LdapResultHandler.java to prevent conflicts with the org.forgerock.util.promise.ResultHandler
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12687 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gaetan
     

01 Jun, 2015

1 commit


29 May, 2015

1 commit


28 May, 2015

3 commits


28 Apr, 2015

1 commit


05 Mar, 2015

1 commit


28 Nov, 2014

1 commit


27 Nov, 2014

1 commit

  • …actory and GrizzlyLDAPConnectionFactory
    
    To avoid code duplication and makes API more fluent, we have merged HBCF, ACF and GCF by creating an AbstractLdapConnectionFactoryImpl.
    The new connection skeletal associated is AbstractLdapConnectionImpl.
    This is a sub-optimal solution, there is still some concurrency issues to address in AbstractLdapConnecitonImpl.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@11348 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gaetan
     

03 Nov, 2014

1 commit

  • - work with null checked expressions first
    - revert conditions
    - collapse if statements
    - push negations down
    - invert equals()
    
    Manually used ternary operators
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@11233 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

31 Oct, 2014

1 commit


30 Oct, 2014

1 commit

  • Collapsed else { if (...){...} }  into else if (...) {...}
    Reversed boolean equals conditions using constants.
    
    In tests, used the correct assert*() methods.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@11224 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

22 Oct, 2014

1 commit


21 Oct, 2014

3 commits


20 Oct, 2014

1 commit

  • - removed useless parentheses
    - added parentheses to disambiguate expressions
    - removed useless use of "this" keyword in method calls
    - removed useless null checks in conjunction with use of instanceof operator
    
    
    *.java:
    Manually extracted local variables.
    
    OperatingSystem.java:
    Manually changed the code to use String.contains()
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@11158 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

16 Oct, 2014

2 commits


15 Oct, 2014

1 commit


02 Oct, 2014

1 commit


29 Sep, 2014

1 commit

  • * org.forgerock.opendj.ldap package:
    ** Rename FutureResult to LdapPromise
    ** Rename FutureResultImpl to LdapPromiseImpl and move it to org.forgerock.opendj.ldap.spi
    ** Rename the util class FutureResultWrapper to LdapPromises and move it to org.forgerock.opendj.ldap.spi package 
    ** Solve some bugs in HeartBeatConnectionFactory class
    
    org.forgerock.opendj.ldap.spi
    ** Merge old LDAPFutureResultImpl and AbstractLDAPFutureResultImpl and rename it as ResultLdapPromiseImpl
    ** Remove AbstractLDAPFutureResultImpl, LDAPFutureResultImpl and LDAPCompareFutureResultImpl
    ** Rename LDAP[Bind | Extended | Search]FutureResultImpl to [Bind | Extended | Search]ResultLdapPromiseImpl
    ** Add static methods in LdapPromises to return *LdapPromiseImpl instances
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@11065 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gaetan
     

19 Sep, 2014

1 commit


15 Sep, 2014

1 commit

  • Connection, ConnectionFactory, ResultHandler and SearchResultHandler public APIs have been changed.
    * Connection.java
      In all xxxAsync method, the final handler parameter will be removed and the client is expected to register the handler with the returned promise. For search request, a SearchResultHandler is still required because it needs to handle search result entries/references.
    
    * ConnectionFactory.java
      In the method getConnectionAsync(), the final handler parameter will be removed.
    
    * ResultHandler.java
      Now extends SuccessHandler and FailureHandler in order to allow usage of then() method call.
    
    * SearchResultHandler.java
      Remove the inheritance link with ResultHandler. So client needs to register a ResultHandler instance when he calls searchAsync in addition to register a SearchResultHandler.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@11001 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gaetan
     

07 Jul, 2014

1 commit

  • Remove the opendj-ldap-sdk project and update dependencies in all pom files and in the project documentation.
    * all pom.xml
    ** Removing reference to the opendj-ldap-sdk project and add dependencies to opendj-core and openj-grizzly
    * opendj-core/.../index.xml.vm
    ** Updating the opendj-core documentation with the opendj-ldap-sdk old documentation page
    * opendj-project site.xml chap-get-sdk.xml
    ** Updating project documentation menu and developer guide
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10867 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gaetan
     

20 May, 2014

1 commit


31 Jan, 2014

1 commit


25 Jan, 2014

1 commit

  • * moved closeSilently() methods and a couple of others from StaticUtils to forgerock-utils
    * bumped dependency on forgerock-utils to 1.3.0-SNAPSHOT
    * all remaining Findbugs warnings are just noise. It's a shame that it's not possible to use @SuppressWarnings("findbugs").
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10187 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     

17 Dec, 2013

1 commit


09 Dec, 2013

1 commit


28 Nov, 2013

2 commits


27 Nov, 2013

2 commits

  • …runk once the new Maven module and package layout has been validated
    
    * fix grizzly module site generation
    * add links for sub-module Javadoc
    * add link for server 2x adapter
    * clean up examples site.
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9849 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • …runk once the new Maven module and package layout has been validated
    
    * convert opendj-ldap-sdk module into a Maven group (pom + only dependencies)
    * kept old opendj-ldap-sdk site as primary "About" page in order to avoid breaking bookmarks and links. The opendj-core module's site is hidden
    * remove all sub-module site.xml files and instead inherit menus from parent
    * switch SDK Javadoc URLs to point at opendj-core Javadoc since opendj-ldap-sdk Javadoc is stale
    * add simple place holder index.xml.vm site pages for most sub-modules
    * change how we document getting the binaries: instead reference the dependencies report. Although slight less helpful to the reader, at least the links won't become stale.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9845 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     

26 Nov, 2013

1 commit