sting-ioc / sting

https://sting-ioc.github.io
Apache License 2.0
8 stars 0 forks source link

Integrate @StingProvider annotated types into auto-discovery process #10

Open realityforge opened 4 years ago

realityforge commented 4 years ago

As of v0.05, Sting will auto-discover types annotated with @Injectable. We should expand this to auto-discovering types annotated with @StingProvider. In this scenario we would load the java type, see if it is annotated with @StingProvider, load the provider type AND verify the provider type publishes a service with the same type as annotated by the @StingProvider with an empty qualifier.