Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Aug 6 2012
    • Component/s: None
    • Labels:
      None

      Description

      According to the Javadoc at [1], support for managed thread factories is intended. I am wondering if any particular shutdown mechanism has been specified? How will the container tear down threads associated with a given component?

      I would like to suggest that we specify a thread base class or interface for managed threads, which includes an isShutdown() method which would return a flag which is set when the thread is requested to terminate. The thread should also be interrupted at this time.

      I would also suggest that threads started after component shutdown was initiated should be allowed to run, but they should start with an interrupted status and their shutdown flag set.

      [1] http://concurrency-ee-spec.java.net/javadoc/index.html?javax/enterprise/concurrent/ManagedThreadFactory.html

        Activity

        anthony.lai created issue -
        anthony.lai made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s Aug 6 2012 [ 15963 ]
        Resolution Fixed [ 1 ]
        anthony.lai made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            anthony.lai
            Reporter:
            anthony.lai
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: