winter / io.jentz.winter.inject

Package io.jentz.winter.inject

Types

Factory

interface Factory<R : Any> : (Graph) -> R

Interface implemented by factories generated by winter-compiler.

MembersInjector

interface MembersInjector<T : Any>

Interface for members injectors generated by Winter compiler.

Annotations

ApplicationScope

annotation class ApplicationScope

Scope annotation for application wide available dependencies and default qualifier for root components.

EagerSingleton

annotation class EagerSingleton

Marks a class as eager singleton scoped.

FactoryType

annotation class FactoryType

Change the factory type to one of the super types of the annotated classes.

InjectConstructor

annotation class InjectConstructor

Annotation stolen from Toothpick that tells the winter-compiler that the first and only constructor of an annotated class should be treated like it were annotated with javax.inject.Inject.

Prototype

annotation class Prototype

Marks a class as prototype scoped.