Details

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

      Description

      based on EXTCDI-204 it should be possible to use:

      @Bundle //without #name it will be mapped by convention
      public interface MyConfig
      {
      @Named("value1")
      public class MyValue1 implements BundleKey, MyConfig {} //not autom. resolvable

      public class Value2 extends BundleValue implements MyConfig {} //autom. resolvable
      }

      usage:

      @Inject
      private MyConfig.MyValue2 value2;

      as mentioned in the example that's esp. useful for a property file based type-safe config.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Gerhard Petracek
            Reporter:
            Gerhard Petracek
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development