Thread: [Ejtools-cvs] CVS: applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model JNDI
Brought to you by:
letiemble
From: Laurent E. <let...@us...> - 2002-04-30 21:13:22
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model In directory usw-pr-cvs1:/tmp/cvs-serv6009/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model Modified Files: JNDIContext.java JNDIEntry.java SearchTypeEditor.java Server.java Log Message: Add getTitle support for I18N Pretty print source code Index: JNDIContext.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/JNDIContext.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** JNDIContext.java 22 Apr 2002 17:39:42 -0000 1.1 --- JNDIContext.java 30 Apr 2002 21:13:19 -0000 1.2 *************** *** 17,22 **** import java.util.TooManyListenersException; - // Other Imports - //import com.dreambean.awt.GenericCustomizer; import net.sourceforge.ejtools.awt.GenericCustomizer; import net.sourceforge.ejtools.util.Sort; --- 17,20 ---- Index: JNDIEntry.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/JNDIEntry.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** JNDIEntry.java 22 Apr 2002 17:39:42 -0000 1.1 --- JNDIEntry.java 30 Apr 2002 21:13:19 -0000 1.2 *************** *** 7,13 **** package net.sourceforge.ejtools.jndibrowser.model; - // Other Imports - import org.apache.log4j.Category; - /** *Description of the Class --- 7,10 ---- Index: SearchTypeEditor.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/SearchTypeEditor.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SearchTypeEditor.java 22 Apr 2002 17:41:37 -0000 1.1 --- SearchTypeEditor.java 30 Apr 2002 21:13:19 -0000 1.2 *************** *** 7,11 **** package net.sourceforge.ejtools.jndibrowser.model; - // Other Imports import com.dreambean.awt.editors.TagsEditor; --- 7,10 ---- Index: Server.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/Server.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Server.java 24 Apr 2002 20:17:03 -0000 1.2 --- Server.java 30 Apr 2002 21:13:19 -0000 1.3 *************** *** 7,11 **** package net.sourceforge.ejtools.jndibrowser.model; - // Standard Imports import java.util.Collection; import java.util.Iterator; --- 7,10 ---- *************** *** 19,23 **** import javax.naming.NotContextException; - // Other Imports import net.sourceforge.ejtools.jndibrowser.model.ejb.EJBHomeProxy; import net.sourceforge.ejtools.jndibrowser.model.jms.ConnectionFactoryProxy; --- 18,21 ---- *************** *** 36,39 **** --- 34,38 ---- public class Server extends JNDIContext { + private static Category logger = Category.getInstance(Server.class); /** Description of the Field */ protected String factory = "org.jnp.interfaces.NamingContextFactory"; *************** *** 269,274 **** try { ! System.out.println("Name :" + nc.getName()); ! System.out.println("ClassName :" + nc.getClassName()); Object o = null; --- 268,273 ---- try { ! logger.debug("Name :" + nc.getName()); ! logger.debug("ClassName :" + nc.getClassName()); Object o = null; *************** *** 277,284 **** { o = context.lookup(nc.getName()); - } - catch (Exception e1) - { - } try --- 276,279 ---- *************** *** 289,293 **** catch (Exception e1) { - } try --- 284,287 ---- *************** *** 299,303 **** catch (Exception e2) { - } try --- 293,296 ---- *************** *** 309,313 **** catch (Exception e3) { - } try --- 302,305 ---- *************** *** 320,323 **** --- 312,327 ---- { } + + } + } + + + } + + } + catch (Exception e1) + { + } + } catch (Exception e1) |