Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-1993

Allow for injection of parameters into non-service annotated classes

    Details

    • Type: Feature Request
    • Status: Open (View Workflow)
    • Priority: Optional
    • Resolution: Unresolved
    • Affects Version/s: 1.1
    • Fix Version/s: None
    • Component/s: configuration, core
    • Labels:
    • Environment:

      Switchyard 1.1

      Description

      The current version of Switchyard allows for the injection of parameters into Service annotated classes via the @Properties annotation. It would be great to have this capability for non-service annotated classes. In addition, I did try and use the DeltaSpike approach (apache-deltaspike.properties in the META-INF directory and the ConfigProperty annotation). This did not work in any class. Weld complained that it could not identify a suitable candidate to inject. It appears that the complete functionality of DeltaSpike 0.3 is not available as might be expected from its inclusion in Switchyard.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jdestef John DeStefano
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: