Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-655

Refactor @Service beans

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0-Beta12
    • None
    • None
    • None

      Refactor @Service beans to fix a number of problems:

      • magic methods for lifecycle methods:
      • create/start/stop/destroy
      • @Management interface is not registered with the ServiceController (Controller in MC land). It IS registered as a regular MBean though.
      • If lifecycle methods exist on @Management interface, they must be intercepted on the container so that the appropriate Controler start/stop is done on the container. This would mean that you have to specify a <bind> in the Service aspect domain in ejb3-interceptors-aop.xml

            arubinge@redhat.com Andrew Rubinger (Inactive)
            patriot1burke@gmail.com Bill Burke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: