Uploaded image for project: 'MyFaces CODI'
  1. MyFaces CODI
  2. EXTCDI-174

Introduce @PropertyActivated or @ConfigActivated

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • Core
    • None

    Description

      While at JAX, I got pretty often asked if there is a way to configure <alternatives> automatically via configuration. I pointed them to @ProjectStageActivated and this solved 60% of the problems.
      But there are pretty often more complex scenarios where users like to switch between e.g. database vendors based on an external configuration.

      This could e.g. be a normal java properties file and something like

      @PropertyActivated("user.databyse", "mysql")
      

      where the first parameter is the name and the 2nd is the value which must be set.

      Please add further ideas for ways to change those configurations.

      The actual implementation should be trivial as we have most of the work done already in ProjectStageActivationExtension.

      Attachments

        Activity

          People

            gpetracek Gerhard Petracek
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: