ConditionalServiceChecker

One of the conditions required for a ConditionalService to be instantiated.

Requirement: A no-arg constructor must exist, or must be a Kotlin object.

See also

@ConditionalService

Inheritors

Functions

Link copied to clipboard
abstract fun checkServiceAvailability(serviceContainer: ServiceContainer, checkedClass: Class<*>): String?

Checks if the given class can be instantiated, if an error message is returned, the service cannot be instantiated.