io.datakernel.di.impl.CompiledBinding Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datakernel-di Show documentation
Show all versions of datakernel-di Show documentation
DataKernel has an extremely lightweight DI with ground-breaking design principles.
It supports nested scopes, singletons, object factories, modules and plugins which
allow to transform graph of dependencies at startup time without any reflection.
The newest version!
package io.datakernel.di.impl;
import java.util.concurrent.atomic.AtomicReferenceArray;
/**
* This is defined as an abstract class and not a functional interface so that
* any anonymous class usage is compiled as a inner class and not a method with invokedynamic instruction.
* This is needed for compiled bindings to be applicable for later specialization.
*/
public interface CompiledBinding {
@SuppressWarnings("Convert2Lambda")
CompiledBinding> MISSING_OPTIONAL_BINDING = new CompiledBinding © 2015 - 2025 Weber Informatics LLC | Privacy Policy