Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-1357

@AroundConstruct only works for void methods

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Critical
    • 2.0.0.Beta8
    • 2.0.0.Beta5
    • None
    • None

    Description

      Using:

      @AroundConstruct
      public void validateConstructorInvocation(InvocationContext ctx) throws Exception {
      // ...
      }
      

      works. When using:

      @AroundConstruct
      public Object validateConstructorInvocation(InvocationContext ctx) throws Exception {
      // ...
      }
      

      no callback is received.

      Attachments

        Issue Links

          Activity

            People

              marko.luksa@gmail.com Marko Luksa (Inactive)
              hardy.ferentschik_jira Hardy Ferentschik (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: