Package-level declarations

Functions

Link copied to clipboard
inline fun <T> buildAndStart(): ApplicationContext
inline fun <T> buildAndStart(vararg propertySources: PropertySource): ApplicationContext

Top level function acting as a Kotlin shortcut allowing to write buildAndStart<Foo>(mapOf("foo" to "bar")) instead of ApplicationContext.build(Foo::class.java)propertySources(propSource).start().

inline fun <T> buildAndStart(vararg environments: String): ApplicationContext

Top level function acting as a Kotlin shortcut allowing to write buildAndStart<Foo>("env") instead of ApplicationContext.build(Foo::class.java, "env").start().

inline fun <T> buildAndStart(propertySource: PropertySource, vararg environments: String): ApplicationContext

Top level function acting as a Kotlin shortcut allowing to write buildAndStart<Foo>("env") instead of ApplicationContext.build(Foo::class.java, "env").propertySources(propSource).start().

inline fun <T> buildAndStart(properties: Map<String, Any?>, vararg environments: String): ApplicationContext

Top level function acting as a Kotlin shortcut allowing to write buildAndStart<Foo>("env") instead of ApplicationContext.build(mapOf("foo" to "bar"), "env").mainClass(Foo::class.java).start().

Link copied to clipboard
inline operator fun <T : Any, Q : Annotation> BeanDefinitionRegistry.contains(t: Pair<KClass<T>, KClass<Q>>): Boolean

Extension for BeanDefinitionRegistry.containsBean providing a (Foo::class to Prototype::class) in registry variant.

operator fun BeanDefinitionRegistry.contains(t: KClass<out Any>): Boolean

Extension for BeanDefinitionRegistry.containsBean providing a Foo::class in registry variant.

Link copied to clipboard
inline fun <T> BeanDefinitionRegistry.containsBean(): Boolean

Extension for BeanDefinitionRegistry.containsBean providing a containsBean<Foo>() variant.

Link copied to clipboard
inline fun <T, Q : Annotation> BeanDefinitionRegistry.containsStereotypedBean(): Boolean
inline fun <T> BeanDefinitionRegistry.containsStereotypedBean(name: String): Boolean

Extension for BeanDefinitionRegistry.containsBean providing a containsStereotypedBean<Foo, Bar>() variant.

Link copied to clipboard
inline fun <T> BeanContext.createBean(): T

Extension for BeanContext.createBean providing a createBean<Foo>() variant.

inline fun <T> BeanContext.createBean(vararg args: Any): T
inline fun <T> BeanContext.createBean(argumentValues: Map<String, Any>): T

Extension for BeanContext.createBean providing a createBean<Foo>(args) variant.

Link copied to clipboard
inline fun <T, Q : Annotation> BeanContext.createStereotypedBean(): T

Extension for BeanContext.createBean providing a createStereotypedBean<Foo, Bar>() variant.

inline fun <T, Q : Annotation> BeanContext.createStereotypedBean(vararg args: Any): T
inline fun <T, Q : Annotation> BeanContext.createStereotypedBean(argumentValues: Map<String, Any>): T

Extension for BeanContext.createBean providing a createStereotypedBean<Foo, Bar>(args) variant.

Link copied to clipboard
inline fun <T> BeanContext.destroyBean(): T?

Extension for BeanContext.destroyBean providing a destroyBean<Foo>() variant.

Link copied to clipboard
inline fun <T> BeanLocator.findBean(): T?

Extension for BeanLocator.findBean providing a findBean<Foo>() variant.

Link copied to clipboard
inline fun <T> BeanDefinitionRegistry.findBeanDefinition(): BeanDefinition<T>?

Extension for BeanDefinitionRegistry.findBeanDefinition providing a findBeanDefinition<Bar>() variant.

Link copied to clipboard
inline fun <T> BeanLocator.findOrInstantiateBean(): T?

Extension for BeanLocator.findOrInstantiateBean providing a findOrInstantiateBean<Foo>() variant.

