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