@Component(value="anyline.interceptor.proxy") public class InterceptorProxy extends Object
| 构造器和说明 |
|---|
InterceptorProxy() |
@Autowired(required=false) public void setQueryInterceptors(Map<String,QueryInterceptor> interceptors)
@Autowired(required=false) public void setCountInterceptors(Map<String,CountInterceptor> interceptors)
@Autowired(required=false) public void setUpdateInterceptors(Map<String,UpdateInterceptor> interceptors)
@Autowired(required=false) public void setInsertInterceptors(Map<String,InsertInterceptor> interceptors)
@Autowired(required=false) public void setDeleteInterceptors(Map<String,DeleteInterceptor> interceptors)
@Autowired(required=false) public void setExecuteInterceptors(Map<String,ExecuteInterceptor> interceptors)
@Autowired(required=false) public void setDDInterceptors(Map<String,DDInterceptor> interceptors)
public void reg(ACTION.DDL action, DDInterceptor interceptor)
public static ACTION.SWITCH prepareQuery(JDBCRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions)
public static ACTION.SWITCH prepareQuery(JDBCRuntime runtime, String random, Procedure procedure, PageNavi navi)
public static ACTION.SWITCH beforeQuery(JDBCRuntime runtime, String random, Run run, PageNavi navi)
public static ACTION.SWITCH beforeQuery(JDBCRuntime runtime, String random, Procedure procedure, List<Parameter> inputs, List<Parameter> outputs, PageNavi navi)
public static ACTION.SWITCH afterQuery(JDBCRuntime runtime, String random, Run run, boolean exe, Object result, PageNavi navi, long millis)
public static ACTION.SWITCH afterQuery(JDBCRuntime runtime, String random, Procedure procedure, List<Parameter> inputs, List<Parameter> outputs, PageNavi navi, boolean success, Object resutl, long millis)
public static ACTION.SWITCH prepareCount(JDBCRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions)
public static ACTION.SWITCH beforeCount(JDBCRuntime runtime, String random, Run run)
public static ACTION.SWITCH afterCount(JDBCRuntime runtime, String random, Run run, boolean exe, int result, long millis)
public static ACTION.SWITCH prepareUpdate(JDBCRuntime runtime, String random, String dest, Object data, ConfigStore configs, List<String> columns)
public static ACTION.SWITCH beforeUpdate(JDBCRuntime runtime, String random, Run run, String dest, Object data, ConfigStore configs, List<String> columns)
public static ACTION.SWITCH afterUpdate(JDBCRuntime runtime, String random, Run run, String dest, Object data, ConfigStore configs, List<String> columns, boolean success, int result, long millis)
public static ACTION.SWITCH prepareInsert(JDBCRuntime runtime, String random, String dest, Object data, boolean checkPrimary, List<String> columns)
public static ACTION.SWITCH beforeInsert(JDBCRuntime runtime, String random, Run run, String dest, Object data, boolean checkPrimary, List<String> columns)
public static ACTION.SWITCH afterInsert(JDBCRuntime runtime, String random, Run run, String dest, Object data, boolean checkPrimary, List<String> columns, boolean success, int result, long millis)
public static ACTION.SWITCH prepareDelete(JDBCRuntime runtime, String random, String table, String key, Collection values)
public static ACTION.SWITCH prepareDelete(JDBCRuntime runtime, String random, String table, ConfigStore configs, String... conditions)
public static ACTION.SWITCH prepareDelete(JDBCRuntime runtime, String random, String dest, Object obj, String... columns)
public static ACTION.SWITCH beforeDelete(JDBCRuntime runtime, String random, Run run)
public static ACTION.SWITCH afterDelete(JDBCRuntime runtime, String random, Run run, boolean success, int result, long millis)
public static ACTION.SWITCH prepareExecute(JDBCRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions)
public static ACTION.SWITCH prepareExecute(JDBCRuntime runtime, String random, Procedure procedure)
public static ACTION.SWITCH beforeExecute(JDBCRuntime runtime, String random, Run run)
public static ACTION.SWITCH beforeExecute(JDBCRuntime runtime, String random, Procedure procedure, String sql, List<Parameter> inputs, List<Parameter> outputs)
public static ACTION.SWITCH afterExecute(JDBCRuntime runtime, String random, Run run, boolean success, int result, long millis)
public static ACTION.SWITCH afterExecute(JDBCRuntime runtime, String random, Procedure procedure, String sql, List<Parameter> inputs, List<Parameter> outputs, boolean success, boolean result, long millis)
public static ACTION.SWITCH prepare(JDBCRuntime runtime, String random, ACTION.DDL action, Object metadata)
public static ACTION.SWITCH before(JDBCRuntime runtime, String random, ACTION.DDL action, Object metadata, List<Run> runs)
public static ACTION.SWITCH after(JDBCRuntime runtime, String random, ACTION.DDL action, Object metadata, List<Run> runs, boolean result, long millis)
Copyright © 2023. All rights reserved.