MyFaces CODI
  1. MyFaces CODI
  2. EXTCDI-174

Introduce @PropertyActivated or @ConfigActivated


    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: Core
    • Labels:


      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.


        Gerhard Petracek made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Gerhard Petracek made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 1.0.0 [ 12316424 ]
        Resolution Fixed [ 1 ]
        Gerhard Petracek made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Gerhard Petracek made changes -
        Field Original Value New Value
        Assignee Mark Struberg [ struberg ] Gerhard Petracek [ gpetracek ]
        Mark Struberg created issue -


          • Assignee:
            Gerhard Petracek
            Mark Struberg
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created: