Skip to content

Instantly share code, notes, and snippets.

View jncorpron's full-sized avatar

Justin Corpron jncorpron

  • San Jose Bay Area, CA
View GitHub Profile
@jncorpron
jncorpron / SpringBooster.java
Created April 6, 2013 03:45
SpringBooster is a utility class for launching main method Java classes with support for the spring-test annotations for configuration. SpringBooster will also instantiate and optionally call the calling class's run() method. Also works if the payload already exists. Requires spring-test and commons-lang dependency, and optionally google-guava a…
/*
* Copyright 2010 Justin Corpron
*/
package com.javareactor.spring.util;
import java.util.Arrays;
import java.util.List;
import java.util.Set;
import org.apache.commons.lang3.Validate;