ejtools-cvs Mailing List for EJTools (Page 89)
Brought to you by:
letiemble
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
(471) |
May
(303) |
Jun
(176) |
Jul
(67) |
Aug
(64) |
Sep
(84) |
Oct
(148) |
Nov
(57) |
Dec
(272) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(356) |
Feb
(304) |
Mar
(214) |
Apr
(22) |
May
(7) |
Jun
(25) |
Jul
|
Aug
(5) |
Sep
(106) |
Oct
|
Nov
(95) |
Dec
(193) |
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2016 |
Jan
(2) |
Feb
(1) |
Mar
(2) |
Apr
(1) |
May
|
Jun
|
Jul
(2) |
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/webapp/content/images/toolbarButtonGraphics/development In directory usw-pr-cvs1:/tmp/cvs-serv21497/jndi.browser/src/webapp/content/images/toolbarButtonGraphics/development Added Files: AppClientModule16.gif AppClientModule24.gif ClientAppModule16.gif ClientAppModule24.gif Corba16.gif Corba24.gif EJB16.gif EJB24.gif EJBModule16.gif EJBModule24.gif J2EEApplication16.gif J2EEApplication24.gif J2EEDomain16.gif J2EEDomain24.gif J2EEModule16.gif J2EEModule24.gif J2EEServer16.gif J2EEServer24.gif JNDIResource16.gif JNDIResource24.gif JVM16.gif JVM24.gif JavaMailResource16.gif JavaMailResource24.gif Node16.gif Node24.gif Servlet16.gif Servlet24.gif URLResource16.gif URLResource24.gif WebModule16.gif WebModule24.gif Log Message: Basic Web App --- NEW FILE: AppClientModule16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: AppClientModule24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ClientAppModule16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ClientAppModule24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Corba16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Corba24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: EJB16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: EJB24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: EJBModule16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: EJBModule24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: J2EEApplication16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: J2EEApplication24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: J2EEDomain16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: J2EEDomain24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: J2EEModule16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: J2EEModule24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: J2EEServer16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: J2EEServer24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: JNDIResource16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: JNDIResource24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: JVM16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: JVM24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: JavaMailResource16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: JavaMailResource24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Node16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Node24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Servlet16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Servlet24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: URLResource16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: URLResource24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: WebModule16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: WebModule24.gif --- (This appears to be a binary file; contents omitted.) |
From: <let...@us...> - 2002-05-30 22:43:25
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/webapp/content/images/toolbarButtonGraphics/development/jms In directory usw-pr-cvs1:/tmp/cvs-serv21497/jndi.browser/src/webapp/content/images/toolbarButtonGraphics/development/jms Added Files: ByteMessage16.gif BytesMessage16.gif MapMessage16.gif Message16.gif ObjectMessage16.gif Queue16.gif StreamMessage16.gif TextMessage16.gif Topic16.gif Log Message: Basic Web App --- NEW FILE: ByteMessage16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: BytesMessage16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: MapMessage16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Message16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ObjectMessage16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Queue16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: StreamMessage16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: TextMessage16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Topic16.gif --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/ejtools/applications/jndi.browser/src/webapp/content/images/icons In directory usw-pr-cvs1:/tmp/cvs-serv21497/jndi.browser/src/webapp/content/images/icons Removed Files: AppClientModule16.gif AppClientModule24.gif EJBModule16.gif EJBModule24.gif EntityBean16.gif Home16.gif J2EEApplication16.gif J2EEApplication24.gif J2EEDomain16.gif J2EEDomain24.gif J2EEModule16.gif J2EEModule24.gif J2EEServer16.gif J2EEServer24.gif JCAConnectionFactory16.gif JCAConnectionFactory24.gif JCAResource16.gif JCAResource24.gif JNDIResource16.gif JNDIResource24.gif JVM16.gif JVM24.gif JavaMailResource16.gif JavaMailResource24.gif MessageDrivenBean16.gif Node16.gif Node24.gif ResourceAdapter16.gif ResourceAdapter24.gif ResourceAdapterModule16.gif ResourceAdapterModule24.gif Server16.gif Servlet16.gif Servlet24.gif SessionBean16.gif StatefulSessionBean16.gif StatelessSessionBean16.gif URLResource16.gif URLResource24.gif WebModule16.gif WebModule24.gif Log Message: Basic Web App --- AppClientModule16.gif DELETED --- --- AppClientModule24.gif DELETED --- --- EJBModule16.gif DELETED --- --- EJBModule24.gif DELETED --- --- EntityBean16.gif DELETED --- --- Home16.gif DELETED --- --- J2EEApplication16.gif DELETED --- --- J2EEApplication24.gif DELETED --- --- J2EEDomain16.gif DELETED --- --- J2EEDomain24.gif DELETED --- --- J2EEModule16.gif DELETED --- --- J2EEModule24.gif DELETED --- --- J2EEServer16.gif DELETED --- --- J2EEServer24.gif DELETED --- --- JCAConnectionFactory16.gif DELETED --- --- JCAConnectionFactory24.gif DELETED --- --- JCAResource16.gif DELETED --- --- JCAResource24.gif DELETED --- --- JNDIResource16.gif DELETED --- --- JNDIResource24.gif DELETED --- --- JVM16.gif DELETED --- --- JVM24.gif DELETED --- --- JavaMailResource16.gif DELETED --- --- JavaMailResource24.gif DELETED --- --- MessageDrivenBean16.gif DELETED --- --- Node16.gif DELETED --- --- Node24.gif DELETED --- --- ResourceAdapter16.gif DELETED --- --- ResourceAdapter24.gif DELETED --- --- ResourceAdapterModule16.gif DELETED --- --- ResourceAdapterModule24.gif DELETED --- --- Server16.gif DELETED --- --- Servlet16.gif DELETED --- --- Servlet24.gif DELETED --- --- SessionBean16.gif DELETED --- --- StatefulSessionBean16.gif DELETED --- --- StatelessSessionBean16.gif DELETED --- --- URLResource16.gif DELETED --- --- URLResource24.gif DELETED --- --- WebModule16.gif DELETED --- --- WebModule24.gif DELETED --- |
From: <let...@us...> - 2002-05-30 22:43:16
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/webapp/content/images/toolbarButtonGraphics/general In directory usw-pr-cvs1:/tmp/cvs-serv21433/applications/jndi.browser/src/webapp/content/images/toolbarButtonGraphics/general Log Message: Directory /cvsroot/ejtools/applications/jndi.browser/src/webapp/content/images/toolbarButtonGraphics/general added to the repository |
From: <let...@us...> - 2002-05-30 22:43:16
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/webapp/content/images/toolbarButtonGraphics/development/jms In directory usw-pr-cvs1:/tmp/cvs-serv21433/applications/jndi.browser/src/webapp/content/images/toolbarButtonGraphics/development/jms Log Message: Directory /cvsroot/ejtools/applications/jndi.browser/src/webapp/content/images/toolbarButtonGraphics/development/jms added to the repository |
From: <let...@us...> - 2002-05-30 22:43:16
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/webapp/content/images/toolbarButtonGraphics/development In directory usw-pr-cvs1:/tmp/cvs-serv21433/applications/jndi.browser/src/webapp/content/images/toolbarButtonGraphics/development Log Message: Directory /cvsroot/ejtools/applications/jndi.browser/src/webapp/content/images/toolbarButtonGraphics/development added to the repository |
From: <let...@us...> - 2002-05-30 22:43:16
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/webapp/content/images/toolbarButtonGraphics In directory usw-pr-cvs1:/tmp/cvs-serv21433/applications/jndi.browser/src/webapp/content/images/toolbarButtonGraphics Log Message: Directory /cvsroot/ejtools/applications/jndi.browser/src/webapp/content/images/toolbarButtonGraphics added to the repository |
From: <let...@us...> - 2002-05-30 22:43:07
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/webapp/resources In directory usw-pr-cvs1:/tmp/cvs-serv21356/jndi.browser/src/webapp/resources Modified Files: struts-config.xml Log Message: Basic Web App Index: struts-config.xml =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/webapp/resources/struts-config.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** struts-config.xml 24 May 2002 21:16:36 -0000 1.1 --- struts-config.xml 30 May 2002 22:43:05 -0000 1.2 *************** *** 5,9 **** <!-- ========== Data Source Configuration =============================== --> <!-- ========== Form Bean Definitions =================================== --> ! <form-beans/> <!-- ========== Global Forward Definitions ============================== --> <global-forwards> --- 5,11 ---- <!-- ========== Data Source Configuration =============================== --> <!-- ========== Form Bean Definitions =================================== --> ! <form-beans> ! <form-bean name="viewForm" type="net.sourceforge.ejtools.jndibrowser.web.form.ViewForm"/> ! </form-beans> <!-- ========== Global Forward Definitions ============================== --> <global-forwards> *************** *** 12,16 **** <!-- ========== Action Mapping Definitions ============================== --> <action-mappings> ! <action path="/connect" type="net.sourceforge.ejtools.jndibrowser.web.action.ConnectAction"> <forward name="view" path="/index.jsp"/> </action> --- 14,21 ---- <!-- ========== Action Mapping Definitions ============================== --> <action-mappings> ! <action path="/connect" type="net.sourceforge.ejtools.jndibrowser.web.action.ViewAction"> ! <forward name="view" path="/index.jsp"/> ! </action> ! <action path="/view" type="net.sourceforge.ejtools.jndibrowser.web.action.ViewAction"> <forward name="view" path="/index.jsp"/> </action> |
From: <let...@us...> - 2002-05-30 22:41:48
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/resources/images In directory usw-pr-cvs1:/tmp/cvs-serv20614/jndi.browser/src/resources/images Removed Files: File16.gif Folder16.gif Log Message: Use j2ee.icons resources --- File16.gif DELETED --- --- Folder16.gif DELETED --- |
From: <let...@us...> - 2002-05-30 22:41:48
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/resources/images/jms In directory usw-pr-cvs1:/tmp/cvs-serv20614/jndi.browser/src/resources/images/jms Removed Files: ByteMessage16.gif MapMessage16.gif Message16.gif ObjectMessage16.gif Queue16.gif StreamMessage16.gif TextMessage16.gif Topic16.gif Log Message: Use j2ee.icons resources --- ByteMessage16.gif DELETED --- --- MapMessage16.gif DELETED --- --- Message16.gif DELETED --- --- ObjectMessage16.gif DELETED --- --- Queue16.gif DELETED --- --- StreamMessage16.gif DELETED --- --- TextMessage16.gif DELETED --- --- Topic16.gif DELETED --- |
From: <let...@us...> - 2002-05-30 22:41:30
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/resources/images In directory usw-pr-cvs1:/tmp/cvs-serv20449/jndi.browser/src/resources/images Modified Files: logo.png Log Message: Logo is now on transparent background Index: logo.png =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/resources/images/logo.png,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsHg08yf and /tmp/cvsOfxWTk differ |
Update of /cvsroot/ejtools/applications/jndi.browser/src/resources/net/sourceforge/ejtools/jndibrowser/model/jms In directory usw-pr-cvs1:/tmp/cvs-serv20225/jndi.browser/src/resources/net/sourceforge/ejtools/jndibrowser/model/jms Removed Files: BytesMessageProxyBeanInfo.properties ConnectionFactoryProxyBeanInfo.properties MapMessageProxyBeanInfo.properties MessageProxyBeanInfo.properties ObjectMessageProxyBeanInfo.properties QueueProxyBeanInfo.properties QueueProxyBeanInfo_fr_FR.properties StreamMessageProxyBeanInfo.properties TextMessageProxyBeanInfo.properties TopicProxyBeanInfo.properties Log Message: BeanInfo properties generation change --- BytesMessageProxyBeanInfo.properties DELETED --- --- ConnectionFactoryProxyBeanInfo.properties DELETED --- --- MapMessageProxyBeanInfo.properties DELETED --- --- MessageProxyBeanInfo.properties DELETED --- --- ObjectMessageProxyBeanInfo.properties DELETED --- --- QueueProxyBeanInfo.properties DELETED --- --- QueueProxyBeanInfo_fr_FR.properties DELETED --- --- StreamMessageProxyBeanInfo.properties DELETED --- --- TextMessageProxyBeanInfo.properties DELETED --- --- TopicProxyBeanInfo.properties DELETED --- |
Update of /cvsroot/ejtools/applications/jndi.browser/src/resources/net/sourceforge/ejtools/jndibrowser/model/ejb In directory usw-pr-cvs1:/tmp/cvs-serv20225/jndi.browser/src/resources/net/sourceforge/ejtools/jndibrowser/model/ejb Removed Files: EJBHomeProxyBeanInfo.properties EJBHomeProxyBeanInfo_fr_FR.properties EJBObjectProxyBeanInfo.properties Log Message: BeanInfo properties generation change --- EJBHomeProxyBeanInfo.properties DELETED --- --- EJBHomeProxyBeanInfo_fr_FR.properties DELETED --- --- EJBObjectProxyBeanInfo.properties DELETED --- |
From: <let...@us...> - 2002-05-30 22:41:02
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/resources/net/sourceforge/ejtools/jndibrowser/model In directory usw-pr-cvs1:/tmp/cvs-serv20225/jndi.browser/src/resources/net/sourceforge/ejtools/jndibrowser/model Removed Files: JNDIContextBeanInfo.properties JNDIContextBeanInfo_fr_FR.properties JNDIEntryBeanInfo.properties JNDIEntryBeanInfo_fr_FR.properties ServerBeanInfo.properties ServerBeanInfo_fr_FR.properties Log Message: BeanInfo properties generation change --- JNDIContextBeanInfo.properties DELETED --- --- JNDIContextBeanInfo_fr_FR.properties DELETED --- --- JNDIEntryBeanInfo.properties DELETED --- --- JNDIEntryBeanInfo_fr_FR.properties DELETED --- --- ServerBeanInfo.properties DELETED --- --- ServerBeanInfo_fr_FR.properties DELETED --- |
From: <let...@us...> - 2002-05-30 22:40:14
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/etc In directory usw-pr-cvs1:/tmp/cvs-serv19595/jndi.browser/src/etc Modified Files: jndi.browser.mf run.mf Log Message: Adjust classpath Index: jndi.browser.mf =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/etc/jndi.browser.mf,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** jndi.browser.mf 22 Apr 2002 17:39:24 -0000 1.1 --- jndi.browser.mf 30 May 2002 22:40:11 -0000 1.2 *************** *** 1,2 **** ! Class-Path: . ! --- 1 ---- ! Class-Path: . Index: run.mf =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/etc/run.mf,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** run.mf 30 Apr 2002 21:12:20 -0000 1.2 --- run.mf 30 May 2002 22:40:11 -0000 1.3 *************** *** 1,10 **** ! Main-Class: net.sourceforge.ejtools.jndibrowser.Main ! Class-Path: ../conf/ ../lib/log4j.jar ! ! Name: net/sourceforge/ejtools/jndiview/ ! Specification-Title: @module.name@ @version.major@.@version.minor@.@version.revision@-@version.tag@ ! Specification-Version: @version.major@.@version.minor@.@version.revision@-@version.tag@ ! Specification-Vendor: EJTools Project ! Implementation-Title: @module.name@ @version.major@.@version.minor@.@version.revision@-@version.tag@ ! Implementation-Version: @version.major@.@version.minor@.@version.revision@-@version.tag@ ! Implementation-Vendor: EJTools Project --- 1,10 ---- ! Main-Class: net.sourceforge.ejtools.jndibrowser.Main ! Class-Path: ../conf/ ../lib/log4j.jar ! ! Name: net/sourceforge/ejtools/jndibrowser/ ! Specification-Title: @module.name@ @version.major@.@version.minor@.@version.revision@-@version.tag@ ! Specification-Version: @version.major@.@version.minor@.@version.revision@-@version.tag@ ! Specification-Vendor: EJTools Project ! Implementation-Title: @module.name@ @version.major@.@version.minor@.@version.revision@-@version.tag@ ! Implementation-Version: @version.major@.@version.minor@.@version.revision@-@version.tag@ ! Implementation-Vendor: EJTools Project |
From: <let...@us...> - 2002-05-30 22:40:02
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/etc/beaninfo/jms In directory usw-pr-cvs1:/tmp/cvs-serv19465/jndi.browser/src/etc/beaninfo/jms Removed Files: BytesMessageProxy.xml ConnectionFactoryProxy.xml MapMessageProxy.xml MessageProxy.xml ObjectMessageProxy.xml QueueProxy.xml StreamMessageProxy.xml TextMessageProxy.xml TopicProxy.xml Log Message: BeanInfo generation change --- BytesMessageProxy.xml DELETED --- --- ConnectionFactoryProxy.xml DELETED --- --- MapMessageProxy.xml DELETED --- --- MessageProxy.xml DELETED --- --- ObjectMessageProxy.xml DELETED --- --- QueueProxy.xml DELETED --- --- StreamMessageProxy.xml DELETED --- --- TextMessageProxy.xml DELETED --- --- TopicProxy.xml DELETED --- |
From: <let...@us...> - 2002-05-30 22:40:02
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/etc/beaninfo In directory usw-pr-cvs1:/tmp/cvs-serv19465/jndi.browser/src/etc/beaninfo Removed Files: JNDIContext.xml JNDIEntry.xml Server.xml Log Message: BeanInfo generation change --- JNDIContext.xml DELETED --- --- JNDIEntry.xml DELETED --- --- Server.xml DELETED --- |
From: <let...@us...> - 2002-05-30 22:39:54
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/etc/beaninfo/ejb In directory usw-pr-cvs1:/tmp/cvs-serv19409/jndi.browser/src/etc/beaninfo/ejb Removed Files: EJBHomeProxy.xml EJBObjectProxy.xml Log Message: BeanInfo generation change --- EJBHomeProxy.xml DELETED --- --- EJBObjectProxy.xml DELETED --- |
From: <let...@us...> - 2002-05-30 22:39:10
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/conf In directory usw-pr-cvs1:/tmp/cvs-serv18990/jndi.browser/src/conf Added Files: README README_JBOSS_3.0.0RC2 README_JBOSS_3.0.0RC3 Log Message: Add README --- NEW FILE: README --- * ------------------------------------------------------------ * * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. * * Feedback and support at http://sourceforge/project/ejtools * * ------------------------------------------------------------ See application server specific README for detailed configuration. --- NEW FILE: README_JBOSS_3.0.0RC2 --- * ------------------------------------------------------------ * * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. * * Feedback and support at http://sourceforge/project/ejtools * * ------------------------------------------------------------ To use the Swing based JNDI Browser under JBoss 3.0.0RC2, do as follow : - copy all the jars files under the client folder of JBoss installation ($JBOSS_HOME/client or %JBOSS_HOME\client) to the lib/ext folder of JNDI Brower. - copy the jboss-jmx.jar file under the lib folder of JBoss installation ($JBOSS_HOME/client or %JBOSS_HOME\client) to the lib/ext folder of JNDI Brower. That's it. --- NEW FILE: README_JBOSS_3.0.0RC3 --- * ------------------------------------------------------------ * * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. * * Feedback and support at http://sourceforge/project/ejtools * * ------------------------------------------------------------ To use the Swing based JNDI Browser under JBoss 3.0.0RC3, do as follow : - copy all the jars files under the client folder of JBoss installation ($JBOSS_HOME/client or %JBOSS_HOME\client) to the lib/ext folder of JNDI Brower. - copy the jboss-jmx.jar file under the lib folder of JBoss installation ($JBOSS_HOME/client or %JBOSS_HOME\client) to the lib/ext folder of JNDI Brower. That's it. |
Update of /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser In directory usw-pr-cvs1:/tmp/cvs-serv18419/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser Modified Files: AboutDialog.java JNDIBrowser.java Main.java SelectFactoryAction.java SplashWindow.java Log Message: Basic App Index: AboutDialog.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/AboutDialog.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 Index: JNDIBrowser.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/JNDIBrowser.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 Index: Main.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/Main.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 Index: SelectFactoryAction.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/SelectFactoryAction.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 Index: SplashWindow.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/SplashWindow.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 |
From: <let...@us...> - 2002-05-30 22:37:57
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/web/taglib In directory usw-pr-cvs1:/tmp/cvs-serv18235/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/web/taglib Modified Files: ConnectTag.java TreeRendererImpl.java Log Message: Basic Web App Index: ConnectTag.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/web/taglib/ConnectTag.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ConnectTag.java 24 May 2002 21:19:13 -0000 1.1 --- ConnectTag.java 30 May 2002 22:37:55 -0000 1.2 *************** *** 25,29 **** private String name = Constants.TREE; /** The page to which we should forward for the user to log on. */ ! private String page = "/connect.do"; --- 25,29 ---- private String name = Constants.TREE; /** The page to which we should forward for the user to log on. */ ! private String page = "/view.do"; Index: TreeRendererImpl.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/web/taglib/TreeRendererImpl.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TreeRendererImpl.java 24 May 2002 21:19:13 -0000 1.1 --- TreeRendererImpl.java 30 May 2002 22:37:55 -0000 1.2 *************** *** 7,12 **** package net.sourceforge.ejtools.jndibrowser.web.taglib; import net.sourceforge.ejtools.jndibrowser.model.JNDIContext; ! import net.sourceforge.ejtools.jndibrowser.model.JNDIEntry; import net.sourceforge.ejtools.servlet.http.jsp.tagext.TreeRenderer; --- 7,19 ---- package net.sourceforge.ejtools.jndibrowser.web.taglib; + import java.util.Hashtable; + import net.sourceforge.ejtools.jndibrowser.model.JNDIContext; ! import net.sourceforge.ejtools.jndibrowser.model.JNDILinkRef; ! import net.sourceforge.ejtools.jndibrowser.model.ejb.EJBHomeProxy; ! import net.sourceforge.ejtools.jndibrowser.model.jms.ConnectionFactoryProxy; ! import net.sourceforge.ejtools.jndibrowser.model.jms.QueueProxy; ! import net.sourceforge.ejtools.jndibrowser.model.jms.TopicProxy; ! import net.sourceforge.ejtools.jndibrowser.model.mail.SessionProxy; import net.sourceforge.ejtools.servlet.http.jsp.tagext.TreeRenderer; *************** *** 20,23 **** --- 27,34 ---- public class TreeRendererImpl implements TreeRenderer { + /** Description of the Field */ + protected static Hashtable icons = new Hashtable(); + + /** * Gets the icon attribute of the TreeRendererImpl object *************** *** 28,40 **** public String getIcon(Object o) { ! if (net.sourceforge.ejtools.jndibrowser.model.JNDIContext.class.equals(o.getClass())) ! { ! return "images/tree/folder.gif"; ! } ! if (net.sourceforge.ejtools.jndibrowser.model.JNDIEntry.class.equals(o.getClass())) { ! return "images/tree/page.gif"; } ! return null; } } --- 39,61 ---- public String getIcon(Object o) { ! String icon = (String) icons.get(o.getClass()); ! ! if (icon == null) { ! icon = "images/toolbarButtonGraphics/general/File16.gif"; } ! return icon; ! } ! ! /** Map of the class/icons */ ! static ! { ! icons.put(net.sourceforge.ejtools.jndibrowser.model.JNDIContext.class, "images/toolbarButtonGraphics/general/Folder16.gif"); ! icons.put(net.sourceforge.ejtools.jndibrowser.model.JNDILinkRef.class, "images/toolbarButtonGraphics/general/File16.gif"); ! icons.put(net.sourceforge.ejtools.jndibrowser.model.ejb.EJBHomeProxy.class, "images/toolbarButtonGraphics/development/EJB16.gif"); ! icons.put(net.sourceforge.ejtools.jndibrowser.model.jms.QueueProxy.class, "images/toolbarButtonGraphics/development/jms/Queue16.gif"); ! icons.put(net.sourceforge.ejtools.jndibrowser.model.jms.TopicProxy.class, "images/toolbarButtonGraphics/development/jms/Topic16.gif"); ! icons.put(net.sourceforge.ejtools.jndibrowser.model.jms.ConnectionFactoryProxy.class, "images/toolbarButtonGraphics/development/Node16.gif"); ! icons.put(net.sourceforge.ejtools.jndibrowser.model.mail.SessionProxy.class, "images/toolbarButtonGraphics/development/JavaMailResource16.gif"); } } |
From: <let...@us...> - 2002-05-30 22:37:57
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/web/form In directory usw-pr-cvs1:/tmp/cvs-serv18235/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/web/form Added Files: ViewForm.java Log Message: Basic Web App --- NEW FILE: ViewForm.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.jndibrowser.web.form; import javax.servlet.http.HttpServletRequest; import net.sourceforge.ejtools.jndibrowser.model.Server; import org.apache.struts.action.ActionErrors; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionMapping; /** * Description of the Class * * @author letiemble * @created 13 février 2002 * @todo Javadoc to complete */ public class ViewForm extends ActionForm { /** Description of the Field */ protected int searchType = Server.SHALLOW_SEARCH; /** Constructor for the ViewForm object */ public ViewForm() { } /** * Gets the searchType attribute of the ViewForm object * * @return The searchType value */ public int getSearchType() { return searchType; } /** * Description of the Method * * @param mapping Description of the Parameter * @param request Description of the Parameter */ public void reset(ActionMapping mapping, HttpServletRequest request) { this.searchType = Server.SHALLOW_SEARCH; } /** * Sets the searchType attribute of the ViewForm object * * @param searchType The new searchType value */ public void setSearchType(int searchType) { this.searchType = searchType; } /** * Description of the Method * * @param mapping Description of the Parameter * @param request Description of the Parameter * @return Description of the Return Value */ public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { return new ActionErrors(); } } |
Update of /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/web/action In directory usw-pr-cvs1:/tmp/cvs-serv18235/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/web/action Modified Files: DetailAction.java Added Files: ViewAction.java Removed Files: ConnectAction.java Log Message: Basic Web App --- NEW FILE: ViewAction.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.jndibrowser.web.action; import java.io.IOException; import java.util.Locale; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import net.sourceforge.ejtools.jndibrowser.model.Server; import net.sourceforge.ejtools.jndibrowser.web.Constants; import net.sourceforge.ejtools.jndibrowser.web.JNDIContainer; import org.apache.log4j.Category; import org.apache.struts.action.Action; import org.apache.struts.action.ActionErrors; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; import org.apache.struts.util.MessageResources; /** * Description of the Class * * @author letiemble * @created 12 novembre 2001 * @todo Javadoc to complete */ public class ViewAction extends Action { /** Description of the Field */ private static Category logger = Category.getInstance(ViewAction.class.getName()); /** Constructor for the ViewAction object */ public ViewAction() { } /** * Description of the Method * * @param mapping Description of Parameter * @param form Description of Parameter * @param request Description of Parameter * @param response Description of Parameter * @return Description of the Returned Value * @exception IOException Description of Exception * @exception ServletException Description of Exception */ public ActionForward perform(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { JNDIContainer javaTree = null; JNDIContainer globalTree = null; // Extract attributes we will need Locale locale = getLocale(request); MessageResources messages = getResources(); // Validate the request parameters specified by the user ActionErrors errors = new ActionErrors(); logger.debug("Connecting to JNDI..."); // Report any errors we have discovered back to the original form if (!errors.empty()) { saveErrors(request, errors); return (new ActionForward(mapping.getInput())); } ServletContext context = this.getServlet().getServletContext(); javaTree = (JNDIContainer) context.getAttribute(Constants.JAVA_TREE); globalTree = (JNDIContainer) context.getAttribute(Constants.GLOBAL_TREE); if (javaTree == null) { javaTree = new JNDIContainer(); javaTree.setContext("java:"); context.setAttribute(Constants.JAVA_TREE, javaTree); } if (globalTree == null) { globalTree = new JNDIContainer(); globalTree.setContext(""); context.setAttribute(Constants.GLOBAL_TREE, globalTree); } String search = request.getParameter("search"); if ("D".equals(search)) { javaTree.setSearchType(Server.DEEP_SEARCH); globalTree.setSearchType(Server.DEEP_SEARCH); } else { javaTree.setSearchType(Server.SHALLOW_SEARCH); globalTree.setSearchType(Server.SHALLOW_SEARCH); } javaTree.refresh(); globalTree.refresh(); return (mapping.findForward("view")); } } Index: DetailAction.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/web/action/DetailAction.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** DetailAction.java 25 May 2002 20:54:02 -0000 1.2 --- DetailAction.java 30 May 2002 22:37:54 -0000 1.3 *************** *** 103,107 **** context.setAttribute(Constants.DETAIL_INFO, info); System.out.println("Info " + info); ! BeanDescriptor descriptor = info.getBeanDescriptor(); context.setAttribute(Constants.DETAIL_INFO_DESCRIPTOR, descriptor); --- 103,107 ---- context.setAttribute(Constants.DETAIL_INFO, info); System.out.println("Info " + info); ! BeanDescriptor descriptor = info.getBeanDescriptor(); context.setAttribute(Constants.DETAIL_INFO_DESCRIPTOR, descriptor); --- ConnectAction.java DELETED --- |
From: <let...@us...> - 2002-05-30 22:37:56
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/web In directory usw-pr-cvs1:/tmp/cvs-serv18235/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/web Modified Files: Constants.java JNDIContainer.java Added Files: SearchTypeConstants.java Log Message: Basic Web App --- NEW FILE: SearchTypeConstants.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.jndibrowser.web; import java.io.Serializable; import java.util.Collection; import java.util.ResourceBundle; import java.util.Vector; import net.sourceforge.ejtools.jndibrowser.model.Server; /** * Custom editor for the search depth. * * @author letiemble * @created 2 janvier 2002 * @version $Revision: 1.3 $ */ public class SearchTypeConstants implements Serializable { /** Description of the Field */ protected Vector labels; /** Description of the Field */ protected Vector values; /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("ApplicationResources"); /** Constructor for the SearchTypeEditor object */ public SearchTypeConstants() { labels = new Vector(); labels.add(res.getString("text.editor.SearchTypeEditor.shallow")); labels.add(res.getString("text.editor.SearchTypeEditor.deep")); values = new Vector(); values.add(new Integer(Server.SHALLOW_SEARCH)); values.add(new Integer(Server.DEEP_SEARCH)); } /** * Gets the labels attribute of the SearchTypeConstants object * * @return The labels value */ public Collection getLabels() { return labels; } /** * Gets the values attribute of the SearchTypeConstants object * * @return The values value */ public Collection getValues() { return values; } } Index: Constants.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/web/Constants.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Constants.java 25 May 2002 20:54:10 -0000 1.2 --- Constants.java 30 May 2002 22:37:53 -0000 1.3 *************** *** 23,28 **** /** Description of the Field */ public final static String DETAIL_INFO = "detail.info"; ! public final static String DETAIL_INFO_DESCRIPTOR="detail.info.descriptor"; ! public final static String DETAIL_INFO_PROPERTIES="detail.info.properties"; /** Description of the Field */ public final static String DOMAIN = "domain"; --- 23,30 ---- /** Description of the Field */ public final static String DETAIL_INFO = "detail.info"; ! /** Description of the Field */ ! public final static String DETAIL_INFO_DESCRIPTOR = "detail.info.descriptor"; ! /** Description of the Field */ ! public final static String DETAIL_INFO_PROPERTIES = "detail.info.properties"; /** Description of the Field */ public final static String DOMAIN = "domain"; Index: JNDIContainer.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/web/JNDIContainer.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** JNDIContainer.java 24 May 2002 21:19:13 -0000 1.1 --- JNDIContainer.java 30 May 2002 22:37:53 -0000 1.2 *************** *** 50,61 **** - /** Description of the Method */ - public void connect() - { - server.connect(); - registerContent(server); - } - - /** * Getter for the server attribute --- 50,53 ---- *************** *** 73,76 **** --- 65,69 ---- { server.refresh(); + registerContent(server); } *************** *** 100,103 **** --- 93,107 ---- { server.setContext(context); + } + + + /** + * Sets the searchType attribute of the JNDIContainer object + * + * @param searchType The new searchType value + */ + public void setSearchType(int searchType) + { + server.setSearchType(searchType); } |
Update of /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model In directory usw-pr-cvs1:/tmp/cvs-serv17918/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model Modified Files: JNDIContext.java JNDIEntry.java Server.java Added Files: JNDILinkRef.java Proxy.java Log Message: Add support for BeanInfo generation bby XDoclet --- NEW FILE: JNDILinkRef.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.jndibrowser.model; import javax.naming.Context; import javax.naming.LinkRef; /** * Describe a simple JNDI Link Reference. * * @author letiemble * @created 13 décembre 2001 * @version $Revision: 1.3 $ * @todo Javadoc to complete * @javabean:class displayName="JNDI LinkRef" shortDescription="JNDI Link Reference" * @javabean:icons color16="/toolbarButtonGraphics/general/File16.gif" * @javabean:property name="name" class="java.lang.String" displayName="Name" shortDescription="Name of the entry" * @javabean:property name="className" class="java.lang.String" displayName="Class" shortDescription="Class of the entry" * @javabean:property name="path" class="java.lang.String" displayName="Full Path" shortDescription="Absolute path of the context" * @javabean:property name="linkName" class="java.lang.String" displayName="Link Reference" shortDescription="Link Reference" */ public class JNDILinkRef extends JNDIEntry { /** Class name of the context */ protected String linkName = ""; /** Description of the Field */ protected LinkRef ref; /** * Constructor for the JNDILinkRef object * * @param context Description of the Parameter * @param jndiName Description of the Parameter * @exception Exception Description of the Exception */ public JNDILinkRef(Context context, String jndiName) throws Exception { setName(jndiName); Object o = context.lookupLink(jndiName); setClassName(o.getClass().getName()); ref = (LinkRef) o; setLinkName(ref.getLinkName()); } /** * Gets the linkName attribute of the JNDILinkRef object * * @return The linkName value */ public String getLinkName() { return this.linkName; } /** * Sets the linkName attribute of the JNDILinkRef object * * @param linkName The new linkName value */ protected void setLinkName(String linkName) { this.linkName = linkName; } } --- NEW FILE: Proxy.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.jndibrowser.model; import javax.naming.Context; /** * Describe a Proyx entry. * * @author letiemble * @created 13 décembre 2001 * @version $Revision: 1.3 $ * @todo Javadoc to complete * @javabean:class displayName="Proxy Class" shortDescription="Proxy Class" * @javabean:icons color16="/toolbarButtonGraphics/general/File16.gif" * @javabean:property name="name" class="java.lang.String" displayName="Name" shortDescription="Name of the entry" * @javabean:property name="className" class="java.lang.String" displayName="Class" shortDescription="Class of the entry" * @javabean:property name="path" class="java.lang.String" displayName="Full Path" shortDescription="Absolute path of the context" * @javabean:property name="interfaces" class="java.lang.Class" displayName="Interfaces" shortDescription="Interfaces implemented by this proxy" */ public class Proxy extends JNDIEntry { /** Description of the Field */ protected Object proxy = null; /** * Constructor for the JNDILinkRef object * * @param context Description of the Parameter * @param jndiName Description of the Parameter * @exception Exception Description of the Exception */ public Proxy(Context context, String jndiName) throws Exception { Object o = context.lookup(jndiName); if (java.lang.reflect.Proxy.isProxyClass(o.getClass())) { proxy = o; } else { if (o.getClass().getName().startsWith("$Proxy")) { proxy = o; } } if (proxy == null) { throw new Exception("This object is not a proxy"); } } /** * Gets the linkName attribute of the JNDILinkRef object * * @return The linkName value */ public Class[] getInterfaces() { return proxy.getClass().getInterfaces(); } } Index: JNDIContext.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/JNDIContext.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** JNDIContext.java 25 May 2002 20:54:47 -0000 1.6 --- JNDIContext.java 30 May 2002 22:37:26 -0000 1.7 *************** *** 1,212 **** ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package net.sourceforge.ejtools.jndibrowser.model; ! ! import java.awt.Component; ! import java.beans.Customizer; ! import java.beans.beancontext.BeanContext; ! import java.beans.beancontext.BeanContextChild; ! import java.beans.beancontext.BeanContextChildComponentProxy; ! import java.beans.beancontext.BeanContextServiceRevokedListener; ! import java.beans.beancontext.BeanContextServices; ! import java.beans.beancontext.BeanContextServicesSupport; ! import java.util.Iterator; ! import java.util.TooManyListenersException; ! ! import net.sourceforge.ejtools.awt.GenericCustomizer; ! import net.sourceforge.ejtools.util.Sort; ! ! import org.apache.log4j.Category; ! ! /** ! * Ancestor of all element in the JNDI tree. Represents a JNDI Context and can contains other context. ! * ! * @author letiemble ! * @created 13 décembre 2001 ! * @version $Revision$ ! * @beaninfo:class displayName="JNDI Context" shortDescription="JNDI Context" ! * @beaninfo:icons color16="/toolbarButtonGraphics/general/Folder16.gif" ! * @beaninfo:property name="name" class="java.lang.String" displayName="Name" shortDescription="Name of the context" ! * @beaninfo:property name="path" class="java.lang.String" displayName="Full Path" shortDescription="Absolute path of the context" ! */ ! public class JNDIContext extends BeanContextServicesSupport implements BeanContextChildComponentProxy ! { ! /** Customizer of the JavaBean */ ! protected transient Customizer c = null; ! /** Class name of the context */ ! protected String className = ""; ! /** Name of the context */ ! protected String name = ""; ! /** Description of the Field */ ! private static Category logger = Category.getInstance(JNDIContext.class); ! ! ! /** Constructor for the JndiServer object */ ! public JNDIContext() ! { ! super(); ! } ! ! ! /** ! * Gets the class name of the context ! * ! * @return The class name string ! */ ! public String getClassName() ! { ! return this.className; ! } ! ! ! /** ! * Gets the JavaBean customizer of the context ! * ! * @return The customizer ! */ ! public Component getComponent() ! { ! // Lazy creation ! if (c == null) ! { ! c = new GenericCustomizer(true, this); ! } ! return (Component) c; ! } ! ! ! /** ! * Gets the name of the context ! * ! * @return The name string ! */ ! public String getName() ! { ! return this.name; ! } ! ! ! /** ! * Get the absolute JNDI path of the context ! * ! * @return The path value ! */ ! public String getPath() ! { ! try ! { ! BeanContext parent = getBeanContext(); ! if (parent != null) ! { ! JNDIContext context = (JNDIContext) parent; ! String path = context.getPath(); ! if ((path == null) || ("".equals(path))) ! { ! return (getName()); ! } ! else ! { ! return (path + "/" + getName()); ! } ! } ! else ! { ! return ""; ! } ! } ! catch (Exception e) ! { ! logger.warn("Oops, not in a JNDIContext"); ! } ! return null; ! } ! ! ! /** ! * Override of BeanContextServicesSupport to allow recursive access to BeanContext services ! * ! * @param child Child which requested the service ! * @param requestor Requester of the service ! * @param serviceClass Class of the service ! * @param serviceSelector Selector for the service ! * @param bcsrl Listener for the revocation ! * @return The requested service ! * @exception TooManyListenersException Exception in case of error ! */ ! public Object getService(BeanContextChild child, ! Object requestor, ! Class serviceClass, ! Object serviceSelector, ! BeanContextServiceRevokedListener bcsrl) throws TooManyListenersException ! { ! Object service = super.getService(child, requestor, serviceClass, serviceSelector, bcsrl); ! ! // If the service requested is not provided by this BeanContext, try the parent ! if (service == null) ! { ! BeanContextServices bcs = null; ! ! try ! { ! bcs = (BeanContextServices) getBeanContext(); ! } ! catch (ClassCastException cce) ! { ! // Ignore it ! return null; ! } ! ! return bcs.getService(this, requestor, serviceClass, serviceSelector, bcsrl); ! } ! ! return service; ! } ! ! ! /** ! * Return the children of this context as an iterator ! * ! * @return The sorted iterator by class and by name ! */ ! public Iterator iterator() ! { ! return Sort.sortByClassAndName(super.iterator()); ! } ! ! ! /** ! * Implementation of toString() method ! * ! * @return The name of the context ! */ ! public String toString() ! { ! return name == null ? "Undefined" : name; ! } ! ! ! /** ! * Sets the class name of this context ! * ! * @param className The class name ! */ ! protected void setClassName(String className) ! { ! this.className = className; ! } ! ! ! /** ! * Sets the name of this context ! * ! * @param name The name ! */ ! protected void setName(String name) ! { ! this.name = name; ! } ! } --- 1,213 ---- ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package net.sourceforge.ejtools.jndibrowser.model; ! ! import java.awt.Component; ! import java.beans.Customizer; ! import java.beans.beancontext.BeanContext; ! import java.beans.beancontext.BeanContextChild; ! import java.beans.beancontext.BeanContextChildComponentProxy; ! import java.beans.beancontext.BeanContextServiceRevokedListener; ! import java.beans.beancontext.BeanContextServices; ! import java.beans.beancontext.BeanContextServicesSupport; ! import java.util.Iterator; ! import java.util.TooManyListenersException; ! ! import net.sourceforge.ejtools.awt.GenericCustomizer; ! import net.sourceforge.ejtools.util.Sort; ! ! import org.apache.log4j.Category; ! ! /** ! * Ancestor of all element in the JNDI tree. Represents a JNDI Context and can contains other context. ! * ! * @author letiemble ! * @created 13 décembre 2001 ! * @version $Revision$ ! * @javabean:class displayName="JNDI Context" shortDescription="JNDI Context" ! * @javabean:icons color16="/toolbarButtonGraphics/general/Folder16.gif" ! * @javabean:property name="name" class="java.lang.String" displayName="Name" shortDescription="Name of the context" ! * @javabean:property name="path" class="java.lang.String" displayName="Full Path" shortDescription="Absolute path of the context" ! */ ! public class JNDIContext extends BeanContextServicesSupport implements BeanContextChildComponentProxy ! { ! /** Customizer of the JavaBean */ ! protected transient Customizer c = null; ! /** Class name of the context */ ! protected String className = ""; ! /** Name of the context */ ! protected String name = ""; ! /** Description of the Field */ ! private static Category logger = Category.getInstance(JNDIContext.class); ! ! ! /** Constructor for the JndiServer object */ ! public JNDIContext() ! { ! super(); ! } ! ! ! /** ! * Gets the class name of the context ! * ! * @return The class name string ! */ ! public String getClassName() ! { ! return this.className; ! } ! ! ! /** ! * Gets the JavaBean customizer of the context ! * ! * @return The customizer ! */ ! public Component getComponent() ! { ! // Lazy creation ! if (c == null) ! { ! c = new GenericCustomizer(true, this); ! } ! return (Component) c; ! } ! ! ! /** ! * Gets the name of the context ! * ! * @return The name string ! */ ! public String getName() ! { ! return this.name; ! } ! ! ! /** ! * Get the absolute JNDI path of the context ! * ! * @return The path value ! */ ! public String getPath() ! { ! try ! { ! BeanContext parent = getBeanContext(); ! if (parent != null) ! { ! JNDIContext context = (JNDIContext) parent; ! String path = context.getPath(); ! if ((path == null) || ("".equals(path))) ! { ! return (getName()); ! } ! else ! { ! return (path + "/" + getName()); ! } ! } ! else ! { ! return ""; ! } ! } ! catch (Exception e) ! { ! logger.warn("Oops, not in a JNDIContext"); ! } ! return null; ! } ! ! ! /** ! * Override of BeanContextServicesSupport to allow recursive access to BeanContext services ! * ! * @param child Child which requested the service ! * @param requestor Requester of the service ! * @param serviceClass Class of the service ! * @param serviceSelector Selector for the service ! * @param bcsrl Listener for the revocation ! * @return The requested service ! * @exception TooManyListenersException Exception in case of error ! */ ! public Object getService(BeanContextChild child, ! Object requestor, ! Class serviceClass, ! Object serviceSelector, ! BeanContextServiceRevokedListener bcsrl) throws TooManyListenersException ! { ! Object service = super.getService(child, requestor, serviceClass, serviceSelector, bcsrl); ! ! // If the service requested is not provided by this BeanContext, try the parent ! if (service == null) ! { ! BeanContextServices bcs = null; ! ! try ! { ! bcs = (BeanContextServices) getBeanContext(); ! } ! catch (ClassCastException cce) ! { ! // Ignore it ! return null; ! } ! ! return bcs.getService(this, requestor, serviceClass, serviceSelector, bcsrl); ! } ! ! return service; ! } ! ! ! /** ! * Return the children of this context as an iterator ! * ! * @return The sorted iterator by class and by name ! */ ! public Iterator iterator() ! { ! return Sort.sortByName(super.iterator()); ! // return Sort.sortByClassAndName(super.iterator()); ! } ! ! ! /** ! * Implementation of toString() method ! * ! * @return The name of the context ! */ ! public String toString() ! { ! return name == null ? "Undefined" : name; ! } ! ! ! /** ! * Sets the class name of this context ! * ! * @param className The class name ! */ ! protected void setClassName(String className) ! { ! this.className = className; ! } ! ! ! /** ! * Sets the name of this context ! * ! * @param name The name ! */ ! protected void setName(String name) ! { ! this.name = name; ! } ! } Index: JNDIEntry.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/JNDIEntry.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** JNDIEntry.java 25 May 2002 20:54:47 -0000 1.6 --- JNDIEntry.java 30 May 2002 22:37:26 -0000 1.7 *************** *** 14,22 **** * @created 13 décembre 2001 * @version $Revision$ ! * @beaninfo:class displayName="JNDI Entry" shortDescription="JNDI Entry" ! * @beaninfo:icons color16="/toolbarButtonGraphics/general/File16.gif" ! * @beaninfo:property name="name" class="java.lang.String" displayName="Name" shortDescription="Name of the entry" ! * @beaninfo:property name="className" class="java.lang.String" displayName="Class" shortDescription="Class of the entry" ! * @beaninfo:property name="path" class="java.lang.String" displayName="Full Path" shortDescription="Absolute path of the context" */ public class JNDIEntry extends JNDIContext --- 14,22 ---- * @created 13 décembre 2001 * @version $Revision$ ! * @javabean:class displayName="JNDI Entry" shortDescription="JNDI Entry" ! * @javabean:icons color16="/toolbarButtonGraphics/general/File16.gif" ! * @javabean:property name="name" class="java.lang.String" displayName="Name" shortDescription="Name of the entry" ! * @javabean:property name="className" class="java.lang.String" displayName="Class" shortDescription="Class of the entry" ! * @javabean:property name="path" class="java.lang.String" displayName="Full Path" shortDescription="Absolute path of the context" */ public class JNDIEntry extends JNDIContext Index: Server.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/Server.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Server.java 25 May 2002 20:54:47 -0000 1.7 --- Server.java 30 May 2002 22:37:26 -0000 1.8 *************** *** 7,13 **** package net.sourceforge.ejtools.jndibrowser.model; import java.lang.reflect.Proxy; import java.util.Collection; - import java.util.Hashtable; import java.util.Iterator; import java.util.Properties; --- 7,13 ---- package net.sourceforge.ejtools.jndibrowser.model; + import java.lang.reflect.Constructor; import java.lang.reflect.Proxy; import java.util.Collection; import java.util.Iterator; import java.util.Properties; *************** *** 21,25 **** import javax.naming.NamingEnumeration; import javax.naming.NamingException; - import javax.naming.NotContextException; import net.sourceforge.ejtools.jndibrowser.model.ejb.EJBHomeProxy; --- 21,24 ---- *************** *** 27,30 **** --- 26,30 ---- import net.sourceforge.ejtools.jndibrowser.model.jms.QueueProxy; import net.sourceforge.ejtools.jndibrowser.model.jms.TopicProxy; + import net.sourceforge.ejtools.jndibrowser.model.mail.SessionProxy; import org.apache.log4j.Category; *************** *** 38,48 **** * @todo Javadoc to complete * @todo Add log4j logs ! * @beaninfo:class displayName="JNDI Server" shortDescription="JNDI Server" ! * @beaninfo:icons color16="/toolbarButtonGraphics/development/Server16.gif" ! * @beaninfo:property name="factory" class="java.lang.String" displayName="Factory" shortDescription="JNDI context factory" ! * @beaninfo:property name="context" class="java.lang.String" displayName="Context" shortDescription="Initial JNDI context" ! * @beaninfo:property name="packages" class="java.lang.String" displayName="Packages" shortDescription="Packages for context" ! * @beaninfo:property name="url" class="java.lang.String" displayName="URL" shortDescription="JNDI Server URL" ! * @beaninfo:property name="searchType" class="int" displayName="Browsing" shortDescription="JNDI context factory" propertyeditor="net.sourceforge.ejtools.jndibrowser.model.SearchTypeEditor" */ public class Server extends JNDIContext --- 38,48 ---- * @todo Javadoc to complete * @todo Add log4j logs ! * @javabean:class displayName="JNDI Server" shortDescription="JNDI Server" ! * @javabean:icons color16="/toolbarButtonGraphics/development/Server16.gif" ! * @javabean:property name="factory" class="java.lang.String" displayName="Factory" shortDescription="JNDI context factory" ! * @javabean:property name="packages" class="java.lang.String" displayName="Packages" shortDescription="Packages for context" ! * @javabean:property name="url" class="java.lang.String" displayName="URL" shortDescription="JNDI Server URL" ! * @javabean:property name="context" class="java.lang.String" displayName="Context" shortDescription="Initial JNDI context" ! * @javabean:property name="searchType" class="int" displayName="Browsing" shortDescription="JNDI context factory" propertyeditor="net.sourceforge.ejtools.jndibrowser.model.SearchTypeEditor" */ public class Server extends JNDIContext *************** *** 61,65 **** private static Category logger = Category.getInstance(Server.class); /** Description of the Field */ ! private static Hashtable proxies = new Hashtable(); /** Description of the Field */ public final static int DEEP_SEARCH = 0; --- 61,65 ---- private static Category logger = Category.getInstance(Server.class); /** Description of the Field */ ! private static Vector proxies = new Vector(); /** Description of the Field */ public final static int DEEP_SEARCH = 0; *************** *** 95,130 **** - /** Description of the Method */ - public void connect() - { - logger.debug("Cleaning JNDI tree..."); - Iterator iterator = iterator(); - while (iterator.hasNext()) - { - remove(iterator.next()); - } - - try - { - Context context = new InitialContext(); - context = (Context) context.lookup(getContext()); - - Vector content = new Vector(); - list(context, content); - - logger.debug("Populating JNDI tree..."); - Iterator it = content.iterator(); - while (it.hasNext()) - { - add(it.next()); - } - } - catch (Exception e) - { - logger.error("Exception " + e.getMessage()); - } - } - - /** * Gets the context attribute of the JNDIServer object --- 95,98 ---- *************** *** 196,200 **** * Description of the Method * ! * @beaninfo:method name="refresh" displayName="Refresh" shortDescription="Refresh the JNDI tree" */ public void refresh() --- 164,168 ---- * Description of the Method * ! * @javabean:method name="refresh" displayName="Refresh" shortDescription="Refresh the JNDI tree" */ public void refresh() *************** *** 217,226 **** logger.debug("Initial context with " + props); ! // context = (Context) context.lookup(this.getContext()); - logger.debug("Parsing context " + props); Vector content = new Vector(); ! this.iterateContext(context, this.getContext(), content); ! // this.iterateContext(context, "", content); logger.debug("Populating JNDI tree..."); --- 185,193 ---- logger.debug("Initial context with " + props); ! // Context context = new InitialContext(); ! context = (Context) context.lookup(getContext()); Vector content = new Vector(); ! list(context, content); logger.debug("Populating JNDI tree..."); *************** *** 233,237 **** catch (Exception e) { ! System.err.println("Exception " + e.getMessage()); } } --- 200,204 ---- catch (Exception e) { ! logger.error("Exception " + e.getMessage()); } } *************** *** 296,299 **** --- 263,297 ---- * Description of the Method * + * @param context Description of the Parameter + * @param jndiName Description of the Parameter + * @return Description of the Return Value + */ + protected JNDIContext createNode(Context context, String jndiName) + { + for (int i = 0; i < proxies.size(); i++) + { + Class clazz = (Class) proxies.elementAt(i); + + try + { + Constructor c = clazz.getConstructor(new Class[]{javax.naming.Context.class, java.lang.String.class}); + JNDIContext node = (JNDIContext) c.newInstance(new Object[]{context, jndiName}); + if (node != null) + { + return node; + } + } + catch (Exception e) + { + } + } + + return null; + } + + + /** + * Description of the Method + * * @param ctx Description of the Parameter * @param node Description of the Parameter *************** *** 307,312 **** while (ne.hasMore()) { NameClassPair pair = (NameClassPair) ne.next(); ! // logger.warn(">>> Pair: " + pair); String name = pair.getName(); --- 305,312 ---- while (ne.hasMore()) { + JNDIContext newNode = null; + NameClassPair pair = (NameClassPair) ne.next(); ! // logger.warn(">>> Pair: " + pair); String name = pair.getName(); *************** *** 314,321 **** boolean recursive = false; boolean isLinkRef = false; - boolean isProxy = false; ! // logger.warn("Name=" + name); ! // logger.warn("Class=" + className); Class c = null; --- 314,320 ---- boolean recursive = false; boolean isLinkRef = false; ! // logger.warn("Name=" + name); ! // logger.warn("Class=" + className); Class c = null; *************** *** 323,327 **** { c = loader.loadClass(className); ! // logger.warn("Class: " + c); if (Context.class.isAssignableFrom(c)) --- 322,326 ---- { c = loader.loadClass(className); ! // logger.warn("Class: " + c); if (Context.class.isAssignableFrom(c)) *************** *** 333,342 **** isLinkRef = true; } - - isProxy = Proxy.isProxyClass(c); } catch (ClassNotFoundException cnfe) { ! logger.warn("Exception " + cnfe.getMessage()); } catch (Exception e) --- 332,339 ---- isLinkRef = true; } } catch (ClassNotFoundException cnfe) { ! logger.warn("ClassNotFoundException " + cnfe.getMessage()); } catch (Exception e) *************** *** 345,358 **** } if (recursive) { ! JNDIContext newNode = new JNDIContext(); newNode.setName(name); newNode.setClassName(className); - node.add(newNode); try { Object value = ctx.lookup(name); if (value instanceof Context) { --- 342,367 ---- } + if (isLinkRef) + { + try + { + newNode = new JNDILinkRef(ctx, name); + node.add(newNode); + } + catch (Exception e) + { + } + } + if (recursive) { ! newNode = new JNDIContext(); newNode.setName(name); newNode.setClassName(className); try { Object value = ctx.lookup(name); + if (value instanceof Context) { *************** *** 360,366 **** list(subctx, newNode); } - else - { - } } catch (Throwable t) --- 369,372 ---- *************** *** 369,382 **** } } ! else { ! JNDIContext newNode; newNode = new JNDIEntry(); newNode.setName(name); newNode.setClassName(className); - - node.add(newNode); } } ne.close(); --- 375,394 ---- } } ! ! // Try to cast to a predefined object ! if ((newNode == null) && (searchType == Server.DEEP_SEARCH)) { ! newNode = createNode(ctx, name); ! } + // If no match, create a JNDIEntry + if (newNode == null) + { newNode = new JNDIEntry(); newNode.setName(name); newNode.setClassName(className); } + + node.add(newNode); } ne.close(); *************** *** 388,540 **** } ! ! /** ! * Gets the context attribute of the JndiServer object ! * ! * @param context Description of Parameter ! * @param s Description of Parameter ! * @return The context value ! * @exception NamingException Description of Exception ! */ ! private boolean isContext(Context context, String s) throws NamingException ! { ! try ! { ! context.list(s); ! } ! catch (NotContextException notcontextexception) ! { ! return false; ! } ! return true; ! } ! ! ! /** ! * Description of the Method ! * ! * @param context Description of Parameter ! * @param s Description of Parameter ! * @param node Description of Parameter ! * @return Description of the Returned Value ! */ ! private boolean iterateContext(Context context, String s, Collection node) { ! try ! { ! for (NamingEnumeration namingenumeration = context.list(s); namingenumeration.hasMore(); ) ! { ! NameClassPair nc = (NameClassPair) namingenumeration.next(); ! ! if (isContext(context, nc.getName())) ! { ! Context context1 = (Context) context.lookup(nc.getName()); ! String s1 = context1.composeName(nc.getName(), s); ! ! JNDIContext newNode = new JNDIContext(); ! newNode.name = nc.getName(); ! newNode.className = nc.getClassName(); ! node.add(newNode); ! ! iterateContext(context1, s1, newNode); ! // iterateContext(context1, "", newNode); ! } ! else ! { ! JNDIContext newNode; ! ! logger.debug("NC=" + nc.getName()); ! logger.debug("NC=" + nc.getClassName()); ! ! newNode = new JNDIEntry(); ! newNode.name = nc.getName(); ! newNode.className = nc.getClassName(); ! ! if (this.searchType == Server.DEEP_SEARCH) ! { ! try ! { ! logger.debug("Name :" + nc.getName()); ! logger.debug("ClassName :" + nc.getClassName()); ! ! Object o = null; ! ! try ! { ! o = context.lookup(nc.getName()); ! ! try ! { ! newNode = new EJBHomeProxy(o); ! newNode.name = nc.getName(); ! } ! catch (Exception e1) ! { ! ! try ! { ! newNode = new QueueProxy(o); ! newNode.name = nc.getName(); ! newNode.className = nc.getClassName(); ! } ! catch (Exception e2) ! { ! ! try ! { ! newNode = new TopicProxy(o); ! newNode.name = nc.getName(); ! newNode.className = nc.getClassName(); ! } ! catch (Exception e3) ! { ! ! try ! { ! newNode = new ConnectionFactoryProxy(o); ! newNode.name = nc.getName(); ! newNode.className = nc.getClassName(); ! } ! catch (Exception e4) ! { ! } ! } ! } ! } ! } ! catch (Exception e1) ! { ! } ! } ! catch (Exception e1) ! { ! } ! } ! ! node.add(newNode); ! } ! } ! } ! catch (Exception namingexception) ! { ! logger.warn("iterateContext Exception " + namingexception.getMessage()); ! return false; ! } ! return true; } - - /** Load the list of proxies to create */ - /* - * static - * { - * proxies.put(javax.ejb.EJBHome.class, EJBHomeProxy.class); - * proxies.put(javax.ejb.EJBLocalHome.class, EJBLocalHomeProxy.class); - * proxies.put(javax.jms.ConnectionFactory.class, ConnectionFactoryProxy.class); - * proxies.put(javax.jms.Queue.class, QueueProxy.class); - * proxies.put(javax.jms.Topic.class, TopicProxy.class); - * proxies.put(javax.mail.Session.class, TopicProxy.class); - * proxies.put(javax.sql.DataSource.class, DataSourceProxy.class); - * proxies.put(javax.sql.XADataSource.class, XADataSourceProxy.class); - * } - */ } --- 400,412 ---- } ! /** Proxies to load */ ! static { ! proxies.add(net.sourceforge.ejtools.jndibrowser.model.ejb.EJBHomeProxy.class); ! proxies.add(net.sourceforge.ejtools.jndibrowser.model.jms.QueueProxy.class); ! proxies.add(net.sourceforge.ejtools.jndibrowser.model.jms.TopicProxy.class); ! proxies.add(net.sourceforge.ejtools.jndibrowser.model.jms.ConnectionFactoryProxy.class); ! proxies.add(net.sourceforge.ejtools.jndibrowser.model.mail.SessionProxy.class); ! proxies.add(net.sourceforge.ejtools.jndibrowser.model.Proxy.class); } } |