[jboss-jira] [JBoss JIRA] (AS7-4249) Inherited start/stop methods are not invoked on a POJO

Ivo Studensky (JIRA) jira-events at lists.jboss.org
Wed Mar 21 11:28:47 EDT 2012


     [ https://issues.jboss.org/browse/AS7-4249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivo Studensky updated AS7-4249:
-------------------------------

    Summary: Inherited start/stop methods are not invoked on a POJO  (was: Inhereted start/stop methods are not invoked on a POJO)

    
> Inherited start/stop methods are not invoked on a POJO
> ------------------------------------------------------
>
>                 Key: AS7-4249
>                 URL: https://issues.jboss.org/browse/AS7-4249
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: POJO
>    Affects Versions: 7.1.1.Final
>            Reporter: Ivo Studensky
>            Assignee: Ales Justin
>             Fix For: 7.1.2.Final
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list