Link copied to clipboard
inline fun <T, Q : Annotation> BeanDefinitionRegistry.findProxyBeanDefinition(): BeanDefinition<T>?

Extension for BeanDefinitionRegistry.findProxyBeanDefinition providing a findProxyBeanDefinition<Foo, Bar>() variant.

Link copied to clipboard
inline fun <T, Q : Annotation> BeanDefinitionRegistry.findProxyTargetBeanDefinition(): BeanDefinition<T>?

Extension for BeanDefinitionRegistry.findProxyTargetBeanDefinition providing a findProxyTargetBeanDefinition<Foo, Bar>() variant.

Link copied to clipboard
inline fun <T, Q : Annotation> BeanLocator.findStereotypedBean(): T?

Extension for BeanLocator.findBean providing a findStereotypedBean<Foo, Bar>() variant.

Link copied to clipboard
inline fun <T, Q : Annotation> BeanDefinitionRegistry.findStereotypedBeanDefinition(): BeanDefinition<T>?

Extension for BeanDefinitionRegistry.findBeanDefinition providing a findStereotypedBeanDefinition<Foo, Bar>() variant.

Link copied to clipboard
inline fun <T> BeanDefinitionRegistry.getActiveBeanRegistrations(): Collection<BeanRegistration<T>>

Extension for BeanDefinitionRegistry.getActiveBeanRegistrations providing a getActiveBeanRegistrations<Foo>() variant.

Link copied to clipboard
inline fun <T> BeanLocator.getBean(): T

Extension for BeanLocator.getBean providing a getBean<Foo>() variant.

inline fun <T> BeanLocator.getBean(name: String): T

Extension for BeanLocator.getBean providing a getBean<Foo>(name) variant.

Link copied to clipboard
inline fun <T> BeanDefinitionRegistry.getBeanDefinition(): BeanDefinition<T>

Extension for BeanDefinitionRegistry.getBeanDefinition providing a getBeanDefinition<Bar>() variant.

Link copied to clipboard
inline fun <T> BeanDefinitionRegistry.getBeanDefinitions(): Collection<BeanDefinition<T>>

Extension for BeanDefinitionRegistry.getBeanDefinitions providing a getBeanDefinitions<Foo>() variant.

Link copied to clipboard
inline fun <T> BeanDefinitionRegistry.getBeanRegistrations(): Collection<BeanRegistration<T>>

Extension for BeanDefinitionRegistry.getBeanRegistrations providing a getBeanRegistrations<Foo>() variant.

Link copied to clipboard
inline fun <T> BeanLocator.getBeansOfType(): Collection<T>

Extension for BeanLocator.getBeansOfType providing a getBeansOfType<Foo>() variant.

Link copied to clipboard
inline fun <T, Q : Annotation> BeanLocator.getProxyTargetBean(): T

Extension for BeanLocator.getProxyTargetBean providing a getProxyTargetBean<Foo, Bar>() variant.

Link copied to clipboard
inline fun <T, Q : Annotation> BeanDefinitionRegistry.getProxyTargetBeanDefinition(): BeanDefinition<T>

Extension for BeanDefinitionRegistry.getProxyTargetBeanDefinition providing a getProxyTargetBeanDefinition<Foo, Bar>() variant.

Link copied to clipboard
inline fun <Q : Annotation> BeanDefinitionRegistry.getStereotypedActiveBeanRegistrations(): Collection<BeanRegistration<out Any>>

Extension for BeanDefinitionRegistry.getActiveBeanRegistrations providing a getStereotypedActiveBeanRegistrations<Bar>() variant.

Link copied to clipboard
inline fun <T, Q : Annotation> BeanLocator.getStereotypedBean(): T

Extension for BeanLocator.getBean providing a getStereotypedBean<Foo, Bar>() variant.

Link copied to clipboard
inline fun <T, Q : Annotation> BeanDefinitionRegistry.getStereotypedBeanDefinition(): BeanDefinition<T>

