Uses of Interface
eu.cloudnetservice.driver.inject.InjectionLayer
Packages that use InjectionLayer
Package
Description
-
Uses of InjectionLayer in eu.cloudnetservice.driver.event
Fields in eu.cloudnetservice.driver.event declared as InjectionLayerModifier and TypeFieldDescriptionprivate final InjectionLayer<?>DefaultRegisteredEventListener.injectionLayerMethods in eu.cloudnetservice.driver.event with parameters of type InjectionLayerModifier and TypeMethodDescriptionprotected @NonNull EventManagerDefaultEventManager.registerListener(@NonNull InjectionLayer<?> layer, @NonNull Object listener) Registers all methods in the given listener class which are annotated withEventListenerand are taking only one argument with a subtype ofEvent.Constructors in eu.cloudnetservice.driver.event with parameters of type InjectionLayerModifierConstructorDescription(package private)DefaultRegisteredEventListener(@NonNull Object instance, @NonNull Method targetMethod, @NonNull EventListener eventListener, @NonNull InjectionLayer<?> injectionLayer) Constructs a new default registered event listener instance. -
Uses of InjectionLayer in eu.cloudnetservice.driver.inject
Classes in eu.cloudnetservice.driver.inject that implement InjectionLayerModifier and TypeClassDescription(package private) final recordDefaultInjectionLayer<I extends dev.derklaro.aerogel.Injector>The default implementation for of an injector layer.(package private) final recordUncloseableInjectionLayer<I extends dev.derklaro.aerogel.Injector>An injection layer which delegates all calls to the parent layer, but throwing an exception if there is a try to close the layer.Fields in eu.cloudnetservice.driver.inject declared as InjectionLayerModifier and TypeFieldDescriptionprivate static InjectionLayer<dev.derklaro.aerogel.Injector>InjectionLayerProvider.bootprivate static InjectionLayer<dev.derklaro.aerogel.Injector>InjectionLayerProvider.extprivate final @NonNull InjectionLayer<I>UncloseableInjectionLayer.parentThe field for theparentrecord component.Fields in eu.cloudnetservice.driver.inject with type parameters of type InjectionLayerModifier and TypeFieldDescriptionprivate final Collection<eu.cloudnetservice.common.tuple.Tuple2<Object,InjectionLayer<? extends dev.derklaro.aerogel.Injector>>> InjectionLayerRegistry.knownLayersMethods in eu.cloudnetservice.driver.inject that return InjectionLayerModifier and TypeMethodDescriptionDefaultInjectionLayer.asUncloseable()Makes this injection layer not closeable, returning the same layer if it is already not closeable.InjectionLayer.asUncloseable()Makes this injection layer not closeable, returning the same layer if it is already not closeable.UncloseableInjectionLayer.asUncloseable()Makes this injection layer not closeable, returning the same layer if it is already not closeable.static @NonNull InjectionLayer<dev.derklaro.aerogel.Injector>InjectionLayer.boot()Returns the singleton boot injection layer.static @NonNull InjectionLayer<dev.derklaro.aerogel.Injector>InjectionLayerProvider.boot()Get the singleton boot injection layer.static @NonNull InjectionLayer<dev.derklaro.aerogel.Injector>InjectionLayer.child(@NonNull InjectionLayer<dev.derklaro.aerogel.Injector> parent, @NonNull String name) Constructs a new child layer for the given parent layer.static @NonNull InjectionLayer<dev.derklaro.aerogel.Injector>InjectionLayerProvider.child(@NonNull InjectionLayer<dev.derklaro.aerogel.Injector> parent, @NonNull String name) Constructs a new child layer for the given parent layer.static @NonNull InjectionLayer<dev.derklaro.aerogel.Injector>InjectionLayerProvider.configuredLayer(@NonNull String name, @NonNull Consumer<InjectionLayer<dev.derklaro.aerogel.Injector>> configurator) Provides a fresh injection layer, with no bindings configured to the returned injector.private static <I extends dev.derklaro.aerogel.Injector>
@NonNull InjectionLayer<I>InjectionLayerProvider.configuredLayer(@NonNull String name, I injector, @NonNull Consumer<InjectionLayer<I>> configurator) Provides a fresh injection layer, with no bindings configured to the returned injector.static @NonNull InjectionLayer<dev.derklaro.aerogel.Injector>InjectionLayer.ext()Returns the singleton injection layer which should be used for all kinds of external component injection (like plugins).static @NonNull InjectionLayer<dev.derklaro.aerogel.Injector>InjectionLayerProvider.ext()Returns the singleton injection layer which should be used for all kinds of external component injection (like plugins).@Nullable InjectionLayer<? extends dev.derklaro.aerogel.Injector>InjectionLayerRegistry.findByHint(@Nullable Object hint) Finds the first layer which is exactly associated with the given hint (as defined by the operator==).static @NonNull InjectionLayer<?>InjectionLayer.findLayerOf(@NonNull Object object) Finds the injection layer associated with the given object or returns the defaultext()injection layer.static @NonNull InjectionLayer<?>InjectionLayer.findLayerOf(@NonNull Object object, @NonNull InjectionLayer<?> def) Finds the injection layer associated with the given object or returns the given default injection layer.static @NonNull InjectionLayer<?>InjectionLayerProvider.findLayerOf(@NonNull Object object, @NonNull InjectionLayer<?> def) Finds the injection layer associated with the given object or returns the given default injection layer.static @NonNull InjectionLayer<dev.derklaro.aerogel.Injector>Provides a fresh injection layer, with no bindings configured to the returned injector, except for a binding to the layer itself with the provided name.static @NonNull InjectionLayer<dev.derklaro.aerogel.Injector>Provides a fresh injection layer, with no bindings configured to the returned injector, except for a binding to the layer itself with the provided name.InjectionLayerHolder.injectionLayer()Get the injection layer associated with this holder.UncloseableInjectionLayer.parent()Returns the value of theparentrecord component.Registers this injection layer to the injection layer registry.Registers this injection layer to the injection layer registry.Registers this injection layer to the injection layer registry.static @NonNull InjectionLayer<dev.derklaro.aerogel.SpecifiedInjector>InjectionLayer.specifiedChild(@NonNull InjectionLayer<? extends dev.derklaro.aerogel.Injector> parent, @NonNull String name, @NonNull BiConsumer<InjectionLayer<dev.derklaro.aerogel.SpecifiedInjector>, dev.derklaro.aerogel.SpecifiedInjector> configurator) Constructs a new child layer for the given parent layer.static @NonNull InjectionLayer<dev.derklaro.aerogel.SpecifiedInjector>InjectionLayerProvider.specifiedChild(@NonNull InjectionLayer<? extends dev.derklaro.aerogel.Injector> parent, @NonNull String name, @NonNull BiConsumer<InjectionLayer<dev.derklaro.aerogel.SpecifiedInjector>, dev.derklaro.aerogel.SpecifiedInjector> configurator) Constructs a new child layer for the given parent layer.Methods in eu.cloudnetservice.driver.inject with parameters of type InjectionLayerModifier and TypeMethodDescriptionstatic @NonNull InjectionLayer<dev.derklaro.aerogel.Injector>InjectionLayer.child(@NonNull InjectionLayer<dev.derklaro.aerogel.Injector> parent, @NonNull String name) Constructs a new child layer for the given parent layer.static @NonNull InjectionLayer<dev.derklaro.aerogel.Injector>InjectionLayerProvider.child(@NonNull InjectionLayer<dev.derklaro.aerogel.Injector> parent, @NonNull String name) Constructs a new child layer for the given parent layer.voidBootLayerConfigurator.configureBootLayer(@NonNull InjectionLayer<?> bootLayer) Configures the boot injection layer.InjectUtil.findAllInstances(@NonNull InjectionLayer<?> layer, @NonNull dev.derklaro.aerogel.Element[] elements) Finds all instances that are requested by the given element array in the given injection layer.InjectUtil.findAllInstances(@NonNull InjectionLayer<?> layer, @NonNull dev.derklaro.aerogel.Element[] elements, int offset) Finds all instances that are requested by the given element array in the given injection layer.static @NonNull InjectionLayer<?>InjectionLayer.findLayerOf(@NonNull Object object, @NonNull InjectionLayer<?> def) Finds the injection layer associated with the given object or returns the given default injection layer.static @NonNull InjectionLayer<?>InjectionLayerProvider.findLayerOf(@NonNull Object object, @NonNull InjectionLayer<?> def) Finds the injection layer associated with the given object or returns the given default injection layer.private static voidInjectionLayerProvider.registerBindings(@NonNull InjectionLayer<?> layer, @NonNull dev.derklaro.aerogel.Element mainElement, @NonNull String name, @NonNull BiConsumer<InjectionLayer<?>, dev.derklaro.aerogel.binding.BindingConstructor> registerFunction) voidInjectionLayerRegistry.registerLayer(@NonNull InjectionLayer<? extends dev.derklaro.aerogel.Injector> layer, @NonNull Object... hints) Registers to this registry and maps the given hints to the layer.static @NonNull InjectionLayer<dev.derklaro.aerogel.SpecifiedInjector>InjectionLayer.specifiedChild(@NonNull InjectionLayer<? extends dev.derklaro.aerogel.Injector> parent, @NonNull String name, @NonNull BiConsumer<InjectionLayer<dev.derklaro.aerogel.SpecifiedInjector>, dev.derklaro.aerogel.SpecifiedInjector> configurator) Constructs a new child layer for the given parent layer.static @NonNull InjectionLayer<dev.derklaro.aerogel.SpecifiedInjector>InjectionLayerProvider.specifiedChild(@NonNull InjectionLayer<? extends dev.derklaro.aerogel.Injector> parent, @NonNull String name, @NonNull BiConsumer<InjectionLayer<dev.derklaro.aerogel.SpecifiedInjector>, dev.derklaro.aerogel.SpecifiedInjector> configurator) Constructs a new child layer for the given parent layer.voidInjectionLayerRegistry.unregisterLayer(@NonNull InjectionLayer<?> layer) Unregisters all hints that were associated with the given layer.Method parameters in eu.cloudnetservice.driver.inject with type arguments of type InjectionLayerModifier and TypeMethodDescriptionstatic @NonNull InjectionLayer<dev.derklaro.aerogel.Injector>InjectionLayerProvider.configuredLayer(@NonNull String name, @NonNull Consumer<InjectionLayer<dev.derklaro.aerogel.Injector>> configurator) Provides a fresh injection layer, with no bindings configured to the returned injector.private static <I extends dev.derklaro.aerogel.Injector>
@NonNull InjectionLayer<I>InjectionLayerProvider.configuredLayer(@NonNull String name, I injector, @NonNull Consumer<InjectionLayer<I>> configurator) Provides a fresh injection layer, with no bindings configured to the returned injector.private static voidInjectionLayerProvider.registerBindings(@NonNull InjectionLayer<?> layer, @NonNull dev.derklaro.aerogel.Element mainElement, @NonNull String name, @NonNull BiConsumer<InjectionLayer<?>, dev.derklaro.aerogel.binding.BindingConstructor> registerFunction) static @NonNull InjectionLayer<dev.derklaro.aerogel.SpecifiedInjector>InjectionLayer.specifiedChild(@NonNull InjectionLayer<? extends dev.derklaro.aerogel.Injector> parent, @NonNull String name, @NonNull BiConsumer<InjectionLayer<dev.derklaro.aerogel.SpecifiedInjector>, dev.derklaro.aerogel.SpecifiedInjector> configurator) Constructs a new child layer for the given parent layer.static @NonNull InjectionLayer<dev.derklaro.aerogel.SpecifiedInjector>InjectionLayerProvider.specifiedChild(@NonNull InjectionLayer<? extends dev.derklaro.aerogel.Injector> parent, @NonNull String name, @NonNull BiConsumer<InjectionLayer<dev.derklaro.aerogel.SpecifiedInjector>, dev.derklaro.aerogel.SpecifiedInjector> configurator) Constructs a new child layer for the given parent layer.Constructors in eu.cloudnetservice.driver.inject with parameters of type InjectionLayerModifierConstructorDescription(package private)UncloseableInjectionLayer(@NonNull InjectionLayer<I> parent) Creates an instance of aUncloseableInjectionLayerrecord class. -
Uses of InjectionLayer in eu.cloudnetservice.driver.module
Fields in eu.cloudnetservice.driver.module declared as InjectionLayerModifier and TypeFieldDescriptionprotected final InjectionLayer<?>DefaultModuleTaskEntry.injectionLayerprotected final InjectionLayer<dev.derklaro.aerogel.SpecifiedInjector>ModuleURLClassLoader.injectionLayerprivate final InjectionLayer<dev.derklaro.aerogel.SpecifiedInjector>DefaultModuleWrapper.moduleInjectionLayerMethods in eu.cloudnetservice.driver.module that return InjectionLayerModifier and TypeMethodDescription@NonNull InjectionLayer<dev.derklaro.aerogel.SpecifiedInjector>DefaultModuleWrapper.injectionLayer()Get the injection layer which was used while creating this module instance and is used to inject module tasks.@NonNull InjectionLayer<dev.derklaro.aerogel.SpecifiedInjector>ModuleURLClassLoader.injectionLayer()Get the injection layer associated with this holder.@NonNull InjectionLayer<dev.derklaro.aerogel.SpecifiedInjector>ModuleWrapper.injectionLayer()Get the injection layer which was used while creating this module instance and is used to inject module tasks.Constructors in eu.cloudnetservice.driver.module with parameters of type InjectionLayerModifierConstructorDescriptionDefaultModuleWrapper(@NonNull URL source, @NonNull Module module, @NonNull Path dataDirectory, @NonNull ModuleProvider provider, @NonNull URLClassLoader classLoader, @NonNull Set<ModuleDependency> dependingModules, @NonNull ModuleConfiguration moduleConfiguration, @NonNull InjectionLayer<dev.derklaro.aerogel.SpecifiedInjector> moduleInjectionLayer) Creates a new instance of a default module wrapper.ModuleURLClassLoader(@NonNull URL moduleFileUrl, @NonNull Set<URL> moduleDependencyUrls, @NonNull InjectionLayer<dev.derklaro.aerogel.SpecifiedInjector> injectionLayer) Creates an instance of this FinalizeURLClassLoader. -
Uses of InjectionLayer in eu.cloudnetservice.driver.module.driver
Methods in eu.cloudnetservice.driver.module.driver with parameters of type InjectionLayerModifier and TypeMethodDescription<C,T> T DriverModule.readConfigAndInstantiate(@NonNull InjectionLayer<?> injectionLayer, @NonNull Class<C> configModelType, @NonNull Supplier<C> defaultConfigFactory, @NonNull Class<T> classToInstantiate, @NonNull DocumentFactory documentFactory) Reads the module configuration file and converts the type of the configuration to the given model type, creating the configuration if necessary.<C,T> T DriverModule.readConfigAndInstantiate(@NonNull InjectionLayer<?> injectionLayer, @NonNull Class<C> configModelType, @NonNull Supplier<C> defaultConfigFactory, @NonNull Class<T> classToInstantiate, @NonNull Consumer<dev.derklaro.aerogel.InjectionContext.Builder> builderDecorator, @NonNull DocumentFactory documentFactory) Reads the module configuration file and converts the type of the configuration to the given model type, creating the configuration if necessary. -
Uses of InjectionLayer in eu.cloudnetservice.driver.network.rpc.defaults.object
Methods in eu.cloudnetservice.driver.network.rpc.defaults.object with parameters of type InjectionLayerModifier and TypeMethodDescriptionvoidObjectMapperInjectRegistration.configureBootLayer(@NonNull InjectionLayer<?> bootLayer) Configures the boot injection layer. -
Uses of InjectionLayer in eu.cloudnetservice.driver.registry
Constructors in eu.cloudnetservice.driver.registry with parameters of type InjectionLayer