Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: PicoContainer (Java)
    • Labels:
      None
    • Number of attachments :
      3

      Description

      Container recorder allows to "reply" container composition process
      by recording all methof invocations.

      Can be used for fast instantiation of session/request level containers

      1. ContainerRecorder.java
        2 kB
        Konstantin Pribluda
      2. ContainerRecorderTestCase.java
        2 kB
        Konstantin Pribluda
      3. WebguiContainerAssembler.java
        3 kB
        Konstantin Pribluda

        Activity

        Hide
        Konstantin Pribluda added a comment -

        ContainrRecorder implementation

        Show
        Konstantin Pribluda added a comment - ContainrRecorder implementation
        Konstantin Pribluda made changes -
        Field Original Value New Value
        Attachment ContainerRecorder.java [ 11402 ]
        Hide
        Konstantin Pribluda added a comment -

        TestCase covering important features

        Show
        Konstantin Pribluda added a comment - TestCase covering important features
        Konstantin Pribluda made changes -
        Attachment ContainerRecorderTestCase.java [ 11403 ]
        Hide
        Konstantin Pribluda added a comment -

        Real-World example

        Show
        Konstantin Pribluda added a comment - Real-World example
        Konstantin Pribluda made changes -
        Attachment WebguiContainerAssembler.java [ 11404 ]
        Hide
        Aslak Hellesøy added a comment -

        Some of this code is

        /*

        • Copyright (c) 2003
        • Information Desire GmbH
        • All rights reserved.
          */

        Can we change that? (Otherwise we can't apply it).

        Show
        Aslak Hellesøy added a comment - Some of this code is /* Copyright (c) 2003 Information Desire GmbH All rights reserved. */ Can we change that? (Otherwise we can't apply it).
        Hide
        Konstantin Pribluda added a comment -

        If you mean WebguiContainerAssembler , it my actual container composer I supplied as example. And it is not intendet to be commited - Maybe example in wiki....

        Other classes shall have no copyright notices from ym company....

        Show
        Konstantin Pribluda added a comment - If you mean WebguiContainerAssembler , it my actual container composer I supplied as example. And it is not intendet to be commited - Maybe example in wiki.... Other classes shall have no copyright notices from ym company....
        Hide
        Aslak Hellesøy added a comment -

        Very cool stuff. I have applied it with some changes:

        • Made recorder serializable. This will be useful in clustering environments.
        • Renamed reply->replay
        • Removed the getContainer() method (not needed)
        • Changed some comments and modified the tests a little bit.
        Show
        Aslak Hellesøy added a comment - Very cool stuff. I have applied it with some changes: Made recorder serializable. This will be useful in clustering environments. Renamed reply->replay Removed the getContainer() method (not needed) Changed some comments and modified the tests a little bit.
        Aslak Hellesøy made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Assignee Aslak Hellesoy [ rinkrank ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Aslak Hellesøy
            Reporter:
            Konstantin Pribluda
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: