Examples of MessageDestinationsMetaData


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

      mergeModuleName(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

      }
      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

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

      }
      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

         Map<String, String> endpointAlternateMap,
         boolean trace)
   {
      String vfsPath = unit.getRelativePath();
      JBossMetaData ejbMetaData = unit.getAttachment(JBossMetaData.class);
      MessageDestinationsMetaData msgDestinations = null;
      ClassLoader loader = unit.getClassLoader();
      if(ejbMetaData != null)
      {
         msgDestinations = ejbMetaData.getAssemblyDescriptor().getMessageDestinations();
         mapMessageDestinations(vfsPath, msgDestinations, endpointMap, endpointAlternateMap, loader, trace);
View Full Code Here

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

      if (log.isTraceEnabled())
         log.trace("Found appropriate DeploymentUnit: " + targetUnit);

      MessageDestinationMetaData md = null;
      MessageDestinationsMetaData mds = null;
      if (targetUnit.getAttachment(JBossMetaData.class) != null)
      {
         JBossMetaData appMD = targetUnit.getAttachment(JBossMetaData.class);
         mds = appMD.getAssemblyDescriptor().getMessageDestinations();
         md = mds.get(destinationName);
      }
      if (targetUnit.getAttachment(JBossWebMetaData.class) != null)
      {
         JBossWebMetaData webMD = targetUnit.getAttachment(JBossWebMetaData.class);
         mds = webMD.getMessageDestinations();
         md = mds.get(destinationName);
      }

      if(md == null)
      {
         log.warn("DeploymentUnit " + targetUnit + " is not an EJB .jar " + "file!");
View Full Code Here

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

      if (log.isTraceEnabled())
         log.trace("Resolving absolute link, di: " + unit);

      // Search current DeploymentUnit
      MessageDestinationMetaData md = null;
      MessageDestinationsMetaData mds = null;
      if (unit.getAttachment(JBossMetaData.class) != null)
      {
         JBossMetaData appMD = unit.getAttachment(JBossMetaData.class);
         mds = appMD.getAssemblyDescriptor().getMessageDestinations();
         if(mds != null)
         {
            searched.addAll(mds);
            md = mds.get(link);
            if (md != null)
               return md;
         }
      }

      if (unit.getAttachment(JBossWebMetaData.class) != null)
      {
         JBossWebMetaData webMD = unit.getAttachment(JBossWebMetaData.class);
         mds = webMD.getMessageDestinations();
         if(mds != null)
         {
            searched.addAll(mds);
            md = mds.get(link);
            if (md != null)
               return md;
         }
      }
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

      catch (NamingException e)
      {
         throw new RuntimeException(e);
      }
      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
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.