コード例 #1
0
 @Atomic(mode = TxMode.WRITE)
 private void getBWInstances() {
   for (BWSpecification bwSpecification : BlendedWorkflow.getInstance().getSpecificationSet()) {
     for (BWInstance bwInstance : bwSpecification.getBwInstancesSet()) {
       this.bwInstances.addItem(bwInstance.getExternalId());
       this.bwInstances.setItemCaption(bwInstance.getExternalId(), bwInstance.getName());
     }
   }
 }
コード例 #2
0
 @After
 @Atomic
 public void tearDown() {
   logger.debug("LocalSystemTest::tearDown");
   BlendedWorkflow.getInstance().delete();
 }