Пример #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());
     }
   }
 }
 @After
 @Atomic
 public void tearDown() {
   logger.debug("LocalSystemTest::tearDown");
   BlendedWorkflow.getInstance().delete();
 }