Examples of determineResolvedJndiName()


Examples of org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData.determineResolvedJndiName()

     
      // Test
      assertEquals(expected, resolved);
     
      // Test Deprecated, backwards-compat behavior (may be removed when these methods no longer exist, JBMETA-68)
      String resolvedDeprecated = beanMD.determineResolvedJndiName(KnownInterfaces.HOME, null);
      assertEquals(expected, resolvedDeprecated);
   }
  
   @SuppressWarnings(value="deprecation")
   public void testResolvedJndiNameNoBaseName()
View Full Code Here

Examples of org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData.determineResolvedJndiName()

     
      // Test
      assertEquals(expected, resolved);
     
      // Test Deprecated, backwards-compat behavior (may be removed when these methods no longer exist, JBMETA-68)
      String resolvedDeprecated = beanMD.determineResolvedJndiName(KnownInterfaces.HOME, null);
      assertEquals(expected, resolvedDeprecated);
   }
  
   /**
    * JBMETA-83
 
View Full Code Here

Examples of org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData.determineResolvedJndiName()

      // Test that the Home JNDI Name does not have a base of the mappedName (due to collisions with
      assertTrue("When depoymentScopeBaseName is equal to mappedName, JNDI Collisions occur",
            !resolvedRemoteHomeJndiName.startsWith(resolvedRemoteBusinessDefaultJndiName + "/"));
     
      // Test Deprecated, backwards-compat behavior (may be removed when these methods no longer exist, JBMETA-68)
      String resolvedDeprecated = beanMD.determineResolvedJndiName(KnownInterfaces.HOME, null);
      assertTrue(!resolvedDeprecated.startsWith(resolvedRemoteBusinessDefaultJndiName + "/"));
   }
  
   /**
    * JBMETA-86
 
View Full Code Here

Examples of org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData.determineResolvedJndiName()

      // Test that the Home JNDI Name does not have a base of the mappedName (due to collisions with
      assertTrue("When depoymentScopeBaseName is equal to jndiName, JNDI Collisions occur",
            !resolvedRemoteHomeJndiName.startsWith(resolvedRemoteBusinessDefaultJndiName + "/"));
     
      // Test Deprecated, backwards-compat behavior (may be removed when these methods no longer exist, JBMETA-68)
      String resolvedDeprecated = beanMD.determineResolvedJndiName(KnownInterfaces.HOME, null);
      assertTrue(!resolvedDeprecated.startsWith(resolvedRemoteBusinessDefaultJndiName + "/"));
   }
  
   @SuppressWarnings(value="deprecation")
   public void testResolvedJndiNameExplicitHomeBinding()
View Full Code Here

Examples of org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData.determineResolvedJndiName()

      // Test
      assertEquals(expectedRemote, resolvedRemote);
      assertEquals(expectedLocal, resolvedLocal);
     
      // Test Deprecated, backwards-compat behavior (may be removed when these methods no longer exist, JBMETA-68)
      String resolvedDeprecatedRemote = beanMD.determineResolvedJndiName(KnownInterfaces.HOME, null);
      assertEquals(expectedRemote, resolvedDeprecatedRemote);
      String resolvedDeprecatedLocal = beanMD.determineResolvedJndiName(KnownInterfaces.LOCAL_HOME, null);
      assertEquals(expectedLocal, resolvedDeprecatedLocal);
   }
  
View Full Code Here

Examples of org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData.determineResolvedJndiName()

      assertEquals(expectedLocal, resolvedLocal);
     
      // Test Deprecated, backwards-compat behavior (may be removed when these methods no longer exist, JBMETA-68)
      String resolvedDeprecatedRemote = beanMD.determineResolvedJndiName(KnownInterfaces.HOME, null);
      assertEquals(expectedRemote, resolvedDeprecatedRemote);
      String resolvedDeprecatedLocal = beanMD.determineResolvedJndiName(KnownInterfaces.LOCAL_HOME, null);
      assertEquals(expectedLocal, resolvedDeprecatedLocal);
   }
  
   /**
    * Tests that JNDI Names for an EJB packaged
View Full Code Here

Examples of org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData.determineResolvedJndiName()

      assertEquals(expectedRemote, resolvedRemote);
      assertEquals(expectedLocalHome, resolvedLocalHome);
      assertEquals(expectedLocal, resolvedLocal);
     
      // Test Deprecated, backwards-compat behavior (may be removed when these methods no longer exist, JBMETA-68)
      String resolvedDeprecatedHome = beanMD.determineResolvedJndiName(KnownInterfaces.HOME, null);
      assertEquals(expectedHome, resolvedDeprecatedHome);
      String resolvedDeprecatedRemote = beanMD.determineResolvedJndiName(KnownInterfaces.REMOTE, null);
      assertEquals(expectedRemote, resolvedDeprecatedRemote);
      String resolvedDeprecatedLocalHome = beanMD.determineResolvedJndiName(KnownInterfaces.LOCAL_HOME, null);
      assertEquals(expectedLocalHome, resolvedDeprecatedLocalHome);
View Full Code Here

Examples of org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData.determineResolvedJndiName()

      assertEquals(expectedLocal, resolvedLocal);
     
      // Test Deprecated, backwards-compat behavior (may be removed when these methods no longer exist, JBMETA-68)
      String resolvedDeprecatedHome = beanMD.determineResolvedJndiName(KnownInterfaces.HOME, null);
      assertEquals(expectedHome, resolvedDeprecatedHome);
      String resolvedDeprecatedRemote = beanMD.determineResolvedJndiName(KnownInterfaces.REMOTE, null);
      assertEquals(expectedRemote, resolvedDeprecatedRemote);
      String resolvedDeprecatedLocalHome = beanMD.determineResolvedJndiName(KnownInterfaces.LOCAL_HOME, null);
      assertEquals(expectedLocalHome, resolvedDeprecatedLocalHome);
      String resolvedDeprecatedLocal = beanMD.determineResolvedJndiName(KnownInterfaces.LOCAL, null);
      assertEquals(expectedLocal, resolvedDeprecatedLocal);
View Full Code Here

Examples of org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData.determineResolvedJndiName()

      // Test Deprecated, backwards-compat behavior (may be removed when these methods no longer exist, JBMETA-68)
      String resolvedDeprecatedHome = beanMD.determineResolvedJndiName(KnownInterfaces.HOME, null);
      assertEquals(expectedHome, resolvedDeprecatedHome);
      String resolvedDeprecatedRemote = beanMD.determineResolvedJndiName(KnownInterfaces.REMOTE, null);
      assertEquals(expectedRemote, resolvedDeprecatedRemote);
      String resolvedDeprecatedLocalHome = beanMD.determineResolvedJndiName(KnownInterfaces.LOCAL_HOME, null);
      assertEquals(expectedLocalHome, resolvedDeprecatedLocalHome);
      String resolvedDeprecatedLocal = beanMD.determineResolvedJndiName(KnownInterfaces.LOCAL, null);
      assertEquals(expectedLocal, resolvedDeprecatedLocal);
   }
View Full Code Here

Examples of org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData.determineResolvedJndiName()

      assertEquals(expectedHome, resolvedDeprecatedHome);
      String resolvedDeprecatedRemote = beanMD.determineResolvedJndiName(KnownInterfaces.REMOTE, null);
      assertEquals(expectedRemote, resolvedDeprecatedRemote);
      String resolvedDeprecatedLocalHome = beanMD.determineResolvedJndiName(KnownInterfaces.LOCAL_HOME, null);
      assertEquals(expectedLocalHome, resolvedDeprecatedLocalHome);
      String resolvedDeprecatedLocal = beanMD.determineResolvedJndiName(KnownInterfaces.LOCAL, null);
      assertEquals(expectedLocal, resolvedDeprecatedLocal);
   }

   @SuppressWarnings(value="deprecation")
   public void testResolvedJndiNameWithMappedName()
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.