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

@AroundConstruct only works for void methods

XMLWordPrintable

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

      Using:

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

      works. When using:

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

      no callback is received.

              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

                Created:
                Updated:
                Resolved: