public void afterPropertiesSet() throws Exception {
super.afterPropertiesSet();
SqlMapClient c = (SqlMapClient)getObject();
if(sqlExecutor != null && c instanceof SqlMapClientImpl) {
SqlMapClientImpl client = (SqlMapClientImpl)c;
SqlMapExecutorDelegate delegate = client.getDelegate();
try {
ReflectUtil.setFieldValue(delegate, "sqlExecutor", SqlExecutor.class, sqlExecutor);
System.out.println("[iBATIS] success set ibatis SqlMapClient.sqlExecutor = "+sqlExecutor.getClass().getName());
}catch(Exception e) {
System.err.println("[iBATIS] error,cannot set ibatis SqlMapClient.sqlExecutor = "+sqlExecutor.getClass().getName()+" cause:"+e);