Originally posted by Jesper Young:
That sounds like a good idea, but what would happen if you have two classes that implement the same service? Will the META-INF/<service> file be overwritten and will the order in which the classes are compiled determine which one is actually plugged in?
Actually the configuration file can contain more than two classes. It can contain as many as there are plugins out. The new Annotation is there to add each Plugin to that configuration file just for convenience.
Regards,
Darya