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
import java.lang.reflect.Method; | |
import net.sf.cglib.proxy.Enhancer; | |
import net.sf.cglib.proxy.MethodInterceptor; | |
import net.sf.cglib.proxy.MethodProxy; | |
import com.google.common.base.Function; | |
import com.google.common.base.Predicate; | |
public class ReflectionMethodInterceptor implements MethodInterceptor { |
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
@Configuration | |
public class EurekaPropertySourceLocator implements PropertySourceLocator { | |
private static final Logger log = LoggerFactory | |
.getLogger(EurekaPropertySourceLocator.class); | |
@Override | |
public PropertySource<?> locate(Environment env) { | |
try { | |
String eurekaUrl = env.getProperty( |
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 dk.navicon.openmap.geotools; | |
import java.awt.Color; | |
import java.awt.Graphics2D; | |
import java.awt.GraphicsEnvironment; | |
import java.awt.Rectangle; | |
import java.awt.Transparency; | |
import java.awt.geom.Point2D; | |
import java.awt.image.BufferedImage; | |
import java.io.File; |
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 camel.routing.test; | |
import static java.util.concurrent.TimeUnit.*; | |
import static org.hamcrest.CoreMatchers.*; | |
import static org.hamcrest.MatcherAssert.*; | |
import javax.annotation.PostConstruct; | |
import org.apache.camel.CamelContext; | |
import org.apache.camel.ConsumerTemplate; |