Package io.avaje.inject

Avaje Inject API - see BeanScope.

Overview

1. @Singleton / @Factory

Put @Singleton on beans that we want avaje-inject to wire.

We can use @Factory/@Bean to programmatically create dependencies when they have interesting construction logic (e.g. construction depends on system/environment properties etc - like Spring @Configuration).

{@code