Package org.jboss.deployment.dependency

Examples of org.jboss.deployment.dependency.ContainerDependencyMetaData.addJndiName()


               JBossSessionBeanMetaData sbean = (JBossSessionBeanMetaData) bean;
               String ejbName = sbean.getEjbName();
               // home
               if(sbean.getHome() != null && sbean.getHome().length() > 0)
               {
                  cdmd.addJndiName(sbean.determineResolvedJndiName(KnownInterfaces.HOME));
                  // Add ejb/vfsPath@iface
                  String home = sbean.getHome();
                  String ifacePath = prefix + "@" + home;
                  if(endpointAlternateMap.containsKey(ifacePath))
                     log.debug(ejbName+" duplicates home: "+home+", existing: "+endpointAlternateMap.get(ifacePath));
View Full Code Here


               if(sbean.getRemote() != null && sbean.getRemote().length() > 0)
               {
                  // Add ejb/vfsPath@iface
                  String remote = sbean.getRemote();
                  String remoteJndiName = sbean.determineJndiName();
                  cdmd.addJndiName(remoteJndiName);
                  String ifacePath = prefix + "@" + remote;
                  if(endpointAlternateMap.containsKey(ifacePath))
                     log.debug(ejbName+" duplicates remote: "+remote+", existing: "+endpointAlternateMap.get(ifacePath));
                  else
                  {
View Full Code Here

                  }
               }
               // local-home
               if(sbean.getLocalHome() != null && sbean.getLocalHome().length() > 0)
               {
                  cdmd.addJndiName(sbean.determineResolvedJndiName(KnownInterfaces.LOCAL_HOME));
                  // Add ejb/vfsPath@iface
                  String local = sbean.getLocalHome();
                  String ifacePath = prefix + "@" + local;
                  if(endpointAlternateMap.containsKey(ifacePath))
                     log.debug(ejbName+" duplicates local-home: "+local+", existing: "+endpointAlternateMap.get(ifacePath));
View Full Code Here

               if(sbean.getLocal() != null && sbean.getLocal().length() > 0)
               {
                  // Add ejb/vfsPath@iface
                  String local = sbean.getLocal();
                  String localJndiName = sbean.determineLocalJndiName();
                  cdmd.addJndiName(localJndiName);
                  String ifacePath = prefix + "@" + local;
                  if(endpointAlternateMap.containsKey(ifacePath))
                     log.debug(ejbName+" duplicates local: "+local+", existing: "+endpointAlternateMap.get(ifacePath));
                  else
                  {
View Full Code Here

               BusinessLocalsMetaData locals = sbean.getBusinessLocals();
               if(locals != null && locals.size() > 0)
               {
                  String localBaseJndiName = sbean.determineResolvedJndiName(KnownInterfaces.LOCAL);
                  cdmd.addJndiName(localBaseJndiName);
                  for(String local : locals)
                  {
                     // Add a targeted jndi name
                     String localJndiName = sbean.determineResolvedJndiName(local);
                     cdmd.addJndiName(localJndiName);
View Full Code Here

                  cdmd.addJndiName(localBaseJndiName);
                  for(String local : locals)
                  {
                     // Add a targeted jndi name
                     String localJndiName = sbean.determineResolvedJndiName(local);
                     cdmd.addJndiName(localJndiName);
                     // Add ejb/vfsPath@iface
                     String ifacePath = prefix + "@" + local;
                     if(endpointAlternateMap.containsKey(ifacePath))
                        log.debug(ejbName+" duplicates business local: "+local+", existing: "+endpointAlternateMap.get(ifacePath));
                     else
View Full Code Here

               }
               BusinessRemotesMetaData remotes = sbean.getBusinessRemotes();
               if(remotes != null && remotes.size() > 0)
               {
                  String remoteBaseJndiName = sbean.determineResolvedJndiName(KnownInterfaces.REMOTE);
                  cdmd.addJndiName(remoteBaseJndiName);
                  for(String remote : remotes)
                  {
                     // Add a targeted jndi name
                     String remoteJndiName = sbean.determineResolvedJndiName(remote);
                     cdmd.addJndiName(remoteJndiName);
View Full Code Here

                  cdmd.addJndiName(remoteBaseJndiName);
                  for(String remote : remotes)
                  {
                     // Add a targeted jndi name
                     String remoteJndiName = sbean.determineResolvedJndiName(remote);
                     cdmd.addJndiName(remoteJndiName);
                     // Add ejb/vfsPath/iface
                     String ifacePath = prefix + "@" + remote;
                     if(endpointAlternateMap.containsKey(ifacePath))
                        log.debug(ejbName+" duplicates business remote: "+remote+", existing: "+endpointAlternateMap.get(ifacePath));
                     else
View Full Code Here

               JBossEntityBeanMetaData ebean = (JBossEntityBeanMetaData) bean;
               String ejbName = ebean.getEjbName();
               // home
               if(ebean.getHome() != null && ebean.getHome().length() > 0)
               {
                  cdmd.addJndiName(ebean.determineResolvedJndiName(KnownInterfaces.HOME));
                  // Add ejb/vfsPath@iface
                  String home = ebean.getHome();
                  String ifacePath = prefix + "@" + home;
                  if(endpointAlternateMap.containsKey(ifacePath))
                     log.debug(ejbName+" duplicates home: "+home+", existing: "+endpointAlternateMap.get(ifacePath));
View Full Code Here

                  }
               }
               // local-home
               if(ebean.getLocalHome() != null && ebean.getLocalHome().length() > 0)
               {
                  cdmd.addJndiName(ebean.determineResolvedJndiName(KnownInterfaces.LOCAL_HOME));
                  // Add ejb/vfsPath@iface
                  String local = ebean.getLocalHome();
                  String ifacePath = prefix + "@" + local;
                  if(endpointAlternateMap.containsKey(ifacePath))
                     log.debug(ejbName+" duplicates local-home: "+local+", existing: "+endpointAlternateMap.get(ifacePath));
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.