Package org.jboss.resource.metadata.mcf

Examples of org.jboss.resource.metadata.mcf.ManagedConnectionFactoryPropertyMetaData


         {
            // Ignore the type we've added before
            if(name.endsWith(".type"))
               continue;
           
            ManagedConnectionFactoryPropertyMetaData prop = new ManagedConnectionFactoryPropertyMetaData();
            prop.setName(name);
            String svalue = (String) getMetaValueFactory().unwrap(mapValue.get(name));
            prop.setValue(svalue);
            String nameType = name+".type";
            MetaValue typeValue = mapValue.get(nameType);
            if(typeValue != null)
            {
               String type = (String) getMetaValueFactory().unwrap(typeValue);
               prop.setType(type);
            }
            list.add(prop);
         }
         unwrapValue = list;
      }
View Full Code Here


         {
            // Ignore the type we've added before
            if(name.endsWith(".type"))
               continue;
           
            ManagedConnectionFactoryPropertyMetaData prop = new ManagedConnectionFactoryPropertyMetaData();
            prop.setName(name);
            String svalue = (String) getMetaValueFactory().unwrap(mapValue.get(name));
            prop.setValue(svalue);
            String nameType = name+".type";
            MetaValue typeValue = mapValue.get(nameType);
            if(typeValue != null)
            {
               String type = (String) getMetaValueFactory().unwrap(typeValue);
               prop.setType(type);
            }
            list.add(prop);
         }
         unwrapValue = list;
      }
View Full Code Here

/* 156 */       if (map != null)
/*     */       {
/* 158 */         list = new ArrayList();
/* 159 */         for (Map entry : map.values())
/*     */         {
/* 161 */           ManagedConnectionFactoryPropertyMetaData prop = new ManagedConnectionFactoryPropertyMetaData();
/* 162 */           prop.setName((String)entry.get("name"));
/* 163 */           prop.setValue((String)entry.get("value"));
/* 164 */           prop.setType((String)entry.get("type"));
/* 165 */           list.add(prop);
/*     */         }
/*     */       }
/*     */
/*     */       try
View Full Code Here

/* 101 */           Map map = (Map)getMetaValueFactory().unwrap((MetaValue)value, getMapType());
/* 102 */           List list = new ArrayList();
/* 103 */           for (String name : map.keySet())
/*     */           {
/* 105 */             Map entry = (Map)map.get(name);
/* 106 */             ManagedConnectionFactoryPropertyMetaData prop = new ManagedConnectionFactoryPropertyMetaData();
/* 107 */             prop.setName((String)entry.get("name"));
/* 108 */             prop.setType((String)entry.get("type"));
/* 109 */             prop.setValue((String)entry.get("value"));
/* 110 */             list.add(prop);
/*     */           }
/* 112 */           metaValue = getMetaValueFactory().create(list, propertyInfo.getType());
/*     */         }
/*     */         else
View Full Code Here

TOP

Related Classes of org.jboss.resource.metadata.mcf.ManagedConnectionFactoryPropertyMetaData

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.