Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2141 Revise integration tests in org.jboss.weld.tests.interceptors.signature
  3. WELD-2140

Weld should check lifecycle callbacks method declaration on target class

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 2.4.3.Final, 3.0.0.Final
    • 2.3.3.Final
    • None
    • None

      Currently it's possible to declare following callback on target class:

       @PostConstruct void method(Object object){}
      

      Interceptor spec (2.6 Interceptors for Lifecycle Event Callbacks) says only that:

      Lifecycle callback interceptor methods defined on a target class have the following signature:
      void <METHOD>()

              tremes1@redhat.com Tomas Remes
              tremes1@redhat.com Tomas Remes
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: