Class BeanInstanceRegistry
java.lang.Object
tech.guilhermekaua.spigotboot.core.context.dependency.registry.BeanInstanceRegistry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Map<BeanDefinition,Object> voidclear()booleancontains(@NotNull BeanDefinition definition) @Nullable Objectget(@NotNull BeanDefinition definition) <T> Tget(@NotNull BeanDefinition definition, @NotNull Class<T> castTo) <T> @NotNull List<T>getInstancesByType(@NotNull Class<T> type) voidput(@NotNull BeanDefinition definition, @NotNull Object instance)
-
Constructor Details
-
BeanInstanceRegistry
public BeanInstanceRegistry()
-
-
Method Details
-
contains
-
get
-
get
@Nullable public <T> T get(@NotNull @NotNull BeanDefinition definition, @NotNull @NotNull Class<T> castTo) -
put
-
asMapView
-
getInstancesByType
-
clear
public void clear()
-