@Test public void testIndirectSupports(){ String name = "abc"; assertFalse(queriesEJB.isInDB(name)); ejb.createFooIndirectlyWithEJBCallWithSupports(name); assertTrue(queriesEJB.isInDB(name)); }
public void createFooIndirectlyWithEJBCallWithSupports(String name){ EJB_08_NOT_SUPPORTED ejb = ctx.getBusinessObject(EJB_08_NOT_SUPPORTED.class); ejb.createFooSupports(name); }
EJB_08_NOT_SUPPORTED { public void createFooIndirectlyWithEJBCallWithSupports(String name){ EJB_08_NOT_SUPPORTED ejb = ctx.getBusinessObject(EJB_08_NOT_SUPPORTED.class); ejb.createFooSupports(name); } }
EJB_08_NOT_SUPPORTED { public void createFooIndirectlyWithEJBCallWithSupports(String name){ EJB_08_NOT_SUPPORTED ejb = ctx.getBusinessObject(EJB_08_NOT_SUPPORTED.class); ejb.createFooSupports(name); }  }
EJB_08_NOT_SUPPORTED { public void createFooIndirectlyWithEJBCallWithSupports(String name){ EJB_08_NOT_SUPPORTED ejb = ctx.getBusinessObject(EJB_08_NOT_SUPPORTED.class); ejb.createFooSupports(name); }  @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED) void createFooNotSupported(String name); @TransactionAttribute(TransactionAttributeType.SUPPORTS) void createFooSupports(String name); void createFooIndirectly(String name); void createFooIndirectlyWithEJBCall(String name); void createFooIndirectlyWithEJBCallWithSupports(String name); }
EJB_08_NOT_SUPPORTED { public void createFooIndirectlyWithEJBCallWithSupports(String name){ EJB_08_NOT_SUPPORTED ejb = ctx.getBusinessObject(EJB_08_NOT_SUPPORTED.class); ejb.createFooSupports(name); }  @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED) void createFooNotSupported(String name); @TransactionAttribute(TransactionAttributeType.SUPPORTS) void createFooSupports(String name); void createFooIndirectly(String name); void createFooIndirectlyWithEJBCall(String name); void createFooIndirectlyWithEJBCallWithSupports(String name);  }