dain        2005/05/08 15:37:15

  Modified:    modules/openejb-builder/src/test/org/openejb/deployment/slsb
                        StatelessClientContainerTest.java
  Log:

  Added KernelFactory for pluggable kernel
  Kernel is now an interface
  Moved Kernel implementation  to basic kernel
  Converted JMX registry and config manager to plain old gbeans (they do not 
require special access to the kernel)
  Magic attributes such as state and enabled are now accessed via kernel methods
  Use of getAttribute and invoke for magic attributes and state transition is 
now deprecated
  Cleaned up cruft in GBean infos such as declaration of non existent attributes
  Upgraded to newest CGLIB, asm, and commons-collections
  
  Revision  Changes    Path
  1.6       +8 -8      
openejb/modules/openejb-builder/src/test/org/openejb/deployment/slsb/StatelessClientContainerTest.java
  
  Index: StatelessClientContainerTest.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb/modules/openejb-builder/src/test/org/openejb/deployment/slsb/StatelessClientContainerTest.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- StatelessClientContainerTest.java 15 Apr 2005 05:36:54 -0000      1.5
  +++ StatelessClientContainerTest.java 8 May 2005 19:37:15 -0000       1.6
  @@ -79,7 +79,7 @@
       private EJBContainer container;
   
       public void testMetadata() throws Exception {
  -        EJBMetaData metaData = container.getEJBHome().getEJBMetaData();
  +        EJBMetaData metaData = container.getEjbHome().getEJBMetaData();
           assertTrue(metaData.isSession());
           assertTrue(metaData.isStatelessSession());
           assertEquals(MockHome.class, metaData.getHomeInterfaceClass());
  @@ -104,7 +104,7 @@
       }
   
       public void testHomeInterface() throws Exception {
  -        MockHome home = (MockHome) container.getEJBHome();
  +        MockHome home = (MockHome) container.getEjbHome();
           assertTrue(home.create() instanceof MockRemote);
           try {
               home.remove(new Integer(1));
  @@ -136,7 +136,7 @@
       public MockEJB mockEJB2;
   
       public void testRemove() throws Throwable {
  -        MockLocalHome home = (MockLocalHome) container.getEJBLocalHome();
  +        MockLocalHome home = (MockLocalHome) container.getEjbLocalHome();
           final MockLocal mock1 = home.create();
           Thread waiter = new Thread("Waiter") {
               public void run() {
  @@ -157,7 +157,7 @@
       }
   
       public void testLocalHomeInterface() {
  -        MockLocalHome localHome = (MockLocalHome) 
container.getEJBLocalHome();
  +        MockLocalHome localHome = (MockLocalHome) 
container.getEjbLocalHome();
           try {
               localHome.remove(new Integer(1));
               fail("Expected RemoveException, but no exception was thrown");
  @@ -171,7 +171,7 @@
       }
   
       public void testObjectInterface() throws Exception {
  -        MockHome home = (MockHome) container.getEJBHome();
  +        MockHome home = (MockHome) container.getEjbHome();
           MockRemote remote = home.create();
           assertTrue(remote.isIdentical(remote));
           assertTrue(remote.isIdentical(home.create()));
  @@ -189,7 +189,7 @@
       }
   
       public void testLocalInterface() throws Exception {
  -        MockLocalHome localHome = (MockLocalHome) 
container.getEJBLocalHome();
  +        MockLocalHome localHome = (MockLocalHome) 
container.getEjbLocalHome();
           MockLocal local = localHome.create();
           assertTrue(local.isIdentical(local));
           assertTrue(local.isIdentical(localHome.create()));
  @@ -207,7 +207,7 @@
       }
   
       public void testInvocation() throws Exception {
  -        MockHome home = (MockHome) container.getEJBHome();
  +        MockHome home = (MockHome) container.getEjbHome();
           MockRemote remote = home.create();
           assertEquals(2, remote.intMethod(1));
           try {
  
  
  

Reply via email to