minijndicontextfactory.java
来自「PostgreSQL7.4.6 for Linux」· Java 代码 · 共 23 行
JAVA
23 行
package org.postgresql.test.util;import java.util.*;import javax.naming.*;import javax.naming.spi.InitialContextFactory;/** * The ICF for a trivial JNDI implementation. This is not meant to * be very useful, beyond testing JNDI features of the connection * pools. * * @author Aaron Mulder (ammulder@chariotsolutions.com) * @version $Revision: 1.1 $ */public class MiniJndiContextFactory implements InitialContextFactory{ public Context getInitialContext(Hashtable environment) throws NamingException { return new MiniJndiContext(); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?