The followig ready-to-use classes give you this exact extra functionality you need for your plugin manager:
The following item offer customization for the way plugins are described and detected:
If you want to build your own extensions, have a look at the following interfaces: