Package org.jboss.metadata.javaee.spec

Examples of org.jboss.metadata.javaee.spec.EnvironmentRefsGroupMetaData.merge()


     
      //Env
      EnvironmentRefsGroupMetaData environmentRefsGroup = new EnvironmentRefsGroupMetaData();
      Environment xmlEnv = xml != null ? xml.getJndiEnvironmentRefsGroup() : null;
      Environment annEnv = annotation != null ? annotation.getJndiEnvironmentRefsGroup() : null;
      environmentRefsGroup.merge(xmlEnv,annEnv, "", "", false);
      merged.setJndiEnvironmentRefsGroup(environmentRefsGroup);
     
      //Message Destinations
      MessageDestinationsMetaData messageDestinations = new MessageDestinationsMetaData();
      messageDestinations.merge(xml.getMessageDestinations(), annotation.getMessageDestinations());
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.