Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ACCESS - Enum constant in enum class net.reevik.mikron.annotation.Scope
-
A new managed object instance gets injected on access to the dependency methods.
- annotation() - Method in record class net.reevik.mikron.annotation.ManagedDefinition
-
Returns the value of the
annotation
record component. - ApplicationInitializationException - Exception Class in net.reevik.mikron.ioc
- ApplicationInitializationException(String) - Constructor for exception class net.reevik.mikron.ioc.ApplicationInitializationException
B
- beforeEach(ExtensionContext) - Method in class net.reevik.mikron.test.MikronExtension
- bind(Field, Object, Object) - Method in class net.reevik.mikron.configuration.ConfigurationBinding
- bind(Field, Object, Object) - Method in interface net.reevik.mikron.configuration.IConfigurationBinding
C
- CLASS_EXT - Static variable in class net.reevik.mikron.reflection.ClasspathResourceRepository
- ClasspathResourceRepository - Class in net.reevik.mikron.reflection
-
Repository implementation for classpath.
- clazz() - Method in record class net.reevik.mikron.annotation.ManagedDefinition
-
Returns the value of the
clazz
record component. - CleanUp - Annotation Interface in net.reevik.mikron.annotation
-
Annotation to mark methods of a managed instance, which will ve called whenever the context gets destroyed.
- close() - Method in class net.reevik.mikron.ioc.MikronContext
- configSetup() - Method in class net.reevik.mikron.ioc.ManagedInstance
- configSetup(String) - Method in class net.reevik.mikron.ioc.ManagedInstance
- Configurable - Annotation Interface in net.reevik.mikron.annotation
-
Annotation used to define configuration injection points.
- ConfigurationBinding - Class in net.reevik.mikron.configuration
- ConfigurationBinding() - Constructor for class net.reevik.mikron.configuration.ConfigurationBinding
- ConstructorInjectionPoint<T> - Class in net.reevik.mikron.ioc
- ConstructorInjectionPoint(Constructor<T>, MikronContext) - Constructor for class net.reevik.mikron.ioc.ConstructorInjectionPoint
- convert(Object) - Method in class net.reevik.mikron.configuration.DefaultTypeConverter
- convert(Object) - Method in interface net.reevik.mikron.configuration.TypeConverter
- converter() - Element in annotation interface net.reevik.mikron.annotation.Configurable
-
You can implement your own configuration to entity binding for custom data types.
- ConverterNotFoundException - Exception Class in net.reevik.mikron.configuration
- ConverterNotFoundException(String) - Constructor for exception class net.reevik.mikron.configuration.ConverterNotFoundException
D
- DEFAULT_BASE_PKG - Static variable in class net.reevik.mikron.reflection.ClasspathResourceRepository
- DefaultTypeConverter - Class in net.reevik.mikron.configuration
- DefaultTypeConverter(Class<?>) - Constructor for class net.reevik.mikron.configuration.DefaultTypeConverter
- DependencyWiringException - Exception Class in net.reevik.mikron.ioc
- DependencyWiringException(Throwable) - Constructor for exception class net.reevik.mikron.ioc.DependencyWiringException
- Dynamic - Annotation Interface in net.reevik.mikron.annotation
- DynamicWiringInvocation - Class in net.reevik.mikron.ioc
- DynamicWiringInvocation(Class<?>, MikronContext, String, String) - Constructor for class net.reevik.mikron.ioc.DynamicWiringInvocation
E
- equals(Object) - Method in record class net.reevik.mikron.annotation.ManagedDefinition
-
Indicates whether some other object is "equal to" this one.
F
- FieldInjectionPoint - Class in net.reevik.mikron.ioc
- FieldInjectionPoint(Object, Field, MikronContext) - Constructor for class net.reevik.mikron.ioc.FieldInjectionPoint
- filter() - Element in annotation interface net.reevik.mikron.annotation.Wire
-
Configuration filter to identify the properties file.
- findClassesBy(Class<T>) - Method in class net.reevik.mikron.reflection.ClasspathResourceRepository
-
Searches for annotated class instances given.
- findClassesWithFields(Class<T>, Class<R>) - Method in class net.reevik.mikron.reflection.ClasspathResourceRepository
-
Find annotated classes with annotated fields.
- findImplementingClasses(Class<?>, Class<T>) - Method in class net.reevik.mikron.reflection.ClasspathResourceRepository
- findImplementingManagedInstances(Class<?>) - Method in class net.reevik.mikron.ioc.MikronContext
-
Find and return the implementing managed instances.
G
- getConfiguration(String) - Method in class net.reevik.mikron.configuration.PropertiesRepository
- getConfiguration(String) - Method in class net.reevik.mikron.ioc.MikronContext
- getInstance() - Method in class net.reevik.mikron.ioc.ManagedInstance
- getInstance(String) - Method in class net.reevik.mikron.ioc.MikronContext
- getManagedInstanceName() - Method in class net.reevik.mikron.ioc.ManagedInstance
- getManagedInstances() - Method in class net.reevik.mikron.ioc.MikronContext
- getPropertiesRepository() - Method in class net.reevik.mikron.ioc.MikronContext
- getPropertyClassNames() - Method in class net.reevik.mikron.configuration.PropertiesRepository
H
- hashCode() - Method in record class net.reevik.mikron.annotation.ManagedDefinition
-
Returns a hash code value for this object.
I
- IConfigurationBinding - Interface in net.reevik.mikron.configuration
- IllegalManagedTypeException - Exception Class in net.reevik.mikron.ioc
- IllegalManagedTypeException(String) - Constructor for exception class net.reevik.mikron.ioc.IllegalManagedTypeException
- IllegalWiringException - Exception Class in net.reevik.mikron.ioc
- IllegalWiringException(String) - Constructor for exception class net.reevik.mikron.ioc.IllegalWiringException
- init(Class<?>) - Static method in class net.reevik.mikron.ioc.MikronContext
- Initialize - Annotation Interface in net.reevik.mikron.annotation
-
Annotation to mark methods of a managed instance, which will ve called whenever the context get builds and after the managed instance gets constructed.
- inject() - Method in class net.reevik.mikron.ioc.ConstructorInjectionPoint
- inject() - Method in class net.reevik.mikron.ioc.FieldInjectionPoint
- inject() - Method in interface net.reevik.mikron.ioc.InjectionPoint
- InjectionPoint - Interface in net.reevik.mikron.ioc
- invoke(Object, Method, Object[]) - Method in class net.reevik.mikron.ioc.DynamicWiringInvocation
- isBlank(String) - Static method in class net.reevik.mikron.string.Str
-
Returns true if the input is NOT null and doesn't contain any character other than spaces.
- isEmpty(String) - Static method in class net.reevik.mikron.string.Str
-
Returns true if the input is null or doesn't contain any character other than spaces.
- isNotEmpty(String) - Static method in class net.reevik.mikron.string.Str
-
Returns true if the input is NOT null and contains any character other than spaces.
L
- loadAllProperties() - Method in class net.reevik.mikron.configuration.PropertiesRepository
M
- main(String[]) - Static method in class net.reevik.mikron.Main
- Main - Class in net.reevik.mikron
- Main() - Constructor for class net.reevik.mikron.Main
- Managed - Annotation Interface in net.reevik.mikron.annotation
-
A managed instance, of which life cycle is under the control of the IoC microkernel.
- ManagedApplication - Annotation Interface in net.reevik.mikron.annotation
- ManagedDefinition<T> - Record Class in net.reevik.mikron.annotation
- ManagedDefinition(T, Class<?>) - Constructor for record class net.reevik.mikron.annotation.ManagedDefinition
-
Creates an instance of a
ManagedDefinition
record class. - ManagedInstance - Class in net.reevik.mikron.ioc
- ManagedInstance(Object, String, MikronContext) - Constructor for class net.reevik.mikron.ioc.ManagedInstance
- ManagedTest - Annotation Interface in net.reevik.mikron.annotation
- MatchingDependencyNotFoundException - Exception Class in net.reevik.mikron.ioc
- MatchingDependencyNotFoundException() - Constructor for exception class net.reevik.mikron.ioc.MatchingDependencyNotFoundException
- MikronContext - Class in net.reevik.mikron.ioc
-
Mikron context is the inversion-of-control container, which control the life-cycle of the mikron managed instances.
- MikronExtension - Class in net.reevik.mikron.test
- MikronExtension() - Constructor for class net.reevik.mikron.test.MikronExtension
N
- name() - Element in annotation interface net.reevik.mikron.annotation.Configurable
-
Name of the configuration in the configuration source, e.g., properties file.
- name() - Element in annotation interface net.reevik.mikron.annotation.Managed
-
Optional name of the managed instance that can be used in
Wire
annotation. - name() - Element in annotation interface net.reevik.mikron.annotation.Wire
-
Optional.
- net.reevik.mikron - package net.reevik.mikron
- net.reevik.mikron.annotation - package net.reevik.mikron.annotation
- net.reevik.mikron.configuration - package net.reevik.mikron.configuration
- net.reevik.mikron.ioc - package net.reevik.mikron.ioc
- net.reevik.mikron.reflection - package net.reevik.mikron.reflection
-
Reflection utilities.
- net.reevik.mikron.string - package net.reevik.mikron.string
-
String utility implementation.
- net.reevik.mikron.test - package net.reevik.mikron.test
O
- of(String[]) - Static method in class net.reevik.mikron.reflection.ClasspathResourceRepository
P
- packages() - Element in annotation interface net.reevik.mikron.annotation.ManagedApplication
- Prefer - Annotation Interface in net.reevik.mikron.annotation
- PropertiesRepository - Class in net.reevik.mikron.configuration
- PropertiesRepository() - Constructor for class net.reevik.mikron.configuration.PropertiesRepository
R
- register(Object, String) - Method in class net.reevik.mikron.ioc.MikronContext
-
Registers a new managed instance explicitly, which makes the context rescan the packages so that the new managed instance can be wired.
S
- SCAN_ALL - Static variable in class net.reevik.mikron.reflection.ClasspathResourceRepository
- Scope - Enum Class in net.reevik.mikron.annotation
-
Wiring scope.
- STATIC - Enum constant in enum class net.reevik.mikron.annotation.Scope
-
Static wiring happens once when the Mikron context starts.
- Str - Class in net.reevik.mikron.string
-
A string utility implementation.
- Str() - Constructor for class net.reevik.mikron.string.Str
T
- toString() - Method in record class net.reevik.mikron.annotation.ManagedDefinition
-
Returns a string representation of this record class.
- TypeConverter - Interface in net.reevik.mikron.configuration
V
- valueOf(String) - Static method in enum class net.reevik.mikron.annotation.Scope
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class net.reevik.mikron.annotation.Scope
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- wire() - Method in class net.reevik.mikron.ioc.ManagedInstance
- Wire - Annotation Interface in net.reevik.mikron.annotation
-
The annotation, which is used to mark the dependency injection point on the class fields.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form