Examples of ungetValue()


Examples of org.jboss.beans.metadata.spi.ValueMetaData.ungetValue()

         typeInfo = getTypeInfo();

      ValueMetaData valueMetaData = property.getValue();
      if (nullify)
      {
         Object value = valueMetaData.ungetValue(typeInfo, cl);
         if (typeInfo != null)
         {
            if (typeInfo.isPrimitive() == false)
            {
               try
View Full Code Here

Examples of org.jboss.beans.metadata.spi.ValueMetaData.ungetValue()

            {
               factory = vmd.getValue(null, cl);
            }
            finally
            {
               vmd.ungetValue(null, cl); // do cleanup call
            }
            // Get the parameters
            List<ParameterMetaData> parameters = metaData.getParameters();
            // Describe the factory
            BeanInfo factoryInfo = config.getBeanInfo(factory.getClass());
View Full Code Here

Examples of org.jboss.beans.metadata.spi.ValueMetaData.ungetValue()

      for (Iterator<ParameterMetaData> i = parameters.iterator(); i.hasNext();)
      {
         ParameterMetaData pdata = i.next();
         ValueMetaData vmd = pdata.getValue();
         if (unget)
            params[x] = vmd.ungetValue(pinfos[x], cl);
         else
            params[x] = vmd.getValue(pinfos[x], cl);
         x++;
      }
      return params;
View Full Code Here

Examples of org.jboss.beans.metadata.spi.ValueMetaData.ungetValue()

                  typeInfo = configurator.getClassInfo(signature[i], classLoader);
               }
               // typeInfo might be null, but we can still get value in some cases
               ValueMetaData vmd = pmd.getValue();
               if (unget)
                  vmd.ungetValue(typeInfo, classLoader);
               else
                  parameters[i] = vmd.getValue(typeInfo, classLoader);
            }
         }
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.