Package play.utils.dyn

Examples of play.utils.dyn.DynamicRestController


  @SuppressWarnings({ "unchecked", "rawtypes" })
  protected ControllerProxy<?, ?> getDynamicController(Class<?> keyType, Class<?> modelType, ModelMetadata model) {
    ControllerProxy<?, ?> proxy = dynamicRestControllers.get(modelType);
    if (proxy == null) {
      DynamicRestController dynController = new DynamicRestController(model);
      proxy = new ControllerProxyREST(dynController, model);
      dynamicRestControllers.put(modelType, proxy);
    }
    return proxy;
  }
View Full Code Here

TOP

Related Classes of play.utils.dyn.DynamicRestController

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.