User: starksm
Date: 01/04/26 00:50:52
Modified: src/main/org/jnp/interfaces/jnp jnpURLContextFactory.java
Log:
Fix bug 419015 and rmiPort externalization.
Revision Changes Path
1.4 +8 -5 jnp/src/main/org/jnp/interfaces/jnp/jnpURLContextFactory.java
Index: jnpURLContextFactory.java
===================================================================
RCS file:
/cvsroot/jboss/jnp/src/main/org/jnp/interfaces/jnp/jnpURLContextFactory.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- jnpURLContextFactory.java 2001/04/23 06:08:06 1.3
+++ jnpURLContextFactory.java 2001/04/26 07:50:51 1.4
@@ -13,12 +13,12 @@
import org.jnp.interfaces.NamingContext;
-/**
- * <description>
+/** The URL context factory for jnp: style URLs.
*
* @see <related>
- * @author $Author: starksm $
- * @version $Revision: 1.3 $
+ * @author oberg
+ * @author [EMAIL PROTECTED]
+ * @version $Revision: 1.4 $
*/
public class jnpURLContextFactory
implements ObjectFactory
@@ -41,7 +41,10 @@
throws Exception
{
if (obj == null)
- return new NamingContext(environment, name, null);
+ {
+ Context urlContext = new NamingContext(environment, name, null);
+ return urlContext;
+ }
else if (obj instanceof String)
{
String url = (String)obj;
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development