A lightweight InvesrionOfControl container, share and create instances of your classes with ease!
<dependency>
<groupId>io.github.mr-empee</groupId>
<artifactId>lightwire</artifactId>
<version>{version}</version>
</dependency>implementation("io.github.mr-empee:lightwire:{version}")- Initialize the IoC container inside you main class file
private final LightWire iocContainer = LightWire.of(MyBootstrapClazz.class);- Invoke the loading method to eagerly load all the classes annotated with
@LightWired
iocContainer.load();- You can look at how it is used on MysticalBarriers, one of my projects!