Package org.apache.aries.ejb.modelling

Examples of org.apache.aries.ejb.modelling.EJBLocator


public class EJBLocatorFactoryTest {

  @Test
  public void testGetEJBLocator() {
    EJBLocator locator = EJBLocatorFactory.getEJBLocator();
   
    assertNotNull(locator);
    assertTrue(locator.getClass().getName(), locator instanceof OpenEJBLocator);
  }
View Full Code Here


        return super.loadClass(className);
      }
     
    }.loadClass(EJBLocatorFactory.class.getName());
   
    EJBLocator locator = (EJBLocator) elf.getMethod("getEJBLocator").invoke(null);
   
    assertNotNull(locator);
    assertTrue(locator.getClass().getName(), locator instanceof EJBLocationUnavailable);
  }
View Full Code Here

 
  @Before
  public void setup() {
    modeller = new EJBModeller();

    EJBLocator locator = Skeleton.newMock(EJBLocator.class);
    modeller.setLocator(locator);
   
    ejbLocator = Skeleton.getSkeleton(locator);
   
    bundleLocation = Skeleton.newMock(IDirectory.class);
View Full Code Here

TOP

Related Classes of org.apache.aries.ejb.modelling.EJBLocator

Copyright © 2018 www.massapicom. 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.