Package jodd.petite

Examples of jodd.petite.ParamManager


   */
  public void injectContext(Target target, ScopeData[] scopeData, PetiteContainer madpc) {
    Class targetType = target.resolveType();
    String baseName = targetType.getName();

    ParamManager madvocPetiteParamManager = madpc.getParamManager();

    String[] params = madvocPetiteParamManager.resolve(baseName, true);

    for (String param : params) {
      Object value = madvocPetiteParamManager.get(param);

      String propertyName = param.substring(baseName.length() + 1);

      target.writeValue(propertyName, value, false);
    }
View Full Code Here

TOP

Related Classes of jodd.petite.ParamManager

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.