Package-level declarations

Types

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class BConfiguration

No-op annotation to mark a class / object as containing service factories.

Link copied to clipboard

Marks this class as a service, or this function as a service factory. Can be added on your own annotation.

Link copied to clipboard
annotation class Condition(val type: KClass<out CustomConditionChecker<*>>, val fail: Boolean = false)

Meta-annotation for custom conditions.

Link copied to clipboard

Marks a service as being available under certain conditions.

Link copied to clipboard

Marks a service as requiring other services.

Link copied to clipboard

Removes the specified types a service would have been registered as.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class InjectedService

No-op annotation marking a class as an injected service.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class InterfacedService(val acceptMultiple: Boolean)

Marker annotation on interfaces intended to be implemented by a service.

Link copied to clipboard

Defines a service provider as being lazy.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class MissingServiceMessage(val message: String)

Defines a message to display when a service of that type has no provider.

Link copied to clipboard
Link copied to clipboard

Marks this class as a parameter resolver.
This is a specialization of @BService for parameter resolvers.

Link copied to clipboard

Marks this class as a parameter resolver factory.
This is a specialization of @BService for parameter resolver factories.

Link copied to clipboard

Sets the priority of this service.

Link copied to clipboard

Adds additional types to register this service as.