Class Helper
java.lang.Object
org.hibernate.resource.beans.internal.Helper
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
allowExtensionsInCdi
(ServiceRegistry serviceRegistry) static String
determineBeanCacheKey
(Class<?> beanType) static String
determineBeanCacheKey
(String name, Class<?> beanType) static <T> @Nullable T
getBean
(@Nullable BeanContainer beanContainer, Class<?> beanType, boolean canUseCachedReferences, boolean useJpaCompliantCreation, @Nullable Supplier<T> fallbackSupplier) static @Nullable BeanContainer
getBeanContainer
(ServiceRegistry serviceRegistry) static BeanLifecycleStrategy
getLifecycleStrategy
(boolean shouldRegistryManageLifecycle)
-
Method Details
-
determineBeanCacheKey
-
determineBeanCacheKey
-
allowExtensionsInCdi
-
getLifecycleStrategy
-
getBeanContainer
-
getBean
public static <T> @Nullable T getBean(@Nullable BeanContainer beanContainer, Class<?> beanType, boolean canUseCachedReferences, boolean useJpaCompliantCreation, @Nullable Supplier<T> fallbackSupplier)
-