6667686970717273747576
} } catch (NamingException e) { throw e; } finally { serviceDaemon.stop(); OpenEJB.destroy(); } } }
8687888990919293949596
assertBindings(context.listBindings("")); assertBindings(context.listBindings("ejb")); } finally { serviceDaemon.stop(); OpenEJB.destroy(); } }
96979899100101102103104105106
assertNotNull(client); final OutputNotSerializable out = client.call(new InputNotSerilizable("cloud")); assertEquals("cloud", out.name); } finally { serviceDaemon.stop(); OpenEJB.destroy(); } } @Remote
142143144145146147148149150151152
} final boolean await = latch.await(60, TimeUnit.SECONDS); assertTrue(await); } finally { serviceDaemon.stop(); OpenEJB.destroy(); } } public static void thread(final Runnable runnable, final boolean daemon) {
949596979899100101102103104
final AnInterfaceRemote client = AnInterfaceRemote.class.cast(context.lookup("RemoteWithSecurityRemote")); assertNotNull(client); assertEquals("foo", client.call()); } finally { serviceDaemon.stop(); OpenEJB.destroy(); } } @Remote