Last active
May 27, 2019 13:57
-
-
Save betray32/0d274793cff54926d566d8bb0d05fcfa to your computer and use it in GitHub Desktop.
Ejecucion automática SpringBoot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package cl.testing; | |
import org.apache.commons.logging.Log; | |
import org.apache.commons.logging.LogFactory; | |
import org.springframework.boot.CommandLineRunner; | |
import org.springframework.stereotype.Repository; | |
/** | |
* HibernateTestingDao | |
* | |
* @author ccontrerasc | |
* | |
*/ | |
@Repository | |
public class HibernateTestingDao implements CommandLineRunner { | |
/** | |
* LOG | |
*/ | |
private static final Log log = LogFactory.getLog(HibernateTestingDao.class); | |
/** | |
* Ejecucion automatica | |
*/ | |
@Override | |
public void run(String... args) throws Exception { | |
log.info("Run Automatico desde [CommandLineRunner]"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment