All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.webpieces.templatingdev.impl.DevTemplateCompileCallback Maven / Gradle / Ivy

There is a newer version: 2.1.109
Show newest version
package org.webpieces.templatingdev.impl;

import java.util.List;

import org.codehaus.groovy.tools.GroovyClass;
import org.webpieces.templatingdev.api.CompileCallback;

import groovy.lang.GroovyClassLoader;

public class DevTemplateCompileCallback implements CompileCallback {

	@Override
	public void compiledGroovyClass(GroovyClassLoader cl, GroovyClass groovyClass) {
		cl.defineClass(groovyClass.getName(), groovyClass.getBytes());	
	}
	
	@Override
	public void recordRouteId(String routeId, List argNames, String sourceLocation) {
	}

	@Override
	public void recordPath(String relativeUrlPath, String sourceLocation) {
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy