Package org.jboss.resource.metadata.mcf

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


         MapCompositeValueSupport mapValue = (MapCompositeValueSupport) value;        
        
         List<XAConnectionPropertyMetaData> list = new ArrayList<XAConnectionPropertyMetaData>();
         for(String name : mapValue.getMetaType().keySet())
         {
            XAConnectionPropertyMetaData prop = new XAConnectionPropertyMetaData();
            prop.setName(name);
            String svalue = (String) getMetaValueFactory().unwrap(mapValue.get(name));
            prop.setValue(svalue);
            list.add(prop);
         }
         unwrapValue = list;
      }
      else
View Full Code Here


         MapCompositeValueSupport mapValue = (MapCompositeValueSupport) value;        
        
         List<XAConnectionPropertyMetaData> list = new ArrayList<XAConnectionPropertyMetaData>();
         for(String name : mapValue.getMetaType().keySet())
         {
            XAConnectionPropertyMetaData prop = new XAConnectionPropertyMetaData();
            prop.setName(name);
            String svalue = (String) getMetaValueFactory().unwrap(mapValue.get(name));
            prop.setValue(svalue);
            list.add(prop);
         }
         unwrapValue = list;
      }
      else
View Full Code Here

/* 128 */       if (map != null)
/*     */       {
/* 130 */         list = new ArrayList();
/* 131 */         for (String name : map.keySet())
/*     */         {
/* 133 */           XAConnectionPropertyMetaData xaProp = new XAConnectionPropertyMetaData();
/* 134 */           xaProp.setName(name);
/* 135 */           xaProp.setValue((String)map.get(name));
/* 136 */           list.add(xaProp);
/*     */         }
/*     */       }
/*     */
/*     */       try
View Full Code Here

/* 106 */           Map map = (Map)getMetaValueFactory().unwrap((MetaValue)value, getMapType());
/* 107 */           List list = new ArrayList();
/* 108 */           for (String name : map.keySet())
/*     */           {
/* 110 */             String entry = (String)map.get(name);
/* 111 */             XAConnectionPropertyMetaData prop = new XAConnectionPropertyMetaData();
/* 112 */             prop.setName(name);
/* 113 */             prop.setValue(entry);
/* 114 */             list.add(prop);
/*     */           }
/* 116 */           metaValue = getMetaValueFactory().create(list, propertyInfo.getType());
/*     */         }
/*     */         else
View Full Code Here

TOP

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

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.