1 Reply Latest reply on Jul 7, 2009 7:32 AM by Kevin Conner

    Smooks lifecycle resources

    Kevin Conner Master

      I have reopened a smooks issue to remove a generic addition to the lifecycle resources, the Cleanable interface.

      My reasons for doing this are as follows
      - We really need to explicitly manage the Smooks lifecycle, creation is handled differently in different areas (see shutdown hook removal)
      - It introduced a memory leak

      I'll add a smooks explicit lifecycle resource and combine all the current initialisation behaviour.

      Kev

        • 1. Re: Smooks lifecycle resources
          Kevin Conner Master

          I have added the smooks explicit lifecycle resource and covered the two memory leaks from earlier. There are still some issues with the codebase, however, but we can address those as part of the 4.7 release.

          The issues which stand out at the moment are the removal of the SoapUIClientService and the Smooks usage within the wise integration. I'll create issues for those later this afternoon.

          I also noticed that there are a few areas which are creating Smooks instances and not cleaning up, usually because their API does not fit this. The lifecycle code will catch this but it would be better if we can identify these at some point and clean up the associated APIs.

          Kev