Class ConfigPropertyProducer
- java.lang.Object
-
- fish.payara.microprofile.config.cdi.ConfigPropertyProducer
-
public class ConfigPropertyProducer extends Object
This class is used as the template for synthetic beans when creating a bean for each converter type registered in the Config- Author:
- Steve Millidge (Payara Foundation)
-
-
Constructor Summary
Constructors Constructor Description ConfigPropertyProducer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Object
getGenericProperty(jakarta.enterprise.inject.spi.InjectionPoint ip)
General producer method for injecting a property into a field annotated with the @ConfigProperty annotation.static Object
getGenericPropertyFromModel(ConfigPropertyModel property)
-
-
-
Method Detail
-
getGenericProperty
@Dependent public static final Object getGenericProperty(jakarta.enterprise.inject.spi.InjectionPoint ip)
General producer method for injecting a property into a field annotated with the @ConfigProperty annotation. Note this does not have @Produces annotation as a synthetic bean using this method is created in the CDI Extension.- Parameters:
ip
-- Returns:
-
getGenericPropertyFromModel
public static final Object getGenericPropertyFromModel(ConfigPropertyModel property)
-
-