Package com.alibaba.druid.filter

Examples of com.alibaba.druid.filter.FilterChainImpl


            long startNano = System.nanoTime();

            try {
                if (dataSource.getProxyFilters().size() != 0) {
                    conn = new FilterChainImpl(dataSource).connection_connect(info);
                } else {
                    conn = dataSource.getDriver().connect(url, info);

                    if (conn == null) {
                        throw new SQLException("connect error, url " + url);
View Full Code Here


    public Statement getRawObject() {
        return this.statement;
    }

    public FilterChain createChain() {
        return new FilterChainImpl(this.connection.getDirectDataSource());
    }
View Full Code Here

            long startNano = System.nanoTime();

            try {
                if (dataSource.getProxyFilters().size() != 0) {
                    conn = new FilterChainImpl(dataSource).connection_connect(info);
                } else {
                    conn = dataSource.getDriver().connect(url, info);

                    if (conn == null) {
                        throw new SQLException("connect error, url " + url);
View Full Code Here

    public StatementProxy getStatementProxy() {
        return this.statement;
    }

    public FilterChain createChain() {
        return new FilterChainImpl(this.statement.getConnectionProxy().getDirectDataSource());
    }
View Full Code Here

    public DataSourceProxy getDirectDataSource() {
        return this.dataSource;
    }

    public FilterChain createChain() {
        return new FilterChainImpl(dataSource);
    }
View Full Code Here

    public Statement getStatementRaw() {
        return this.statement;
    }

    public FilterChain createChain() {
        return new FilterChainImpl(this.connection.getDirectDataSource());
    }
View Full Code Here

        if (userCallback != null) {
            String user = userCallback.getName();
            info.put("user", user);
        }

        FilterChain chain = new FilterChainImpl(this);
        return chain.connection_connect(info);
    }
View Full Code Here

        this.connection = connection;
        this.clob = clob;
    }

    public FilterChain createChain() {
        return new FilterChainImpl(dataSource);
    }
View Full Code Here

    public DruidPooledConnection getConnection(long maxWaitMillis) throws SQLException {
        init();

        if (filters.size() > 0) {
            FilterChainImpl filterChain = new FilterChainImpl(this);
            return filterChain.dataSource_connect(this, maxWaitMillis);
        } else {
            return getConnectionDirect(maxWaitMillis);
        }
    }
View Full Code Here

    public DruidPooledConnection getConnection(long maxWaitMillis) throws SQLException {
        init();

        if (filters.size() > 0) {
            FilterChainImpl filterChain = new FilterChainImpl(this);
            return filterChain.dataSource_connect(this, maxWaitMillis);
        } else {
            return getConnectionDirect(maxWaitMillis);
        }
    }
View Full Code Here

TOP

Related Classes of com.alibaba.druid.filter.FilterChainImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.