Hi All ,
Was wondering on the usage of the marker interface . Rather than Classes extending a interface would it not be good feature if Marker interface could follow the Dependency Injection path .
For ex : if a user wants a class to behave a marker implementation it could be added as part of the constructor restricting the usage to the sudden class rather.This would rather provide a control on whether a subclass requires to be marked as well .
Any suggestion on the same .