Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1160

Definition of capabilities where the service return type is generic.

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Management

      Within Elytron we have the following interface: -

      public interface SecurityFactory<T> {}
      

      It is desirable to define capabilities where the generic type is specified so that as we wire together the various services we can be sure the correct SecurityFactory services are injected in the correct locations.

      As it stands our only option is going to be a runtime check so incorrectly wired SecurityFactory references will only occur late.

              Unassigned Unassigned
              darran.lofthouse@redhat.com Darran Lofthouse
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: