1 26 27 package org.objectweb.openccm.plugins.transaction.controller; 28 29 36 public class RequiresNewController 37 extends WithControlController 38 { 39 45 51 55 public 56 RequiresNewController() 57 { 58 } 59 60 66 72 78 84 public void 85 preinvoke(org.objectweb.openccm.Containers.CallContext ctx) 86 { 87 if (!no_transaction(ctx)) { 88 suspend(ctx); 89 } 90 begin(ctx); 91 } 92 93 99 public void 100 postinvoke(org.objectweb.openccm.Containers.CallContext ctx) 101 { 102 commit(ctx); 103 resume(ctx); 104 } 105 106 112 118 124 public void 125 configure(org.objectweb.openccm.Containers.PropertySet config) 126 throws org.objectweb.openccm.Containers.ConfigurationFailed 127 { 128 } 129 } 130 | Popular Tags |