RequiresVitalMinigames
Convenience-condition to mark a class to only be loaded as a bean, when the vital-minigames module is used. If not running with the vital-minigames module, the annotated bean will not be instantiated by Spring.
Must be used in combination with Conditional and any Component stereotype.
@Conditional(RequiresVitalMinigames.class)
@Component
public class MyVitalMinigamesBean {
// ...
}Content copied to clipboard