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

es.prodevelop.pui9.model.generator.layer.ControllerLayerGenerator Maven / Gradle / Ivy

There is a newer version: 1.18.0
Show newest version
package es.prodevelop.pui9.model.generator.layer;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.mvc.method.pui9.PuiRequestMappingHandlerMapping;

import es.prodevelop.pui9.model.generator.layers.AbstractControllerLayerGenerator;

/**
 * This class represents the Controller Layer Generator, to generate all the
 * files for the PUI Server
 * 
 * @author Marc Gil - [email protected]
 */
@Component
public class ControllerLayerGenerator extends AbstractControllerLayerGenerator {

	@Autowired
	private PuiRequestMappingHandlerMapping requestMapping;

	@Override
	protected void postCreateBean(Object bean) {
		requestMapping.registerNewMapping(bean);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy