// ConfigurationsExtension is our Extension class within which all this activity is taking place. | |
final AnnotatedType<ConfigurationsExtension> thisType = beanManager.createAnnotatedType(ConfigurationsExtension.class); | |
final AnnotatedMethod<? super ConfigurationsExtension> producerMethod = thisType.getMethods().stream() | |
.filter(m -> m.getJavaMember().getName().equals("produceConfigurationValue")) | |
.findFirst() | |
.get(); | |
final BeanAttributes<?> producerAttributes = beanManager.createBeanAttributes(producerMethod); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment