Home - this site is powered by TWiki(R)
PROBRAL/InternalArea > HealthWatcherDR (5 vs. 6)
TWiki webs: Main | TWiki | Sandbox   Log In or Register

Changes | Index | Search | Go
 <<O>>  Difference Topic HealthWatcherDR (6 - 2010-08-17 - VaidasGasiunas)
Line: 1 to 1
 
META TOPICPARENT name="CaseStudies"

Health Watcher DRs

Line: 61 to 61
 
public abstract cclass DRTransactionalMethods {
   public abstract cclass SystemFacade {
Changed:
<
<
event abstract transactionalMethod();
>
>
abstract event transactionalMethod();
  } }
Line: 169 to 169
  }

public cclass TransactionAspect {

Changed:
<
<
before() : transactionalMethod () {
>
>
transactionalMethod() => {
  getTransactionMechanism().begin();
Changed:
<
<
}

after() : transactionalMethod () {

>
>
try { proceed();
  getTransactionMechanism().commit(); }
Changed:
<
<
after() throwing(Exception e) : transactionalMethod() {
>
>
catch(Exception e) {
  getTransactionMechanism().rollback(); } } }
Added:
>
>
}
 

Problems and questions:


View | History: r6 < r5 < r4 < r3 | More

View | History: r6 < r5 < r4 < r3 | More
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback

mersin escort bayan adana escort bayan izmit escort ankara escort bursa escort