We don't really have an API to express that something has to be enabled. For instance, Spring Data repositories may require some information about the data store. It could be some requirement interface that the application should provide.
When such implementation isn't present, or do not provide the necessary information, contributors may decide to fail hard or disable itself.