Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-4249

Inherited start/stop methods are not invoked on a POJO

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.2.Final (EAP)
    • 7.1.1.Final
    • POJO
    • None

      Let's say we have a POJO A which extends a class B. The start/stop
      methods are defined in the class B. In the jboss-beans.xml file is
      something like this:

      <bean name="A" class="blah.blah.A"/>

      Then, only the constructor of A is invoked by AS7, but no invocation of
      start/stop methods occur. The start/stop methods are invoked only if
      they are directly defined in A.

              ajustin@redhat.com Ales Justin
              istudens@redhat.com Ivo Studensky
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: