Examples of reference()


Examples of org.jboss.messaging.core.plugin.contract.MessageStore.reference()

      TextMessage m3 = (TextMessage)cons.receive();
     
      assertNotNull(m3);
      assertEquals(m.getText(), m3.getText());
     
      ref = store.reference(((MessageProxy)m3).getMessage().getMessageID());
      assertEquals(((MessageProxy)m).getMessage().getMessageID(), ref.getMessage().getMessageID());
     
      ref.releaseMemoryReference();
     
      sess.commit();
View Full Code Here

Examples of org.jboss.messaging.core.plugin.contract.MessageStore.reference()

     
      ref.releaseMemoryReference();
     
      sess.commit();
     
      ref = store.reference(((MessageProxy)m2).getMessage().getMessageID());
      assertNull(ref);
     
      conn.close();
   }
  
View Full Code Here

Examples of org.jboss.messaging.core.plugin.contract.MessageStore.reference()

      assertNotNull(m6);
      assertEquals(m1.getText(), m6.getText());
     
      m6.acknowledge();
     
      MessageReference ref = store.reference(((MessageProxy)m2).getMessage().getMessageID());
     
      assertNull(ref);
     
      conn.close();
   }
View Full Code Here

Examples of org.jpos.tlv.ISOMsgRef.reference()

        tagValueSequence.add(new LiteralTagValue("0170", "1-800-555-1212"));

        ISOMsg field48 = new ISOMsg(48);
        tagValueSequence.writeTo(field48);
        ISOMsgRef isoMsgRef = new ISOMsgRef(field48);
        msg.set(isoMsgRef.reference(48));

        msg.set(isoMsgRef.reference(62));

        msg.recalcBitMap();
View Full Code Here

Examples of org.jpos.tlv.ISOMsgRef.reference()

        ISOMsg field48 = new ISOMsg(48);
        tagValueSequence.writeTo(field48);
        ISOMsgRef isoMsgRef = new ISOMsgRef(field48);
        msg.set(isoMsgRef.reference(48));

        msg.set(isoMsgRef.reference(62));

        msg.recalcBitMap();

        GenericPackager packager = new GenericPackager(new FileInputStream("build/resources/test/org/jpos/tlv/tagged-sequence-packager.xml"));
        msg.setPackager(packager);
View Full Code Here

Examples of org.jvnet.hk2.config.Attribute.reference()

            d.setField(DESC_DEFAULT_VALUE, a.defaultValue());
        }

        d.setField(DESC_KEY, a.key());
        d.setField(DESC_REQUIRED, a.required());
        d.setField(DESC_REFERENCE, a.reference());
        d.setField(DESC_VARIABLE_EXPANSION, a.variableExpansion());
        d.setField(DESC_DATA_TYPE, info.inferDataType().getName());

        return d;
    }
View Full Code Here

Examples of org.jvnet.hk2.config.Attribute.reference()

            d.setField(DESC_DEFAULT_VALUE, a.defaultValue());
        }

        d.setField(DESC_KEY, a.key());
        d.setField(DESC_REQUIRED, a.required());
        d.setField(DESC_REFERENCE, a.reference());
        d.setField(DESC_VARIABLE_EXPANSION, a.variableExpansion());
        d.setField(DESC_DATA_TYPE, info.inferDataType().getName());

        return d;
    }
View Full Code Here

Examples of org.jvnet.hk2.config.Attribute.reference()

            d.setField(DESC_DEFAULT_VALUE, a.defaultValue());
        }

        d.setField(DESC_KEY, a.key());
        d.setField(DESC_REQUIRED, a.required());
        d.setField(DESC_REFERENCE, a.reference());
        d.setField(DESC_VARIABLE_EXPANSION, a.variableExpansion());
        d.setField(DESC_DATA_TYPE, info.inferDataType().getName());

        return d;
    }
View Full Code Here

Examples of org.newdawn.slick.svg.Gradient.reference()

        gradient.setY2(Float.parseFloat(lin.getAttribute("y2")));
      }
     
      String ref = lin.getAttributeNS("http://www.w3.org/1999/xlink", "href");
      if (stringLength(ref) > 0) {
        gradient.reference(ref.substring(1));
        toResolve.add(gradient);
      } else {
        NodeList steps = lin.getElementsByTagName("stop");
        for (int j=0;j<steps.getLength();j++) {
          Element s = (Element) steps.item(j);
View Full Code Here

Examples of org.newdawn.slick.svg.Gradient.reference()

        gradient.setR(Float.parseFloat(rad.getAttribute("r")));
      }
     
      String ref = rad.getAttributeNS("http://www.w3.org/1999/xlink", "href");
      if (stringLength(ref) > 0) {
        gradient.reference(ref.substring(1));
        toResolve.add(gradient);
      } else {
        NodeList steps = rad.getElementsByTagName("stop");
        for (int j=0;j<steps.getLength();j++) {
          Element s = (Element) steps.item(j);
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.