passworddecoder.java

来自「java编写的数据库连接池的源代码。包含有连接池的源码。」· Java 代码 · 共 21 行

JAVA
21
字号
/*
	DBPool - JDBC Connection Pool Manager
	Copyright (c) Giles Winstanley
*/
package snaq.db;

import java.sql.*;

/**
 * Interface for decoding database passwords.
 * This interface can be implemented by a class in order to provide custom
 * database password decoding. To use the custom decoder class make
 * sure you call the <tt>setPasswordDecoder</tt> method in either the
 * <tt>ConnectionPool</tt> object or the <tt>ConnectionPoolManager</tt>
 * in your code (or use the properties file version with the pool manager).
 * @author Giles Winstanley
 */
public interface PasswordDecoder
{
	char[] decode(String encoded);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?