Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-7236

@PostConstruct is never called for @Service beans

    XMLWordPrintable

Details

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-cdewolf Carlo de Wolf
              gregory.mostizky1 Gregory Mostizky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: