/* generated by Jasper from ForEachClass.jsl */ package oracle.jaccelerator.server; import oracle.aurora.rdbms.ClassHandle; //import oracle.jaccelerator.server.PackageValidateAll; import java.lang.String; import oracle.jaccelerator.server.ClassProcessor; import oracle.aurora.rdbms.Schema; import oracle.jaccelerator.server.ForEachClass; import java.sql.Connection; import oracle.jaccelerator.server.PackageDisableNcomp; import oracle.aurora.rdbms.Handle; import java.lang.Exception; import oracle.sql.*; import java.io.*; import oracle.jaccelerator.server.*; import oracle.jdbc.*; import java.sql.*; import java.lang.*; import java.util.*; public class PackageValidateAll implements ClassProcessor { String packageName; String schema; public ClassProcessor init (String packageName, String schema) { this.packageName = packageName; this.schema = schema; return this; } public PackageValidateAll () { } public PackageValidateAll (String packageName, String schema) { init(packageName, schema); } public void execute (String className) throws java.lang.Exception { ClassHandle h = Handle.lookupClass(className, Schema.lookup(schema)); if (h == null) throw new SQLException("class not found: " + className); if (h.status() == Handle.INVALID) h.resolve(); } }