Package com.avaje.ebeaninternal.server.reflect

Examples of com.avaje.ebeaninternal.server.reflect.BeanReflectProperties


    // use generated code. NB: Due to Bug 166 so now doing this for
    // abstract classes as well.

    Class<?> beanType = desc.getBeanType();

    BeanReflectProperties reflectProps = new BeanReflectProperties(beanType);
   
    BeanReflect beanReflect = reflectFactory.create(beanType);
    desc.setBeanReflect(beanReflect);
    desc.setProperties(reflectProps.getProperties());

    for (DeployBeanProperty prop : desc.propertiesAll()) {
      String propName = prop.getName();
      Integer pos = reflectProps.getPropertyIndex(propName);
      if (pos == null) {
        if (isPersistentField(prop)) {
          throw new IllegalStateException("Property "+propName+" not found in "+reflectProps);
        }
       
View Full Code Here

TOP

Related Classes of com.avaje.ebeaninternal.server.reflect.BeanReflectProperties

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.