[jboss-jira] [JBoss JIRA] Updated: (JBAS-7236) @PostConstruct is never called for @Service beans

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Wed Sep 16 09:41:24 EDT 2009


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

Carlo de Wolf updated JBAS-7236:
--------------------------------

    Fix Version/s: JBossAS-5.2.0.Beta1
                   JBossAS-6.0.0.Alpha1


> @PostConstruct is never called for @Service beans
> -------------------------------------------------
>
>                 Key: JBAS-7236
>                 URL: https://jira.jboss.org/jira/browse/JBAS-7236
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: EJB3
>    Affects Versions: JBossAS-5.1.0.GA
>         Environment: JBoss 5.1.0 GA running of Fedora Core 11
>            Reporter: Gregory Mostizky
>            Assignee: Carlo de Wolf
>             Fix For: JBossAS-5.2.0.Beta1, JBossAS-6.0.0.Alpha1
>
>
> I have a @Service bean which defines initialization method and that method is marked with @PostConstruct.
> This method is never called by JBoss, not when the bean is first created and not when it is accessed.
> Same issue happens when testing with embedded jboss (beta3.sp9)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list