mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
修改作者信息
git-svn-id: http://code.alibabatech.com/svn/druid/trunk@10 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
@@ -52,7 +52,7 @@ import com.alibaba.druid.proxy.jdbc.StatementProxy;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public interface Filter {
|
||||
|
||||
@@ -54,7 +54,7 @@ import com.alibaba.druid.proxy.jdbc.StatementProxy;
|
||||
/**
|
||||
* 提供JdbcFilter的基本实现,使得实现一个JdbcFilter更容易。
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public abstract class FilterAdapter extends NotificationBroadcasterSupport implements Filter {
|
||||
|
||||
@@ -50,7 +50,7 @@ import com.alibaba.druid.proxy.jdbc.StatementProxy;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public interface FilterChain {
|
||||
|
||||
@@ -61,7 +61,7 @@ import com.alibaba.druid.proxy.jdbc.StatementProxyImpl;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public class FilterChainImpl implements FilterChain {
|
||||
|
||||
@@ -43,7 +43,7 @@ import com.alibaba.druid.proxy.jdbc.StatementProxy;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public abstract class FilterEventAdapter extends FilterAdapter {
|
||||
|
||||
@@ -34,7 +34,7 @@ import com.alibaba.druid.proxy.jdbc.StatementProxy;
|
||||
import com.alibaba.druid.util.JdbcUtils;
|
||||
|
||||
/**
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*/
|
||||
public class EncodingConvertFilter extends FilterAdapter {
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ import org.apache.commons.logging.impl.Log4JLogger;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public class CommonsLogFilter extends LogFilter {
|
||||
|
||||
@@ -17,7 +17,7 @@ package com.alibaba.druid.filter.logging;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public interface CommonsLogFilterMBean extends LogFilterMBean {
|
||||
|
||||
@@ -20,7 +20,7 @@ import org.apache.log4j.Logger;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public class Log4jFilter extends LogFilter implements Log4jFilterMBean {
|
||||
|
||||
@@ -17,7 +17,7 @@ package com.alibaba.druid.filter.logging;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public interface Log4jFilterMBean extends LogFilterMBean {
|
||||
|
||||
@@ -34,7 +34,7 @@ import com.alibaba.druid.util.JdbcUtils;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public abstract class LogFilter extends FilterEventAdapter implements LogFilterMBean {
|
||||
|
||||
@@ -17,7 +17,7 @@ package com.alibaba.druid.filter.logging;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public interface LogFilterMBean {
|
||||
|
||||
@@ -45,7 +45,7 @@ import com.alibaba.druid.stat.JdbcStatementStat;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public class StatFilter extends FilterEventAdapter implements StatFilterMBean {
|
||||
|
||||
@@ -23,7 +23,7 @@ import javax.management.openmbean.TabularData;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public interface StatFilterMBean {
|
||||
|
||||
@@ -20,7 +20,7 @@ import java.sql.SQLException;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public interface ConnectionFactory {
|
||||
|
||||
@@ -27,7 +27,7 @@ import javax.sql.StatementEventListener;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public final class ConnectionHolder {
|
||||
|
||||
@@ -33,7 +33,7 @@ import com.alibaba.druid.filter.FilterChainImpl;
|
||||
import com.alibaba.druid.proxy.jdbc.DataSourceProxy;
|
||||
|
||||
/**
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*/
|
||||
public abstract class DruidDataAbstractSource implements DataSource, DataSourceProxy, Serializable {
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ import com.alibaba.druid.proxy.jdbc.DataSourceProxyConfig;
|
||||
import com.alibaba.druid.util.JdbcUtils;
|
||||
|
||||
/**
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*/
|
||||
public class DruidDataSource extends DruidDataAbstractSource implements DruidDataSourceMBean, Referenceable {
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ package com.alibaba.druid.pool;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*/
|
||||
public interface DruidDataSourceMBean {
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ import java.util.Calendar;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public class PoolableCallableStatement extends PoolablePreparedStatement implements CallableStatement {
|
||||
|
||||
@@ -43,7 +43,7 @@ import com.alibaba.druid.pool.PreparedStatementPool.MethodType;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public final class PoolableConnection implements PooledConnection, Connection {
|
||||
|
||||
@@ -40,7 +40,7 @@ import com.alibaba.druid.pool.PreparedStatementPool.MethodType;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public class PoolablePreparedStatement extends PoolableStatement implements PreparedStatement {
|
||||
|
||||
@@ -34,7 +34,7 @@ import java.util.Calendar;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public final class PoolableResultSet extends PoolableWrapper implements ResultSet {
|
||||
|
||||
@@ -25,7 +25,7 @@ import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public class PoolableStatement extends PoolableWrapper implements Statement {
|
||||
|
||||
@@ -20,7 +20,7 @@ import java.sql.Wrapper;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public class PoolableWrapper implements Wrapper {
|
||||
|
||||
@@ -19,7 +19,7 @@ import java.sql.PreparedStatement;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public final class PreparedStatementHolder<T extends PreparedStatement> {
|
||||
|
||||
@@ -23,7 +23,7 @@ import com.alibaba.druid.pool.PoolablePreparedStatement.PreparedStatementKey;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public class PreparedStatementPool {
|
||||
|
||||
@@ -38,7 +38,7 @@ import com.alibaba.druid.util.DruidLoaderUtils;
|
||||
import com.alibaba.druid.util.JdbcUtils;
|
||||
|
||||
/**
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*/
|
||||
public class DruidDriver implements Driver, DruidDriverMBean {
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ package com.alibaba.druid.proxy;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public interface DruidDriverMBean {
|
||||
|
||||
@@ -19,7 +19,7 @@ import java.sql.CallableStatement;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public interface CallableStatementProxy extends CallableStatement, PreparedStatementProxy {
|
||||
|
||||
@@ -32,7 +32,7 @@ import java.util.Calendar;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public class CallableStatementProxyImpl extends PreparedStatementProxyImpl implements CallableStatementProxy {
|
||||
|
||||
@@ -20,7 +20,7 @@ import java.sql.Clob;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public interface ClobProxy extends Clob {
|
||||
|
||||
@@ -27,7 +27,7 @@ import com.alibaba.druid.filter.FilterChainImpl;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public class ClobProxyImpl implements ClobProxy {
|
||||
|
||||
@@ -22,7 +22,7 @@ import java.util.Properties;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public interface ConnectionProxy extends Connection, WrapperProxy {
|
||||
|
||||
@@ -39,7 +39,7 @@ import com.alibaba.druid.filter.FilterChainImpl;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public class ConnectionProxyImpl extends WrapperProxyImpl implements ConnectionProxy {
|
||||
|
||||
@@ -23,7 +23,7 @@ import com.alibaba.druid.filter.Filter;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public interface DataSourceProxy {
|
||||
|
||||
@@ -25,7 +25,7 @@ import com.alibaba.druid.filter.Filter;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public class DataSourceProxyConfig {
|
||||
|
||||
@@ -39,7 +39,7 @@ import com.alibaba.druid.filter.FilterChainImpl;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public class DataSourceProxyImpl implements DataSourceProxy, DataSourceProxyImplMBean {
|
||||
|
||||
@@ -19,7 +19,7 @@ import java.util.Date;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public interface DataSourceProxyImplMBean {
|
||||
|
||||
@@ -17,7 +17,7 @@ package com.alibaba.druid.proxy.jdbc;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public class JdbcParameter {
|
||||
|
||||
@@ -19,7 +19,7 @@ import java.sql.PreparedStatement;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public interface PreparedStatementProxy extends PreparedStatement, StatementProxy {
|
||||
|
||||
@@ -39,7 +39,7 @@ import java.util.Calendar;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public class PreparedStatementProxyImpl extends StatementProxyImpl implements PreparedStatementProxy {
|
||||
|
||||
@@ -20,7 +20,7 @@ import java.sql.ResultSet;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public interface ResultSetProxy extends ResultSet, WrapperProxy {
|
||||
|
||||
@@ -42,7 +42,7 @@ import com.alibaba.druid.filter.FilterChainImpl;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetProxy {
|
||||
|
||||
@@ -21,7 +21,7 @@ import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public interface StatementProxy extends Statement, WrapperProxy {
|
||||
|
||||
@@ -28,7 +28,7 @@ import com.alibaba.druid.filter.FilterChainImpl;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public class StatementProxyImpl extends WrapperProxyImpl implements StatementProxy {
|
||||
|
||||
@@ -20,7 +20,7 @@ import java.util.Map;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public interface WrapperProxy extends Wrapper {
|
||||
|
||||
@@ -24,7 +24,7 @@ import com.alibaba.druid.filter.FilterChain;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public abstract class WrapperProxyImpl implements WrapperProxy {
|
||||
|
||||
@@ -19,7 +19,7 @@ import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*/
|
||||
public class Keywords {
|
||||
private final Map<String, Token> keywords;
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
package com.alibaba.druid.sql.parser;
|
||||
|
||||
/**
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*/
|
||||
public interface LayoutCharacters {
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ import java.math.BigDecimal;
|
||||
import java.math.BigInteger;
|
||||
|
||||
/**
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*/
|
||||
public class Lexer {
|
||||
protected final char[] sql;
|
||||
|
||||
@@ -21,7 +21,7 @@ import java.sql.SQLSyntaxErrorException;
|
||||
* support MySQL 5.5 token
|
||||
*
|
||||
* @author <a href="mailto:shuo.qius@alibaba-inc.com">QIU Shuo</a>
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*/
|
||||
public class SQLLexer {
|
||||
protected final char[] buf;
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
package com.alibaba.druid.sql.parser;
|
||||
|
||||
/**
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*/
|
||||
public class SQLParseException extends RuntimeException {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
package com.alibaba.druid.sql.parser;
|
||||
|
||||
/**
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*/
|
||||
public class SymbolTable {
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ import com.alibaba.druid.util.JMXUtils;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public class JdbcConnectionStat implements JdbcConnectionStatMBean {
|
||||
|
||||
@@ -17,7 +17,7 @@ package com.alibaba.druid.stat;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public interface JdbcResultSetStatMBean {
|
||||
|
||||
@@ -32,7 +32,7 @@ import com.alibaba.druid.util.JMXUtils;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public final class JdbcSqlStat implements JdbcSqlStatMBean {
|
||||
|
||||
@@ -19,7 +19,7 @@ import java.util.Date;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public interface JdbcSqlStatMBean {
|
||||
|
||||
@@ -33,7 +33,7 @@ import javax.management.openmbean.SimpleType;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public final class JMXUtils {
|
||||
|
||||
@@ -30,7 +30,7 @@ import java.sql.Types;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author shaojin.wensj
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*
|
||||
*/
|
||||
public final class JdbcUtils {
|
||||
|
||||
Reference in New Issue
Block a user