public abstract class DatabaseExecutionInterfaceImpl implements DatabaseExecutionInterface {
public MethodExecutionProcessor createSimpleMethodExecutionProcessor(DBMethod method) {
if (method instanceof DBFunction) {
DBFunction function = (DBFunction) method;
return new SimpleFunctionExecutionProcessor(function);
}
if (method instanceof DBProcedure) {
DBProcedure procedure = (DBProcedure) method;
return new SimpleProcedureExecutionProcessor(procedure);