Package nexj.core.runtime

Examples of nexj.core.runtime.GenericSerializablePropertyMap


            instance.setValue("object", (list == null || list.isEmpty()) ? null : list.get(0));
         }
         else if (sName.equals("values"))
         {
            SerializablePropertyMap map = new GenericSerializablePropertyMap(GenericSerializablePropertyMap.LEAVE);

            map.deserializeValues((String)instance.getValue("serializedValues"), m_context);
            instance.setValue("values", map);
         }
         else if (sName.equals("objectCaption"))
         {
            StringBuffer buf = new StringBuffer(64);
View Full Code Here


                  context.setProtected(message.getBooleanProperty(JMSSender.PROTECTED));
               }

               if (message.propertyExists(JMSSender.STATE))
               {
                  GenericSerializablePropertyMap map = new GenericSerializablePropertyMap();

                  map.deserializeValues(message.getStringProperty(JMSSender.STATE), context);

                  UnitOfWork uow = context.getUnitOfWork();

                  for (PropertyIterator itr = map.getIterator(); itr.hasNext();)
                  {
                     itr.next();
                     uow.setValue(itr.getName(), itr.getValue());
                  }
               }
View Full Code Here

         String sName = attributes.getHead().toString();

         if (sName.equals("body") || sName.equals("values"))
         {
            SerializablePropertyMap map = new GenericSerializablePropertyMap(GenericSerializablePropertyMap.LEAVE);

            map.deserializeValues((String)instance.getValue("serializedValues"), m_context);
            instance.setValue("values", map);
            instance.setValue("body", map.findValue("body"));
         }
      }
   }
View Full Code Here

         context.setProtected(((Boolean)message.getValue(ObjectSender.PROTECTED)).booleanValue());
      }

      if (message.hasValue(ObjectSender.STATE))
      {
         GenericSerializablePropertyMap map = new GenericSerializablePropertyMap();

         map.deserializeValues(message.getValue(ObjectSender.STATE), context);

         UnitOfWork uow = context.getUnitOfWork();

         for (PropertyIterator itr = map.getIterator(); itr.hasNext();)
         {
            itr.next();
            uow.setValue(itr.getName(), itr.getValue());
         }
      }
View Full Code Here

TOP

Related Classes of nexj.core.runtime.GenericSerializablePropertyMap

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.