All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.datakernel.di.core.InstanceInjector Maven / Gradle / Ivy

package io.datakernel.di.core;

/**
 * This is a function which can inject instances into {@link io.datakernel.di.annotation.Inject}
 * fields and methods of some already existing object.
 * This is so-called 'post-injections' since such injections are not part of object creation.
 * 

* It has a {@link io.datakernel.di.module.DefaultModule default generator} and * can only be obtained by depending on it and then requesting it from the {@link Injector injector}. */ public interface InstanceInjector { Key key(); void injectInto(T existingInstance); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy