1 28 29 package com.caucho.ejb.gen; 30 31 import com.caucho.java.JavaWriter; 32 import com.caucho.java.gen.CallChain; 33 import com.caucho.java.gen.FilterCallChain; 34 import com.caucho.util.L10N; 35 36 import java.io.IOException ; 37 38 41 public class EntityHomePoolChain extends FilterCallChain { 42 private static L10N L = new L10N(EntityHomePoolChain.class); 43 44 public EntityHomePoolChain(CallChain next) 45 { 46 super(next); 47 } 48 49 57 public void generateCall(JavaWriter out, String retVar, 58 String var, String []args) 59 throws IOException 60 { 61 out.println("Bean ptr = _context._ejb_begin(trans, true, false);"); 62 63 super.generateCall(out, retVar, "ptr", args); 64 } 65 } 66 | Popular Tags |