Details
-
Type:
Enhancement
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: OAuth Core
-
Labels:None
Description
Today the @RelatedTo qualifier use an Enum type to choose the right service (i.e @RelatedTo(Service.Twitter)). This solution is too closed and could be a problem if someone need to extend the framework by adding a new Service since one need to add a value in the Service Enum type...
@RelatedTo should disapear and a new meta annotation need to be created @RelatedToService. It will be used to annotate service qualifier to help distinguish them for other qualifier.
We also need to create an extension that will create the list of service at the initialisation of CDI container.