Class BeanIntrospectionProviders
java.lang.Object
io.micronaut.core.beans.BeanIntrospectionProviders
Static registry for the provider used by
BeanIntrospector to discover introspections.- Since:
- 5.2.0
- Author:
- Denis Stepanov
-
Method Summary
Modifier and TypeMethodDescriptionstatic BeanIntrospectionsProviderget()Returns the current bean introspections provider.static voidreset()Restore the defaultBeanIntrospectionsProvider.static BeanIntrospectionsProviderset(BeanIntrospectionsProvider beanIntrospectionsProvider) Override the defaultBeanIntrospectionsProvider.
-
Method Details
-
get
Returns the current bean introspections provider.- Returns:
- The current bean introspections provider
-
set
Override the defaultBeanIntrospectionsProvider.- Parameters:
beanIntrospectionsProvider- The bean introspections provider to use- Returns:
- The previously registered provider
-
reset
public static void reset()Restore the defaultBeanIntrospectionsProvider.
-