<K, V> void processProducerField(@Observes ProcessProducerField<K, V> ppf) { logger.info("finished the scanning process"); processProducerField++; }
private void metricProducerField(@Observes ProcessProducerField<? extends Metric, ?> ppf) { LOGGER.infof("Metrics producer field discovered: %s", ppf.getAnnotatedProducerField()); metrics.put(ppf.getBean(), ppf.getAnnotatedProducerField()); }
private void beans(@Observes ProcessProducerField<?, ?> pb) { cdiBeans.add(pb.getBean()); }
private void metricProducerField(@Observes ProcessProducerField<? extends Metric, ?> ppf) { metrics.put(ppf.getBean(), ppf.getAnnotatedProducerField()); }