1 29 30 package com.caucho.ejb.cfg; 31 32 import com.caucho.bytecode.JMethod; 33 import com.caucho.ejb.gen.CollectionSetter; 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 CmpCollectionSetter extends EjbMethod { 42 private static final L10N L = new L10N(CmpCollectionSetter.class); 43 44 51 public CmpCollectionSetter(EjbView view, 52 JMethod apiMethod, 53 JMethod implMethod) 54 { 55 super(view, apiMethod, implMethod); 56 } 57 58 61 public BaseMethod assemble(ViewClass viewAssembler, String fullClassName) 62 { 63 BaseMethod method = new CollectionSetter(getApiMethod(), 64 getView().getImplClass().getName()); 65 66 method.setCall(assembleCallChain(method.getCall())); 67 68 return method; 69 } 70 } 71 | Popular Tags |