Basic examples on cdi and beans validation

This commit is contained in:
2015-04-30 01:33:05 +02:00
commit 23bf95316c
31 changed files with 878 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
package general;
import javax.enterprise.inject.Produces;
import java.util.logging.Logger;
public class LoggingProducer {
@Produces
public Logger produceLogger() {
return Logger.getLogger("xglogger");
}
}