001package org.kuali.maven.plugins.guice; 002 003import static org.kuali.common.jute.base.Precondition.checkNotNull; 004 005import javax.inject.Inject; 006 007import org.apache.maven.plugin.logging.Log; 008 009public final class HelloWorldRunnable implements Runnable { 010 011 @Inject 012 public HelloWorldRunnable(Log logger) { 013 this.logger = checkNotNull(logger, "logger"); 014 } 015 016 private final Log logger; 017 018 @Override 019 public void run() { 020 logger.info("hello world"); 021 } 022 023}