Examples of resolveMessageDestination()


Examples of org.jboss.as.ee.component.EEApplicationDescription.resolveMessageDestination()

    public void resolve(final DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException {

        final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit();
        final EEApplicationDescription applicationDescription = deploymentUnit.getAttachment(EE_APPLICATION_DESCRIPTION);
        final ResourceRoot deploymentRoot = deploymentUnit.getAttachment(Attachments.DEPLOYMENT_ROOT);
        final Set<String> names = applicationDescription.resolveMessageDestination(messageDestinationName, deploymentRoot.getRoot());

        if (names.isEmpty()) {
            error = EeMessages.MESSAGES.noMessageDestination(messageDestinationName, bindingName);
            return;
        }
View Full Code Here

Examples of org.jboss.as.ee.component.EEApplicationDescription.resolveMessageDestination()

    public void resolve(final DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException {

        final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit();
        final EEApplicationDescription applicationDescription = deploymentUnit.getAttachment(EE_APPLICATION_DESCRIPTION);
        final ResourceRoot deploymentRoot = deploymentUnit.getAttachment(Attachments.DEPLOYMENT_ROOT);
        final Set<String> names = applicationDescription.resolveMessageDestination(messageDestinationName, deploymentRoot.getRoot());

        if (names.isEmpty()) {
            error = EeLogger.ROOT_LOGGER.noMessageDestination(messageDestinationName, bindingName);
            return;
        }
View Full Code Here

Examples of org.jboss.ejb3.Ejb3Deployment.resolveMessageDestination()

         {
            log.warn("Can't find a deployment for path '" + relativePath + "' of message destination link '" + link + "'");
            return null;
         }
         String name = link.substring(hashIndex + 1);
         return dep.resolveMessageDestination(name);
      }
      String jndiName = getMessageDestinationJNDIName(link);
      if(jndiName != null)
         return jndiName;
      for(Ejb3Deployment dep : deploymentScope.getEjbDeployments())
View Full Code Here

Examples of org.jboss.ejb3.Ejb3Deployment.resolveMessageDestination()

      String jndiName = getMessageDestinationJNDIName(link);
      if(jndiName != null)
         return jndiName;
      for(Ejb3Deployment dep : deploymentScope.getEjbDeployments())
      {
         jndiName = dep.resolveMessageDestination(link);
         if(jndiName != null)
            return jndiName;
      }
      log.warn("Can't find a message destination for link '" + link + "' anywhere");
      return null;
View Full Code Here

Examples of org.jboss.ejb3.Ejb3Deployment.resolveMessageDestination()

         {
            log.warn("Can't find a deployment for path '" + relativePath + "' of message destination link '" + link + "'");
            return null;
         }
         String name = link.substring(hashIndex + 1);
         return dep.resolveMessageDestination(name);
      }
      String jndiName = getMessageDestinationJNDIName(link);
      if(jndiName != null)
         return jndiName;
      for(Ejb3Deployment dep : deploymentScope.getEjbDeployments())
View Full Code Here

Examples of org.jboss.ejb3.Ejb3Deployment.resolveMessageDestination()

/*     */       {
/*  89 */         log.warn("Can't find a deployment for path '" + relativePath + "' of message destination link '" + link + "'");
/*  90 */         return null;
/*     */       }
/*  92 */       String name = link.substring(hashIndex + 1);
/*  93 */       return dep.resolveMessageDestination(name);
/*     */     }
/*  95 */     String jndiName = getMessageDestinationJNDIName(link);
/*  96 */     if (jndiName != null)
/*  97 */       return jndiName;
/*  98 */     for (Ejb3Deployment dep : this.deploymentScope.getEjbDeployments())
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.