KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > soto > TestInitialContextFactory


1 package org.sapia.soto;
2
3 import java.util.Hashtable JavaDoc;
4
5 import javax.naming.Context JavaDoc;
6 import javax.naming.NamingException JavaDoc;
7 import javax.naming.spi.InitialContextFactory JavaDoc;
8
9 /**
10  * @author Yanick Duchesne
11  *
12  * <dl>
13  * <dt><b>Copyright:</b><dd>Copyright &#169; 2002-2004 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt>
14  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
15  * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>
16  * </dl>
17  */

18 public class TestInitialContextFactory implements InitialContextFactory JavaDoc{
19     
20     /**
21    * @see javax.naming.spi.InitialContextFactory#getInitialContext(java.util.Hashtable)
22    */

23   public Context JavaDoc getInitialContext(Hashtable JavaDoc environment)
24     throws NamingException JavaDoc {
25     return new TestContext();
26   }
27
28
29 }
30
Popular Tags