I was going to implement a few helper @Producers and I seem to have
made a mistake somewhere along the way:

RandomClass.java:
        @New
        private Logger log;


public class LogProducer {
        @Produces
        Logger createLogger(InjectionPoint injectionPoint) {
                return 
Logger.getLogger(injectionPoint.getMember().getDeclaringClass().getName());
        }
}

And I get this error:
com.caucho.config.ConfigException:
resinscratchspace.util.LogProducer.createLogger(): Type
'InjectionPoint' for method parameter #0 has no matching component.

Anyone have any ideas what that might be?


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to