I have a producer, I want to put it in a jar so that my diff war files can reference the same implementation
public class LogFactory { @Produces public Logger createLogger(InjectionPoint injectionPoint) { return Logger.getLogger(injectionPoint.getMember().getDeclaringClass().getName()); } }
but now it rotates, glassfish (3.0.1) cannot automatically detect the producer method
How to fix it?
source share