com.litongjava.controller.DefaultControllerFactory Maven / Gradle / Ivy
package com.litongjava.controller;
/**
* @author tanyaowu
*
*/
public class DefaultControllerFactory implements ControllerFactory {
public static final DefaultControllerFactory me = new DefaultControllerFactory();
/**
*
*/
private DefaultControllerFactory() {
}
@Override
public Object getInstance(Class> controllerClazz) throws Exception {
return controllerClazz.newInstance();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy