Interface AttributeConverterProvider
@Internal
public interface AttributeConverterProvider
Intended to support different implementation of attribute converters like JPA's 'jakarta.persistence.AttributeConverter'.
- Since:
- 3.1
- Author:
- Denis Stepanov
-
Method Summary
Modifier and TypeMethodDescriptionProvide an instance of passed converter type class.boolean
Does support providing an instance of this converter class.
-
Method Details
-
provide
AttributeConverter<Object,Object> provide(io.micronaut.context.BeanLocator beanLocator, Class<?> converterType) Provide an instance of passed converter type class.- Parameters:
beanLocator
- The bean locatorconverterType
- The converter type- Returns:
- the type converter represented by this converter type
-
supports
Does support providing an instance of this converter class.- Parameters:
converterType
- The converter class.- Returns:
- true if supports
-