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

com.litongjava.controller.DefaultControllerFactory Maven / Gradle / Ivy

There is a newer version: 1.1.5
Show newest version
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