Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8087585

@FXML injection does not work anymore if introducing CDI interceptor for Controller

XMLWordPrintable

      I created a small JavaFX project where FXMLLoader and Controller gets injected using CDI Weld 2.0.0CR3 implementation. Injection works for @FXML as well as @Inject annotated fields. However when I introduced an interceptor to intercept each method invocation in the Controller class the FXML annotated fields are not injected anymore. I tested this with WELD-SE 2.0CR3 and WELD-SE 1.12.1 and JavaFX 2.2.7.

            Unassigned Unassigned
            duke J. Duke
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Imported: