IgnoreServiceTypes

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

This may be useful if you extend/implement an interfaced service but don't want it to be retrieved as such.

Spring note: This annotation has no effect when using Spring, you will need to use @Primary on the service you'll want to inject by default.

See also

@InterfacedService

@BService

Properties

Link copied to clipboard
@get:JvmName(name = "value")
val types: Array<out KClass<*>>