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

Gregory Mostizky (JIRA) jira-events at lists.jboss.org
Wed Sep 9 04:28:23 EDT 2009


@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


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