Why does DrillConfig(...) use StoragePluginConfigBase instead of StoragePluginConfig in the following?:
mapper.registerSubtypes(StoragePluginConfigBase.getSubTypes(this)) It seems that, at least normally, we'd want to define that a storage plugin configuration class needs to implement some specific interface, but doesn't need to extend any specific class. However, this code seems to indicate that a storage plugin configuration class must extend a specific class. Can the mapper's registerSubtypes use the interface, or is it the case that it works only for classes and therefore any storage plugin configuration class must extend StoragePluginConfigBase? Thanks, Daniel -- Daniel Barclay MapR Technologies