Injector - junkdog/artemis-odb GitHub Wiki

Injector

The injector can be customized using WorldConfiguration.setInjector prior to calling new World(). The injector determines which classes are eligible for dependency injection, and delegates to a FieldHandler to resolve the actual value for each field in a class.

Artemis provides the CachedInjector which should be useful in most cases. By configuring aIn the below example, a new world is created