Examples of containsProperty()


Examples of com.sun.enterprise.config.serverbeans.SystemPropertyBag.containsProperty()

                final String propName = (String) key;
                sysPropName = propName;
                   
                // skip create-system property requests that do not change the
                // value of an existing property
                if (spb.containsProperty(sysPropName) &&
                    spb.getSystemProperty(sysPropName).getValue().equals(properties.getProperty(propName))) {
                    continue;
                }
                ConfigSupport.apply(new SingleConfigCode<SystemPropertyBag>() {
View Full Code Here

Examples of net.sf.jasperreports.engine.JRPropertiesMap.containsProperty()

    // default to report/global property
    boolean allow = allowElementNegativeY;
    if (element.hasProperties())
    {
      JRPropertiesMap properties = element.getPropertiesMap();
      if (properties.containsProperty(PROPERTY_ALLOW_ELEMENT_NEGATIVE_Y))
      {
        // use element level property
        allow = JRProperties.asBoolean(properties.getProperty(
            PROPERTY_ALLOW_ELEMENT_NEGATIVE_Y));
      }
View Full Code Here

Examples of org.hibernate.mapping.Join.containsProperty()

      else if ( otherSideProperty.getValue() instanceof ManyToOne ) {
        Iterator it = otherSide.getJoinIterator();
        Join otherSideJoin = null;
        while ( it.hasNext() ) {
          Join otherSideJoinValue = (Join) it.next();
          if ( otherSideJoinValue.containsProperty( otherSideProperty ) ) {
            otherSideJoin = otherSideJoinValue;
            break;
          }
        }
        if ( otherSideJoin != null ) {
View Full Code Here

Examples of org.hornetq.api.core.Message.containsProperty()

         Assert.assertTrue(msg.getPropertyNames().contains(prop6));
         Assert.assertTrue(msg.getPropertyNames().contains(prop7));
         Assert.assertTrue(msg.getPropertyNames().contains(prop8));
         Assert.assertTrue(msg.getPropertyNames().contains(prop9));

         Assert.assertTrue(msg.containsProperty(prop1));
         Assert.assertTrue(msg.containsProperty(prop2));
         Assert.assertTrue(msg.containsProperty(prop3));
         Assert.assertTrue(msg.containsProperty(prop4));
         Assert.assertTrue(msg.containsProperty(prop5));
         Assert.assertTrue(msg.containsProperty(prop6));
View Full Code Here

Examples of org.hornetq.api.core.client.ClientMessage.containsProperty()

               break;
            }

            message.acknowledge();

            if (!message.containsProperty("_HQ_TOOL_original_address"))
            {
               message.putStringProperty("_HQ_TOOL_original_address", message.getAddress().toString());
            }

            LinkedList<String> listToRemove = new LinkedList<String>();
View Full Code Here

Examples of org.hornetq.core.client.impl.ClientMessageImpl.containsProperty()

         Assert.assertTrue(msg.getPropertyNames().contains(prop6));
         Assert.assertTrue(msg.getPropertyNames().contains(prop7));
         Assert.assertTrue(msg.getPropertyNames().contains(prop8));
         Assert.assertTrue(msg.getPropertyNames().contains(prop9));

         Assert.assertTrue(msg.containsProperty(prop1));
         Assert.assertTrue(msg.containsProperty(prop2));
         Assert.assertTrue(msg.containsProperty(prop3));
         Assert.assertTrue(msg.containsProperty(prop4));
         Assert.assertTrue(msg.containsProperty(prop5));
         Assert.assertTrue(msg.containsProperty(prop6));
View Full Code Here

Examples of org.hornetq.core.server.LargeServerMessage.containsProperty()

      LargeMessageEncoding messageEncoding = new LargeMessageEncoding(largeMessage);

      messageEncoding.decode(buff);

      if (largeMessage.containsProperty(Message.HDR_ORIG_MESSAGE_ID))
      {
         long originalMessageID = largeMessage.getLongProperty(Message.HDR_ORIG_MESSAGE_ID);

         LargeServerMessage originalMessage = (LargeServerMessage)messages.get(originalMessageID);
View Full Code Here

Examples of org.hornetq.core.server.LargeServerMessage.containsProperty()

      LargeMessageEncoding messageEncoding = new LargeMessageEncoding(largeMessage);

      messageEncoding.decode(buff);

      if (largeMessage.containsProperty(Message.HDR_ORIG_MESSAGE_ID))
      {
         // for compatibility: couple with old behaviour, copying the old file to avoid message loss
         long originalMessageID = largeMessage.getLongProperty(Message.HDR_ORIG_MESSAGE_ID);

         SequentialFile currentFile = createFileForLargeMessage(largeMessage.getMessageID(), true);
View Full Code Here

Examples of org.hornetq.core.server.LargeServerMessage.containsProperty()

      LargeMessageEncoding messageEncoding = new LargeMessageEncoding(largeMessage);

      messageEncoding.decode(buff);

      if (largeMessage.containsProperty(Message.HDR_ORIG_MESSAGE_ID))
      {
         long originalMessageID = largeMessage.getLongProperty(Message.HDR_ORIG_MESSAGE_ID);

         LargeServerMessage originalMessage = (LargeServerMessage)messages.get(originalMessageID);
View Full Code Here

Examples of org.hornetq.core.server.LargeServerMessage.containsProperty()

      LargeMessageEncoding messageEncoding = new LargeMessageEncoding(largeMessage);

      messageEncoding.decode(buff);

      if (largeMessage.containsProperty(Message.HDR_ORIG_MESSAGE_ID))
      {
         // for compatibility: couple with old behaviour, copying the old file to avoid message loss
         long originalMessageID = largeMessage.getLongProperty(Message.HDR_ORIG_MESSAGE_ID);

         SequentialFile currentFile = createFileForLargeMessage(largeMessage.getMessageID(), true);
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.