Uploaded image for project: 'Modular Service Container'
  1. Modular Service Container
  2. MSC-108

Set TCCL of all service and listener methods to defining CL

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 1.0.1.GA
    • None
    • None
    • None

    Description

      service.start() and service.stop() should execute with a TCCL of service.getClass().getClassLoader() [ defining CL ] instead of null. This will make it much easier for methods to use java APIs that do dynamic classloading and service loader style activities. For example, DocumentBuilderFactory.newInstance().

      Listener invocations should also execute under their class loading context.

      Attachments

        Issue Links

          Activity

            People

              flaviarnn Flavia Rainone
              jgreene@redhat.com Jason Greene
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: