Examples of MessageDestinationsMetaData


Examples of org.jboss.metadata.javaee.spec.MessageDestinationsMetaData

      }
      catch (NamingException e)
      {
         throw new RuntimeException(e);
      }
      MessageDestinationsMetaData destinations = null;
      if (metaData != null && metaData.getAssemblyDescriptor() != null)
         destinations = metaData.getAssemblyDescriptor().getMessageDestinations();
      this.deploymentUnit = deploymentUnit;
   }
View Full Code Here

Examples of org.jboss.metadata.javaee.spec.MessageDestinationsMetaData

      }
      catch (NamingException e)
      {
         throw new RuntimeException(e);
      }
      MessageDestinationsMetaData destinations = null;
      if (metaData != null && metaData.getAssemblyDescriptor() != null)
         destinations = metaData.getAssemblyDescriptor().getMessageDestinations();
      this.deploymentUnit = deploymentUnit;
   }
View Full Code Here

Examples of org.jboss.metadata.javaee.spec.MessageDestinationsMetaData

   {
      super.merge(jboss, spec);
     
      RemoteEnvironmentRefsGroupMetaData jbossEnv = null;
      RemoteEnvironmentRefsGroupMetaData specEnv = null;
      MessageDestinationsMetaData jbossMsgs = null;
      MessageDestinationsMetaData specMsgs = null;
      if(jboss != null)
      {
         if(jboss.depends != null)
            setDepends(jboss.depends);
         if(jboss.jndiName != null)
View Full Code Here

Examples of org.jboss.metadata.javaee.spec.MessageDestinationsMetaData

      assertEquals("TheOtherQueue", msg2.getLink());
      assertEquals(MessageDestinationUsageType.Consumes, msg2.getMessageDestinationUsage());
      assertEquals("queue/B", msg2.getJndiName());
      assertEquals("queue/B", msg2.getMappedName());
      // Validate message-destination
      MessageDestinationsMetaData msgDests = metaData.getMessageDestinations();
      assertEquals(1, msgDests.size());
      MessageDestinationMetaData md0 = msgDests.get("TheOtherQueue");
      assertEquals("Some msg destination needing a jboss/resource-env-ref", md0.getDescriptionGroup().getDescription());
      assertEquals("TheOtherQueue", md0.getMessageDestinationName());
      assertEquals("TheOtherQueue-id", md0.getId());
      assertEquals("queue/B", md0.getJndiName());
      assertEquals("queue/B", md0.getMappedName());     
View Full Code Here

Examples of org.jboss.metadata.javaee.spec.MessageDestinationsMetaData

         soverride = override.getServlets();
      if(original != null)
         soriginal = original.getServlets();
      servlets = JBossServletsMetaData.merge(soverride, soriginal);

      MessageDestinationsMetaData overrideMsgDests = null;
      MessageDestinationsMetaData originalMsgDests = null;
      if(override != null && override.messageDestinations!= null)
         overrideMsgDests = override.messageDestinations;
      if(original != null && original.getMessageDestinations() != null)
         originalMsgDests = original.getMessageDestinations();
      this.messageDestinations = MessageDestinationsMetaData.merge(overrideMsgDests,
View Full Code Here

Examples of org.jboss.metadata.javaee.spec.MessageDestinationsMetaData

            final EEModuleDescription eeModuleDescription = deploymentUnit.getAttachment(Attachments.EE_MODULE_DESCRIPTION);

            // process security-role(s)
            this.processSecurityRoles(assemblyDescriptor.getSecurityRoles(), ejbJarDescription);

            final MessageDestinationsMetaData destinations = assemblyDescriptor.getMessageDestinations();
            if(destinations != null) {
                processMessageDestinations(destinations, eeModuleDescription);
            }
        }
View Full Code Here

Examples of org.jboss.metadata.javaee.spec.MessageDestinationsMetaData

            final EEModuleDescription eeModuleDescription = deploymentUnit.getAttachment(Attachments.EE_MODULE_DESCRIPTION);

            // process security-role(s)
            this.processSecurityRoles(assemblyDescriptor.getSecurityRoles(), ejbJarDescription);

            final MessageDestinationsMetaData destinations = assemblyDescriptor.getMessageDestinations();
            if(destinations != null) {
                processMessageDestinations(destinations, eeModuleDescription);
            }
        }
View Full Code Here

Examples of org.jboss.metadata.javaee.spec.MessageDestinationsMetaData

         throw new RuntimeException(e);
      }
      ejbRefResolver = new EjbModuleEjbResolver(deploymentScope, unit.getShortName(), ejbContainers, this);
      persistenceUnitResolver = new EjbModulePersistenceUnitResolver(persistenceUnitDeployments, deploymentScope,
            ejbContainers);
      MessageDestinationsMetaData destinations = null;
      if (metaData != null && metaData.getAssemblyDescriptor() != null)
         destinations = metaData.getAssemblyDescriptor().getMessageDestinations();
      messageDestinationResolver = new MessageDestinationResolver(deploymentScope, destinations);
   }
View Full Code Here

Examples of org.jboss.metadata.javaee.spec.MessageDestinationsMetaData

         soverride = override.getServlets();
      if(original != null)
         soriginal = original.getServlets();
      servlets = JBossServletsMetaData.merge(soverride, soriginal);

      MessageDestinationsMetaData overrideMsgDests = null;
      MessageDestinationsMetaData originalMsgDests = null;
      if(override != null && override.messageDestinations!= null)
         overrideMsgDests = override.messageDestinations;
      if(original != null && original.getMessageDestinations() != null)
         originalMsgDests = original.getMessageDestinations();
      this.messageDestinations = MessageDestinationsMetaData.merge(overrideMsgDests,
View Full Code Here

Examples of org.jboss.metadata.javaee.spec.MessageDestinationsMetaData

      }
      catch (NamingException e)
      {
         throw new RuntimeException(e);
      }
      MessageDestinationsMetaData destinations = null;
      if (metaData != null && metaData.getAssemblyDescriptor() != null)
         destinations = metaData.getAssemblyDescriptor().getMessageDestinations();
      this.deploymentUnit = deploymentUnit;
     
      // Get the Async Invocation Processor from the Deployment
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.