05 Sep, 2014

1 commit

  • When a new heap object instance has to be created, we first have to
    find a Heaplet instance that will create the required object from the
    given JSON configuration.
    Heaplet instances are linked to the single object they created: they
    manage the heap object lifecycle with the start() and destroy() methods.
    The old behaviour was using Heaplet instances directly loaded and
    instantiated, meaning that a single Heaplet instance could be used to
    create multiple heap objects, somehow mixing states, which was very
    wrong.
    
    Now, HeapletFactory (instead of direct Heaplet) are found using the
    ServiceLoader discovery mechanism. They are responsible to create new
    Heaplet instances, meaning that we cannot anymore share a Heaplet
    instance for 2 or more heap objects.
    
    Heaplet class does not extends Indexed<Class> anymore (was only used
    because of the way Heaplets was looking for Heaplet instances).
    NestedHeaplet is now deprecated since its only duty was to implement the
    Indexed interface. All references to NestedHeaplet were replaced to
    GenericHeaplet (its parent class) in our code base to avoid ugly
    compiler warnings.
    
    As per OPENIG-302 comments, the HeapletFactory will be a short-lived
    concept since this additional layer introduction was the straw that broke
    the camel's back :)
    
    Issues: OPENIG-302
    Reviews: CR-4457
    
    git-svn-id: https://svn.forgerock.org/openig/trunk@555 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
    guillaume.sauthier
     

04 Sep, 2014

3 commits


03 Sep, 2014

3 commits


02 Sep, 2014

1 commit


01 Sep, 2014

1 commit


29 Aug, 2014

3 commits


28 Aug, 2014

3 commits

  • git-svn-id: https://svn.forgerock.org/openig/trunk@543 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
    mark
     
  • git-svn-id: https://svn.forgerock.org/openig/trunk@542 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
    mark
     
  • git-svn-id: https://svn.forgerock.org/openig/trunk@541 dbb9e58e-28e6-4ce0-90e8-f11d9605b710
    mark
     

27 Aug, 2014

3 commits


26 Aug, 2014

2 commits


25 Aug, 2014

5 commits


22 Aug, 2014

2 commits


21 Aug, 2014

6 commits


20 Aug, 2014

1 commit


08 Aug, 2014

5 commits


07 Aug, 2014

1 commit