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

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

      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.

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

              Created:
              Updated:
              Resolved: