glued.application.di.annotations

Undocumented in source.

Members

Enums

DefaultQuery
enum DefaultQuery

helper type to recognize autowiring by annotated target type

Structs

Autowire
struct Autowire(T = DefaultQuery)

Used to specify dependencies (field and properties that should be injected) and customize what will really be injected.

Bind
struct Bind(T)

When present on configuration method, will bind that method as provider of type defined with this annotation.

Constructor
struct Constructor

Used to specify which constructor is called when initializing new instance.

DontInject
struct DontInject

Used to indicate that annotated target should not be injected, e.g. when injecting sole constructor.

IgnoreResultBinding
struct IgnoreResultBinding

When present on configuration method, will NOT bind that method as provider of return type of that method.

PostConstruct
struct PostConstruct
Undocumented in source.
Seed
struct Seed

"existing instance that should be autowired further". If you put this on configuration method, returned instance will be considered "seed" and standard dependency injection will be performed on it.

Meta