1 29 30 package com.caucho.ejb.cfg; 31 32 import com.caucho.bytecode.JMethod; 33 import com.caucho.ejb.gen.AmberIdGetter; 34 import com.caucho.ejb.gen.ViewClass; 35 import com.caucho.java.gen.BaseMethod; 36 import com.caucho.java.gen.CallChain; 37 import com.caucho.util.L10N; 38 39 42 public class CmpIdGetter extends EjbMethod { 43 private static final L10N L = new L10N(CmpIdGetter.class); 44 45 52 public CmpIdGetter(EjbView view, JMethod apiMethod, JMethod implMethod) 53 { 54 super(view, apiMethod, implMethod); 55 } 56 57 60 public BaseMethod assemble(ViewClass viewAssembler, String fullClassName) 61 { 62 BaseMethod method = new AmberIdGetter(getApiMethod(), 63 getView().getImplClass().getName()); 64 65 CallChain call = method.getCall(); 66 if (call != null) 67 method.setCall(assembleCallChain(call)); 68 69 return method; 70 } 71 } 72 | Popular Tags |