Author: davsclaus
Date: Fri May 16 02:09:43 2008
New Revision: 656978

URL: http://svn.apache.org/viewvc?rev=656978&view=rev
Log:
polished javadoc

Modified:
    
activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/util/jndi/CamelInitialContextFactory.java

Modified: 
activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/util/jndi/CamelInitialContextFactory.java
URL: 
http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/util/jndi/CamelInitialContextFactory.java?rev=656978&r1=656977&r2=656978&view=diff
==============================================================================
--- 
activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/util/jndi/CamelInitialContextFactory.java
 (original)
+++ 
activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/util/jndi/CamelInitialContextFactory.java
 Fri May 16 02:09:43 2008
@@ -24,13 +24,20 @@
 import javax.naming.spi.InitialContextFactory;
 
 /**
- * A factory of the Cameel InitialContext which allows a Map to be used to 
create a
+ * A factory of the Camel InitialContext which allows a Map to be used to 
create a
  * JNDI context.
  *
  * @version $Revision$
  */
 public class CamelInitialContextFactory implements InitialContextFactory {
 
+    /**
+     * Creates a new context with the given environment.
+     *
+     * @param  environment  the environment, must not be <tt>null</tt>
+     * @return the created context.
+     * @throws NamingException is thrown if creation failed.
+     */
     public Context getInitialContext(Hashtable environment) throws 
NamingException {
         try {
             return new JndiContext(environment);


Reply via email to