A B C E I K M O P R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accept(String[]) - Method in class com.github.zhgzhg.tinydi.build.BuildTimeScan
- aggressiveEncapsulationCircumventing(boolean) - Method in class com.github.zhgzhg.tinydi.TinyDI.Config
-
Activates more aggressive encapsulation circumventing for Java version 16 or later.
- annotationType() - Method in class com.github.zhgzhg.tinydi.dynamic.RecordedAnnotation
- attachRecordedAnnotation(Supplier<Object>, Class<?>, Recorded) - Static method in class com.github.zhgzhg.tinydi.dynamic.TinyDynamicDI
-
Attaches a
Recordedinstance to non-annotated object by creating a proxy object around it.
B
- basePackages(String...) - Method in class com.github.zhgzhg.tinydi.TinyDI.Config
-
Specifies 1 or more fully-qualified base packages for recursive scanning.
- BuildTimeScan - Class in com.github.zhgzhg.tinydi.build
-
CLI utility which may be executed during build time to produce JSON file with classpath scan information.
- BuildTimeScan() - Constructor for class com.github.zhgzhg.tinydi.build.BuildTimeScan
C
- com.github.zhgzhg.tinydi - package com.github.zhgzhg.tinydi
-
Base functionality via which DI can be accomplished.
- com.github.zhgzhg.tinydi.build - package com.github.zhgzhg.tinydi.build
-
Build-time helper utilities.
- com.github.zhgzhg.tinydi.components - package com.github.zhgzhg.tinydi.components
-
DI component helpers.
- com.github.zhgzhg.tinydi.dynamic - package com.github.zhgzhg.tinydi.dynamic
-
Utilities for manual late binding of annotations to class instances.
- com.github.zhgzhg.tinydi.meta - package com.github.zhgzhg.tinydi.meta
-
Metadata attached to DI-ed components.
- com.github.zhgzhg.tinydi.meta.annotations - package com.github.zhgzhg.tinydi.meta.annotations
-
Annotation metadata customising the DI process.
- com.github.zhgzhg.tinydi.meta.enums - package com.github.zhgzhg.tinydi.meta.enums
-
Enumeration metadata constants customising the DI process.
- com.github.zhgzhg.tinydi.tinydi - module com.github.zhgzhg.tinydi.tinydi
- componentFor(Class<?>) - Method in class com.github.zhgzhg.tinydi.TinyDI
-
Returns instance of an already registered component, taking into account its instantiation scope.
- componentFor(String) - Method in class com.github.zhgzhg.tinydi.TinyDI
-
Returns instance of an already registered component, taking into account its instantiation scope.
- config() - Static method in class com.github.zhgzhg.tinydi.TinyDI
-
Provides builder class through which
TinyDIcan be configured and instantiated. - configure() - Method in class com.github.zhgzhg.tinydi.TinyDI.Config
-
Locks TinyDI's configuration and returns the configured instance.
- configureForStaticScan() - Method in class com.github.zhgzhg.tinydi.TinyDI.Config
-
Configures wrapped
TinyDIinstance for the only purpose of producing static JSON result of the scanned class path and the found elements suitable for DI. - constructorWithLocalClassLoader(Constructor<?>) - Method in class com.github.zhgzhg.tinydi.TinyDI
-
Returns a Constructor instace, that's been loaded with this component's class loader.
E
- EntryPoint - Interface in com.github.zhgzhg.tinydi.components
-
Interface marker for components which should be executed immediately after the whole dependency injection preparation process is done.
- Environment - Class in com.github.zhgzhg.tinydi.components
-
Holder of environment variables and system properties, which can be injected as a dependency.
- Environment() - Constructor for class com.github.zhgzhg.tinydi.components.Environment
-
Default constructor initializing the Environment with none CLI args
- Environment(String[]) - Constructor for class com.github.zhgzhg.tinydi.components.Environment
-
Constructor initializing the Environment with customised CLI args, and the currently detected envrironment variables, and Java properties.
- Environment(String[], Map<String, String>, Properties) - Constructor for class com.github.zhgzhg.tinydi.components.Environment
-
Constructor initializing the Environment with customised CLI args, envrironment variables and Java properties.
I
- ignoredBasePackages(String...) - Method in class com.github.zhgzhg.tinydi.TinyDI.Config
-
Specifies 1 or more fully-qualified base packages to be excluded during recursive scanning.
- ignoredClasses(String...) - Method in class com.github.zhgzhg.tinydi.TinyDI.Config
-
Specifies 1 or more fully-qualified classes to be excluded during recursive scanning.
- instantiationStrategy(Class<?>) - Method in class com.github.zhgzhg.tinydi.TinyDI
-
Returns the instantiation strategy recognized by TinyDI for a particular class.
- instantiationStrategy(Object) - Method in class com.github.zhgzhg.tinydi.TinyDI
-
Returns the instantiation strategy used by TinyDI to create an instance of a particular object.
- invoke(Object, Method, Object[]) - Method in class com.github.zhgzhg.tinydi.dynamic.TinyDynamicDI.TransparentInvocationHandler
K
- KnownAs - Annotation Type in com.github.zhgzhg.tinydi.meta.annotations
-
Qualifies the exact name of the component parameter for which DI is required.
M
- main(String[]) - Static method in class com.github.zhgzhg.tinydi.build.BuildTimeScan
-
The entry point of the BuildTimeScan utility.
- MetaBaseTinyDI - Interface in com.github.zhgzhg.tinydi.meta
-
Indicates the TinyDI's base package holding metadata managing instruments
- methodWithLocalClassLoader(Method) - Method in class com.github.zhgzhg.tinydi.TinyDI
-
Returns a Method instance, that's been loaded with this component's class loader.
O
- overrideClasspath(String...) - Method in class com.github.zhgzhg.tinydi.TinyDI.Config
-
Specifies 1 or more fully-qualified classpaths to be used during recursive scanning.
P
- PROTOTYPE - com.github.zhgzhg.tinydi.meta.enums.ScopeDI
-
A new instance of the component is created for every dependent.
R
- realClass(Object) - Static method in class com.github.zhgzhg.tinydi.dynamic.TinyDynamicDI
-
Obtains the class behind a proxy object with TinyDI's
TinyDynamicDI.TransparentInvocationHandler. - realInstance(Object) - Static method in class com.github.zhgzhg.tinydi.dynamic.TinyDynamicDI
-
Obtains the instance behind a proxy object with TinyDI's
TinyDynamicDI.TransparentInvocationHandler. - Recorded - Annotation Type in com.github.zhgzhg.tinydi.meta.annotations
-
Registers class instances as dependencies.
- RecordedAnnotation - Class in com.github.zhgzhg.tinydi.dynamic
-
Dynamic variant of the
Recordedannotation. - RecordedAnnotation() - Constructor for class com.github.zhgzhg.tinydi.dynamic.RecordedAnnotation
-
Default constructor of the pseudo @Recorded annotation instance, setting the component name to empty string, and its scope to singeton.
- records(Recorded...) - Method in class com.github.zhgzhg.tinydi.TinyDI.Config
-
Includes arbitrary, unannotated object instances for injection.
- registeredComponentClass(String) - Method in class com.github.zhgzhg.tinydi.TinyDI
-
Returns the class definition of an already registered component.
- registeredComponentName(Class<?>) - Method in class com.github.zhgzhg.tinydi.TinyDI
-
Returns the name of the first found registered component with a specific type.
- registeredComponentNames() - Method in class com.github.zhgzhg.tinydi.TinyDI
-
Returns a collection of all the registered component names.
- registerProxiedRecords(List<Recorded>) - Method in class com.github.zhgzhg.tinydi.TinyDI
-
Registers the passed @Recorded instances.
- Registrar - Annotation Type in com.github.zhgzhg.tinydi.meta.annotations
-
Indicates the classes providing
Recordedcomponents. - reloadWithLocalClassLoader(Class<?>) - Method in class com.github.zhgzhg.tinydi.TinyDI
-
Returns a Class instance, that's been loaded with this component's class loader.
- run() - Method in class com.github.zhgzhg.tinydi.TinyDI
S
- scope() - Method in class com.github.zhgzhg.tinydi.dynamic.RecordedAnnotation
- scope() - Method in annotation type com.github.zhgzhg.tinydi.meta.annotations.Recorded
-
The instantiation approach to be used during injection.
- scope() - Method in annotation type com.github.zhgzhg.tinydi.meta.annotations.Supervised
-
The instantiation approach to be used during injection.
- ScopeDI - Enum in com.github.zhgzhg.tinydi.meta.enums
-
Specifies the way the particular component will be instantiated during injection
- scopeOfProxy(Object) - Static method in class com.github.zhgzhg.tinydi.dynamic.TinyDynamicDI
-
Returns the instantiation scope of a proxied via
TinyDynamicDI.attachRecordedAnnotation(java.util.function.Supplier<java.lang.Object>, java.lang.Class<?>, com.github.zhgzhg.tinydi.meta.annotations.Recorded)instance. - SINGLETON - com.github.zhgzhg.tinydi.meta.enums.ScopeDI
-
A component is created once, and that single instance is shared within the current TinyDI execution context.
- staticScan(InputStream, String) - Method in class com.github.zhgzhg.tinydi.TinyDI.Config
-
Specifies static, serialized in JSON format classpath scan to be used during the DI process
- staticScan(String) - Method in class com.github.zhgzhg.tinydi.TinyDI.Config
-
Specifies static, serialized in JSON format classpath scan to be used during the DI process.
- Supervised - Annotation Type in com.github.zhgzhg.tinydi.meta.annotations
-
Marks the classes eligible for dependency injection.
T
- TinyDI - Class in com.github.zhgzhg.tinydi
-
The context in which dependency injection will happen.
- TinyDI.Config - Class in com.github.zhgzhg.tinydi
-
TinyDI's configuration helper.
- TinyDynamicDI - Class in com.github.zhgzhg.tinydi.dynamic
-
Helper utilities for dynamic dependency injection.
- TinyDynamicDI() - Constructor for class com.github.zhgzhg.tinydi.dynamic.TinyDynamicDI
- TinyDynamicDI.TransparentInvocationHandler - Class in com.github.zhgzhg.tinydi.dynamic
-
Helper used to associate a @
Recordedannotation implementation and an instance of an object not implementing. - TransparentInvocationHandler() - Constructor for class com.github.zhgzhg.tinydi.dynamic.TinyDynamicDI.TransparentInvocationHandler
V
- value() - Method in class com.github.zhgzhg.tinydi.dynamic.RecordedAnnotation
- value() - Method in annotation type com.github.zhgzhg.tinydi.meta.annotations.KnownAs
-
The exact name of the component to be injected.
- value() - Method in annotation type com.github.zhgzhg.tinydi.meta.annotations.Recorded
-
The name of the registered component.
- value() - Method in annotation type com.github.zhgzhg.tinydi.meta.annotations.Registrar
-
The name the annotated component which will be registered with.
- value() - Method in annotation type com.github.zhgzhg.tinydi.meta.annotations.Supervised
-
The name the annotated component which will be registered with.
- valueOf(String) - Static method in enum com.github.zhgzhg.tinydi.meta.enums.ScopeDI
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.github.zhgzhg.tinydi.meta.enums.ScopeDI
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- withEnvironment(String[], Map<String, String>, Properties) - Method in class com.github.zhgzhg.tinydi.TinyDI.Config
-
Registers custom command line arguments, environment parameters, and properties entirely substituting the detected.
All Classes All Packages