214215216217218219220221222223224
"java.lang.String busIntf" + ")" + " {"); p.pln("super(stub, busIntf);"); p.pln(""); p.pln("delegate_ = stub;"); p.pOln("}"); p.pln(""); // each remote method for(int i = 0; i < bizMethods.length; i++) { printMethodImpl(p, bizMethods[i]); }
191192193194195196197198199200201
{ IndentingWriter p = new IndentingWriter(new OutputStreamWriter(out)); String packageName = getPackageName(bean.getName()); if (packageName != null) p.pln("package " + packageName + ";"); p.plnI("public final class " + wrapperImpl + " extends " + wrapperBase + " implements " + componentInterface.getName() + " {");
160161162163164165166167168169170
public void generate(OutputStream out) throws GeneratorException, IOException { IndentingWriter p = new IndentingWriter(new OutputStreamWriter(out)); p.pln(""); if (remoteInterfacePackageName != null) { p.pln("package " + remoteInterfacePackageName + ";"); }
163164165166167168169170171172173
IndentingWriter p = new IndentingWriter(new OutputStreamWriter(out)); p.pln(""); if (remoteInterfacePackageName != null) { p.pln("package " + remoteInterfacePackageName + ";"); } p.pln(""); p.plnI("public interface " + remoteInterfaceSimpleName + " extends " +
166167168169170171172173174175176
if (remoteInterfacePackageName != null) { p.pln("package " + remoteInterfacePackageName + ";"); } p.pln(""); p.plnI("public interface " + remoteInterfaceSimpleName + " extends " + "java.rmi.Remote , com.sun.ejb.containers.RemoteBusinessObject {"); p.pln("");
171172173174175176177178179180181
p.pln(""); p.plnI("public interface " + remoteInterfaceSimpleName + " extends " + "java.rmi.Remote , com.sun.ejb.containers.RemoteBusinessObject {"); p.pln(""); // each remote method for(int i = 0; i < bizMethods.length; i++) { printMethod(p, bizMethods[i]); }
465466467468469470471472473474475
IndentingWriter p = new IndentingWriter(new OutputStreamWriter(out)); String packageName = getPackageName(bean.getName()); if (packageName != null) p.pln("package " + packageName + ";"); //IASRI 4717059 BEGIN if (isReadOnlyBean) { p.plnI("public final class " + homeImpl + " extends "
493494495496497498499500501502503
// constructor p.plnI("public " + homeImpl + "() " +(isLocal ? "" : "throws java.rmi.RemoteException ") + "{"); p.pln("super();"); p.pOln("}"); for(int i = 0; i < factoryMethods.length; i++) { if ( isCreateMethod(factoryMethods[i]) ) { Method m = getBeanMethod(factoryMethods[i]);
172173174175176177178179180181182
IndentingWriter p = new IndentingWriter(new OutputStreamWriter(out)); String packageName = getPackageName(generatedSerializableClassName); String simpleName = getBaseName(generatedSerializableClassName); p.pln(""); if (packageName != null) { p.pln("package " + packageName + ";"); }
175176177178179180181182183184185
String simpleName = getBaseName(generatedSerializableClassName); p.pln(""); if (packageName != null) { p.pln("package " + packageName + ";"); } p.pln(""); p.plnI("public class " + simpleName + " extends " + beanClass.getName()