Java 类javax.enterprise.inject.spi.ProcessProducerField 实例源码

项目:Mastering-Java-EE-Development-with-WildFly    文件:ObserverExtension.java   
<K, V> void processProducerField(@Observes ProcessProducerField<K, V> ppf) {
    logger.info("finished the scanning process");
    processProducerField++;
}
项目:wildfly-swarm    文件:MetricCdiInjectionExtension.java   
private void metricProducerField(@Observes ProcessProducerField<? extends Metric, ?> ppf) {
    LOGGER.infof("Metrics producer field discovered: %s", ppf.getAnnotatedProducerField());
    metrics.put(ppf.getBean(), ppf.getAnnotatedProducerField());
}
项目:Camel    文件:CdiCamelExtension.java   
private void beans(@Observes ProcessProducerField<?, ?> pb) {
    cdiBeans.add(pb.getBean());
}
项目:metrics-cdi    文件:MetricsExtension.java   
private void metricProducerField(@Observes ProcessProducerField<? extends Metric, ?> ppf) {
    metrics.put(ppf.getBean(), ppf.getAnnotatedProducerField());
}