Extension for BeanDefinitionRegistry.getBeanDefinition providing a getStereotypedBeanDefinition<Foo, Bar>() variant.

Link copied to clipboard
inline fun <Q : Annotation> BeanDefinitionRegistry.getStereotypedBeanDefinitions(): Collection<BeanDefinition<out Any>>

Extension for BeanDefinitionRegistry.getBeanDefinitions providing a getStereotypedBeanDefinitions<Bar>() variant.

Link copied to clipboard
inline fun <T, Q : Annotation> BeanLocator.getStereotypedBeansOfType(): Collection<T>

Extension for BeanLocator.getBeansOfType providing a getStereotypedBeansOfType<Foo, Bar>() variant.

Link copied to clipboard
inline fun <T, BT : BeanType<T>> Qualifier<T>.qualify(candidates: Stream<BT>): BT?

Extension for Qualifier.qualify providing a qualify<Foo>(candidates) variant.

Link copied to clipboard
inline fun <T, BT : BeanType<T>> Qualifier<T>.reduce(candidates: Stream<BT>): Stream<BT>

Extension for Qualifier.reduce providing a reduce<Foo>(candidates) variant.

Link copied to clipboard
inline fun <T : Any> BeanDefinitionRegistry.registerNotStereotypedSingleton(singleton: T): BeanDefinitionRegistry

Extension for BeanDefinitionRegistry.registerSingleton providing a registerNotStereotypedSingleton<Foo>(singleton) variant.

Link copied to clipboard
inline fun <T : Any, Q : Annotation> BeanDefinitionRegistry.registerStereotypedSingleton(singleton: T): BeanDefinitionRegistry
inline fun <T : Any> BeanDefinitionRegistry.registerStereotypedSingleton(singleton: T, name: String): BeanDefinitionRegistry

Extension for BeanDefinitionRegistry.registerSingleton providing a registerStereotypedSingleton<Foo, Bar>(singleton) variant.

inline fun <T : Any, Q : Annotation> BeanDefinitionRegistry.registerStereotypedSingleton(singleton: T, inject: Boolean): BeanDefinitionRegistry
inline fun <T : Any> BeanDefinitionRegistry.registerStereotypedSingleton(singleton: T, name: String, inject: Boolean): BeanDefinitionRegistry

Extension for BeanDefinitionRegistry.registerSingleton providing a registerStereotypedSingleton<Foo, Bar>(singleton, true) variant.

Link copied to clipboard
inline fun <T : AutoCloseable> run(vararg environments: String): T

Top level function acting as a Kotlin shortcut allowing to write run<Foo>("env") instead of ApplicationContext.run(Foo::class.java, "env").

inline fun <T : AutoCloseable> run(propertySource: PropertySource, vararg environments: String): T
inline fun <T : AutoCloseable> run(properties: Map<String, Any?>, vararg environments: String): T

Top level function acting as a Kotlin shortcut allowing to write run<Foo>(props, "env") instead of ApplicationContext.run(Foo::class.java, props, "env").

Link copied to clipboard
inline fun <T, Q : Annotation> BeanLocator.sequenceOfStereotypedType(): Sequence<T>

Extension for BeanLocator.streamOfType providing a sequenceOfStereotypedType<Foo, Bar>() variant.

Link copied to clipboard
inline fun <T> BeanLocator.sequenceOfType(): Sequence<T>

Extension for BeanLocator.streamOfType providing a sequenceOfType<Foo>() variant.

Link copied to clipboard
inline fun <T, Q : Annotation> BeanLocator.streamOfStereotypedType(): Stream<T>

Extension for BeanLocator.streamOfType providing a streamOfStereotypedType<Foo, Bar>() variant.

Link copied to clipboard
inline fun <T> BeanLocator.streamOfType(): Stream<T>

Extension for BeanLocator.streamOfType providing a streamOfType<Foo>() variant.