ejtools-cvs Mailing List for EJTools (Page 108)
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
|
From: Laurent E. <let...@us...> - 2002-04-22 17:59:22
|
Update of /cvsroot/ejtools/applications/jmx.browser In directory usw-pr-cvs1:/tmp/cvs-serv1451/jmx.browser Added Files: webapp.properties Log Message: Initial Import --- NEW FILE: webapp.properties --- ${apache.crimson.root}/*.jar ${apache.log4j.root}/*.jar ${apache.struts.root}/*.jar ${apache.xalan.root}/*.jar ${ejtools.common.root}/*.jar ${ejtools.xmlweb.root}/*.jar ${sun.jaxp.root}/*.jar ${sun.swing.root}/*.jar |
From: Laurent E. <let...@us...> - 2002-04-22 17:59:21
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/jms In directory usw-pr-cvs1:/tmp/cvs-serv1308/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/jms Added Files: TextMessageProxy.java Log Message: Initial Import --- NEW FILE: TextMessageProxy.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.jndibrowser.model.jms; // Standard Imports import java.awt.Component; import javax.jms.JMSException; import javax.jms.Message; import javax.jms.TextMessage; // Other Imports import org.apache.log4j.Category; /** *Description of the Class * * @author letiembl * @created 13 décembre 2001 * @todo Javadoc to complete * @todo Add log4j logs */ public class TextMessageProxy extends MessageProxy { /** *Constructor for the MessageProxy object * * @param name Description of Parameter * @param message Description of Parameter */ public TextMessageProxy(String name, Message message) { super(name, message); } /** *Gets the text attribute of the JMSMessage object * * @return The text value * @exception JMSException Description of Exception */ public String getText() throws JMSException { return ((TextMessage) message).getText(); } } |
From: Laurent E. <let...@us...> - 2002-04-22 17:59:17
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/etc/beaninfo/jms In directory usw-pr-cvs1:/tmp/cvs-serv1308/jndi.browser/src/etc/beaninfo/jms Added Files: TextMessageProxy.xml Log Message: Initial Import --- NEW FILE: TextMessageProxy.xml --- <bean class="net.sourceforge.ejtools.jndibrowser.model.jms.TextMessageProxy" displayname="JMS Message" iconcolor16="/images/jms/TextMessage16.gif" iconcolor32="/images/jms/TextMessage16.gif"> <property name="correlationId" class="java.lang.String" displayname="Correlation Id"/> <property name="deliveryMode" class="int" displayname="Delivery Mode" propertyeditor="net.sourceforge.ejtools.jndibrowser.model.jms.DeliveryModeEditor"/> <property name="expiration" class="long" displayname="Expiration" propertyeditor="net.sourceforge.ejtools.awt.editors.DateTimeEditor"/> <property name="messageId" class="java.lang.String" displayname="Message Id"/> <property name="priority" class="int" displayname="Priority"/> <property name="redelivered" class="boolean" displayname="Is redelivered"/> <property name="timestamp" class="java.util.Date" displayname="TimeStamp" propertyeditor="net.sourceforge.ejtools.awt.editors.DateTimeEditor"/> <property name="type" class="java.lang.String" displayname="Type"/> <property name="text" class="java.lang.String" displayname="Text" propertyeditor="com.dreambean.awt.editors.TextEditor"/> </bean> |
From: Laurent E. <let...@us...> - 2002-04-22 17:59:14
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/resources/images/jms In directory usw-pr-cvs1:/tmp/cvs-serv1308/jndi.browser/src/resources/images/jms Added Files: StreamMessage16.gif TextMessage16.gif Log Message: Initial Import --- 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.) |
From: Laurent E. <let...@us...> - 2002-04-22 17:59:11
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/resources/images/jms In directory usw-pr-cvs1:/tmp/cvs-serv1451/jndi.browser/src/resources/images/jms Added Files: Topic16.gif Log Message: Initial Import --- NEW FILE: Topic16.gif --- (This appears to be a binary file; contents omitted.) |
From: Laurent E. <let...@us...> - 2002-04-22 17:59:08
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/jms In directory usw-pr-cvs1:/tmp/cvs-serv1451/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/jms Added Files: TopicProxy.java Log Message: Initial Import --- NEW FILE: TopicProxy.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.jndibrowser.model.jms; // Standard Imports import javax.jms.JMSException; import javax.jms.Message; import javax.jms.Session; import javax.jms.TextMessage; import javax.jms.Topic; import javax.jms.TopicConnection; import javax.jms.TopicConnectionFactory; import javax.jms.TopicPublisher; import javax.jms.TopicSession; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; import javax.rmi.PortableRemoteObject; // Other Imports import net.sourceforge.ejtools.jndibrowser.model.JNDIEntry; import org.apache.log4j.Category; /** *Description of the Class * * @author letiembl * @created 13 décembre 2001 * @todo Javadoc to complete * @todo Add log4j logs */ public class TopicProxy extends JNDIEntry { /** Description of the Field */ private Topic topic = null; /** *Constructor for the JMSTopic object * * @param o Description of Parameter * @exception Exception Description of Exception */ public TopicProxy(Object o) throws Exception { this.topic = (Topic) PortableRemoteObject.narrow(o, Topic.class); // this.topic = (Topic) o; } /** *Description of the Method * * @param text Description of Parameter */ public void createTextMessage(String text) { Context jndiContext = null; TopicConnectionFactory topicConnectionFactory = null; TopicConnection topicConnection = null; TopicSession topicSession = null; TopicPublisher topicPublisher = null; TextMessage message = null; // TO MODIFY try { jndiContext = new InitialContext(); topicConnectionFactory = (TopicConnectionFactory) jndiContext.lookup("ConnectionFactory"); } catch (NamingException e) { System.out.println("JNDI lookup failed: " + e.toString()); } // TO MODIFY try { topicConnection = topicConnectionFactory.createTopicConnection(); topicSession = topicConnection.createTopicSession(false, Session.AUTO_ACKNOWLEDGE); topicPublisher = topicSession.createPublisher(topic); message = topicSession.createTextMessage(); message.setText(text); topicPublisher.publish(message); topicSession.close(); } catch (JMSException e) { System.out.println("Exception occurred: " + e.toString()); } finally { if (topicConnection != null) { try { topicConnection.close(); } catch (JMSException e) { } } } } } |
From: Laurent E. <let...@us...> - 2002-04-22 17:59:05
|
Update of /cvsroot/ejtools/applications/management In directory usw-pr-cvs1:/tmp/cvs-serv1451/management Added Files: webapp.properties Log Message: Initial Import --- NEW FILE: webapp.properties --- ${apache.log4j.root}/*.jar ${apache.struts.root}/*.jar ${apache.xalan.root}/*.jar ${apache.xerces.root}/*.jar ${jboss.jmx.root}/*.jar ${ejtools.common.root}/*.jar ${ejtools.xmlweb.root}/*.jar ${sun.jaxp.root}/*.jar ${sun.jndi.root}/*.jar ${sun.swing.root}/*.jar |
From: Laurent E. <let...@us...> - 2002-04-22 17:59:02
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/etc/beaninfo/jms In directory usw-pr-cvs1:/tmp/cvs-serv1451/jndi.browser/src/etc/beaninfo/jms Added Files: TopicProxy.xml Log Message: Initial Import --- NEW FILE: TopicProxy.xml --- <bean class="net.sourceforge.ejtools.jndibrowser.model.jms.TopicProxy" displayname="JMS Topic" iconcolor16="/images/jms/Topic16.gif" iconcolor32="/images/jms/Topic16.gif"> <property name="name" class="java.lang.String" displayname="Name"/> <property name="className" class="java.lang.String" displayname="Class"/> <method name="createTextMessage" displayname="Publish Text Message"> <parameter displayname="Text"/> </method> </bean> |
From: Laurent E. <let...@us...> - 2002-04-22 17:58:10
|
Update of /cvsroot/ejtools/applications/jndi.browser In directory usw-pr-cvs1:/tmp/cvs-serv29989/jndi.browser Added Files: module.properties Log Message: Initial Import --- NEW FILE: module.properties --- version.major=1 version.minor=0 version.revision=0 version.tag=alpha module.name=jndi.browser module.folder=jndi.browser module.display.name=JNDI Browser module.archive.name=ejtools.jndi.browser module.package=net.sourceforge.ejtools.jndibrowser.* module.starter=net/sourceforge/ejtools/jndibrowser/Main module.javadoc.title=EJTools - JNDI Browser |
From: Laurent E. <let...@us...> - 2002-04-22 17:39:08
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/model In directory usw-pr-cvs1:/tmp/cvs-serv29020/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/model Added Files: Domain.java EJBConnectionService.java Log Message: Initial Import --- NEW FILE: Domain.java --- package net.sourceforge.ejtools.jmxbrowser.model; import java.awt.*; import java.beans.*; import java.beans.beancontext.*; import java.util.*; import javax.management.*; import javax.naming.*; import javax.swing.*; import org.w3c.dom.*; import com.dreambean.awt.*; /** * Description of the Class * * @author letiembl * @created 13 décembre 2001 */ public class Domain extends Node { /** Constructor */ public Domain() { } public String getSmallIcon(){ return "Home16.gif"; } /** * Setter for the reference attribute * * @param resource The new value */ public void setReference(ObjectInstance resource) { this.name = resource.getObjectName().getDomain(); } } --- NEW FILE: EJBConnectionService.java --- package net.sourceforge.ejtools.jmxbrowser.model; import java.util.Set; import javax.management.Attribute; import javax.management.MBeanInfo; import javax.management.ObjectName; import javax.management.QueryExp; import javax.naming.InitialContext; import javax.rmi.PortableRemoteObject; import org.jboss.jmx.adaptor.interfaces.Adaptor; import org.jboss.jmx.adaptor.interfaces.AdaptorHome; /** * Description of the Class * * @author letiembl * @created 13 décembre 2001 */ public class EJBConnectionService implements ConnectionService { /** Description of the Field */ protected transient Adaptor connector = null; /** Description of the Field */ protected String ejbName = null; /** Description of the Field */ protected String factory = null; /** Description of the Field */ protected String pkgs = null; /** Description of the Field */ protected String url = null; /** Constructor */ protected EJBConnectionService() { } /** * Getter for the attribute attribute * * @param name Description of Parameter * @param attribute Description of Parameter * @return The value * @exception Exception Description of Exception */ public Object getAttribute(ObjectName name, String attribute) throws Exception { return getConnector().getAttribute(name, attribute); } /** * Getter for the defaultDomain attribute * * @return The value * @exception Exception Description of Exception */ public String getDefaultDomain() throws Exception { return getConnector().getDefaultDomain(); } /** * Getter for the mBeanCount attribute * * @return The value * @exception Exception Description of Exception */ public Integer getMBeanCount() throws Exception { return getConnector().getMBeanCount(); } /** * Getter for the mBeanInfo attribute * * @param name Description of Parameter * @return The value * @exception Exception Description of Exception */ public MBeanInfo getMBeanInfo(ObjectName name) throws Exception { return getConnector().getMBeanInfo(name); } /** * Description of the Method * * @param name Description of Parameter * @param action Description of Parameter * @param params Description of Parameter * @param signatures Description of Parameter * @return Description of the Returned Value * @exception Exception Description of Exception */ public Object invoke(ObjectName name, String action, Object[] params, String[] signatures) throws Exception { return getConnector().invoke(name, action, params, signatures); } /** * Description of the Method * * @param name Description of Parameter * @param exp Description of Parameter * @return Description of the Returned Value * @exception Exception Description of Exception */ public Set queryMBeans(ObjectName name, QueryExp exp) throws Exception { return getConnector().queryMBeans(name, exp); } /** * Setter for the attribute attribute * * @param name The new value * @param attribute The new value * @exception Exception Description of Exception */ public void setAttribute(ObjectName name, Attribute attribute) throws Exception { getConnector().setAttribute(name, attribute); } /** * Setter for the eJBName attribute * * @param ejbName The new value */ public void setEJBName(String ejbName) { this.ejbName = ejbName; connector = null; } /** * Setter for the factory attribute * * @param factory The new value */ public void setFactory(String factory) { this.factory = factory; connector = null; } /** * Setter for the packages attribute * * @param pkgs The new value */ public void setPackages(String pkgs) { this.pkgs = pkgs; connector = null; } /** * Setter for the url attribute * * @param url The new value */ public void setURL(String url) { this.url = url; connector = null; } /** * Description of the Method * * @return Description of the Returned Value * @exception Exception Description of Exception */ protected Adaptor getConnector() throws Exception { if (connector == null) { InitialContext context = new InitialContext(); Object ref = context.lookup(this.ejbName); AdaptorHome home = (AdaptorHome) PortableRemoteObject.narrow(ref, AdaptorHome.class); connector = home.create(); } return connector; } } |
From: Laurent E. <let...@us...> - 2002-04-22 17:39:07
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/resources/images In directory usw-pr-cvs1:/tmp/cvs-serv29020/jndi.browser/src/resources/images Added Files: File16.gif Log Message: Initial Import --- NEW FILE: File16.gif --- (This appears to be a binary file; contents omitted.) |
From: Laurent E. <let...@us...> - 2002-04-22 17:39:07
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web In directory usw-pr-cvs1:/tmp/cvs-serv29020/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web Added Files: Constants.java Log Message: Initial Import --- NEW FILE: Constants.java --- package net.sourceforge.ejtools.jmxbrowser.web; /** * Description of the Class * * @author letiembl * @created 28 février 2002 */ public final class Constants { /** Description of the Field */ public final static String EJB_CONNECTOR = "ejbConnector"; /** Description of the Field */ public final static String TREE_ROOT = "root"; /** Description of the Field */ public final static String DOMAIN = "domain"; /** Description of the Field */ public final static String NUMBER = "number"; } |
From: Laurent E. <let...@us...> - 2002-04-22 17:39:07
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/etc/beaninfo In directory usw-pr-cvs1:/tmp/cvs-serv29020/jmx.browser/src/etc/beaninfo Added Files: Domain.xml Log Message: Initial Import --- NEW FILE: Domain.xml --- <bean class="net.sourceforge.ejtools.jmxbrowser.model.Domain" displayname="JMX Domain" iconcolor16="/toolbarButtonGraphics/development/Jar16.gif"> <property name="name" class="java.lang.String" displayname="Name"/> </bean> |
From: Laurent E. <let...@us...> - 2002-04-22 17:39:07
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/ejb In directory usw-pr-cvs1:/tmp/cvs-serv29020/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/ejb Added Files: EJBHomeProxy.java EJBObjectProxy.java Log Message: Initial Import --- NEW FILE: EJBHomeProxy.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.jndibrowser.model.ejb; // Standard Imports import java.awt.Component; import java.beans.BeanInfo; import java.beans.Introspector; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.util.Collection; import java.util.Iterator; import javax.ejb.EJBHome; import javax.rmi.PortableRemoteObject; // Other Imports //import com.dreambean.awt.GenericCustomizer; import net.sourceforge.ejtools.awt.GenericCustomizer; import net.sourceforge.ejtools.jndibrowser.model.JNDIEntry; /** *Description of the Class * * @author letiembl * @created 13 décembre 2001 */ public class EJBHomeProxy extends JNDIEntry implements InvocationHandler { /**Description of the Field */ protected Class homeClass; /**Description of the Field */ protected BeanInfo info; protected BeanInfo proxyInfo; /**Description of the Field */ protected EJBHome home; /** *Sets the home attribute of the EJBean object * * @param o Description of Parameter * @exception Exception Description of Exception */ public EJBHomeProxy(Object o) throws Exception { home = (EJBHome) PortableRemoteObject.narrow(o, EJBHome.class); Class[] intf = home.getClass().getInterfaces(); for (int i = 0; i < intf.length; i++) { if (EJBHome.class.isAssignableFrom(intf[i])) { homeClass = intf[i]; } } this.info = Introspector.getBeanInfo(this.getClass()); this.proxyInfo = Introspector.getBeanInfo(this.homeClass); System.out.println("BeanInfo " +info ); System.out.println("BeanInfo " +proxyInfo ); this.className = homeClass.getName(); } /** *Gets the component attribute of the EJBHomeProxy object * * @return The component value */ public Component getComponent() { if (c == null) { try { c = new GenericCustomizer(Proxy.newProxyInstance(homeClass.getClassLoader(), new Class[]{BeanInfo.class, homeClass}, this)); } catch (Exception e) { e.printStackTrace(); } } return (Component) c; } /** *Description of the Method * * @param proxy Description of Parameter * @param method Description of Parameter * @param args Description of Parameter * @return Description of the Returned Value * @exception Throwable Description of Exception */ public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { if (method.getDeclaringClass().equals(BeanInfo.class)) { if (method.getName().startsWith("getIcon")){ return method.invoke(info, args); }else{ return method.invoke(proxyInfo, args); } } else if (method.getDeclaringClass().equals(Object.class)) { return method.invoke(this, args); } else { Iterator iterator = iterator(); while (iterator.hasNext()) { remove(iterator.next()); } Object result = method.invoke(home, args); if (result instanceof Collection) { Iterator enum = ((Collection) result).iterator(); while (enum.hasNext()) { add(new EJBObjectProxy(enum.next(), homeClass.getClassLoader())); } } else { add(new EJBObjectProxy(result, homeClass.getClassLoader())); } return null; } } /* * public String toString() * { * return homeClass.getName().substring(homeClass.getName().lastIndexOf(".") + 1); * } */ } --- NEW FILE: EJBObjectProxy.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.jndibrowser.model.ejb; // Standard Imports import java.awt.Component; import java.beans.BeanInfo; import java.beans.Customizer; import java.beans.Introspector; import java.beans.PropertyChangeListener; import java.beans.PropertyChangeSupport; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.util.Collection; import javax.ejb.EJBObject; // Other Imports //import com.dreambean.awt.GenericCustomizer; import net.sourceforge.ejtools.awt.GenericCustomizer; import net.sourceforge.ejtools.jndibrowser.model.JNDIEntry; /** * @author Rickard Oberg (ri...@dr...) * @created 2 janvier 2002 * @see <related> * @version $Revision: 1.1 $ */ public class EJBObjectProxy extends JNDIEntry implements InvocationHandler { /** Description of the Field */ BeanInfo info; /** Description of the Field */ BeanInfo proxyInfo; /** Description of the Field */ Object obj; /** Description of the Field */ Customizer c; /** Description of the Field */ Class remote; /** Description of the Field */ String desc; /** Description of the Field */ Object proxy; /** Description of the Field */ PropertyChangeSupport ps; /** *Constructor for the EJBObjectProxy object * * @param obj Description of Parameter * @param cl Description of Parameter * @exception Exception Description of Exception */ public EJBObjectProxy(Object obj, ClassLoader cl) throws Exception { this.obj = obj; Class[] intf = obj.getClass().getInterfaces(); for (int i = 0; i < intf.length; i++) { if (EJBObject.class.isAssignableFrom(intf[i])) { remote = intf[i]; } } this.info = Introspector.getBeanInfo(this.getClass()); this.proxyInfo = Introspector.getBeanInfo(this.remote); proxy = Proxy.newProxyInstance(cl, new Class[]{BeanInfo.class, remote, PropertyChanger.class}, this); ps = new PropertyChangeSupport(proxy); } /** *Gets the component attribute of the EJBObjectProxy object * * @return The component value */ public Component getComponent() { if (c == null) { c = new GenericCustomizer(proxy); } return (Component) c; } /** *Description of the Method * * @param proxy Description of Parameter * @param method Description of Parameter * @param args Description of Parameter * @return Description of the Returned Value * @exception Throwable Description of Exception */ public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { System.out.println("Invoke " + method); if (method.getDeclaringClass().equals(BeanInfo.class)) { System.out.println("Invoke " + method.getName()); if (method.getName().equals("getIcon")){ return method.invoke(info, args); }else{ return method.invoke(proxyInfo, args); } } else if (method.getDeclaringClass().equals(Object.class)) { return method.invoke(this, args); } else if (method.getDeclaringClass().equals(PropertyChanger.class)) { if (method.getName().startsWith("add")) { ps.addPropertyChangeListener((PropertyChangeListener) args[0]); } else { ps.removePropertyChangeListener((PropertyChangeListener) args[0]); } return null; } else { try { return method.invoke(obj, args); } finally { if (!(method.getName().startsWith("get") || method.getName().startsWith("is"))) { ps.firePropertyChange(null, null, null); } } } } /** *Description of the Method * * @return Description of the Returned Value */ public String toString() { if (desc == null) { /* * try * { * Method m = EJBObject.class.getMethod("getPrimaryKey", new Class[0]); * desc = m.invoke(obj, new Object[0]).toString(); * } * catch (Exception e) * { */ // desc = remote.getName().substring(remote.getName().lastIndexOf(".") + 1); desc = remote.toString(); /* * } */ } return desc; } } |
From: Laurent E. <let...@us...> - 2002-04-22 17:39:06
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/etc/beaninfo/ejb In directory usw-pr-cvs1:/tmp/cvs-serv29020/jndi.browser/src/etc/beaninfo/ejb Added Files: EJBHomeProxy.xml EJBObjectProxy.xml Log Message: Initial Import --- NEW FILE: EJBHomeProxy.xml --- <bean class="net.sourceforge.ejtools.jndibrowser.model.ejb.EJBHomeProxy" displayname="Enterprise Java Bean" iconcolor16="/toolbarButtonGraphics/development/EnterpriseJavaBeanJar16.gif" iconcolor32="/toolbarButtonGraphics/development/EnterpriseJavaBeanJar24.gif"> <property name="name" class="java.lang.String" displayname="Name"/> <property name="className" class="java.lang.String" displayname="Home Interface"/> </bean> --- NEW FILE: EJBObjectProxy.xml --- <bean class="net.sourceforge.ejtools.jndibrowser.model.ejb.EJBObjectProxy" displayname="Enterprise Java Bean" iconcolor16="/toolbarButtonGraphics/development/EnterpriseJavaBean16.gif" iconcolor32="/toolbarButtonGraphics/development/EnterpriseJavaBean24.gif"> </bean> |
From: Laurent E. <let...@us...> - 2002-04-22 17:39:05
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/jms In directory usw-pr-cvs1:/tmp/cvs-serv29020/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/jms Added Files: DeliveryModeEditor.java Log Message: Initial Import --- NEW FILE: DeliveryModeEditor.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.jndibrowser.model.jms; // Standard Imports import javax.jms.DeliveryMode; // Other Imports import com.dreambean.awt.editors.TagsEditor; /** * Description of the Class * * @author letiembl * @created 2 janvier 2002 * @todo Javadoc to complete */ public class DeliveryModeEditor extends TagsEditor { /** Constructor for the DimensionEditor object */ public DeliveryModeEditor() { super(new String[]{"Persistent", "Non Persistent"}, new Object[]{new Integer(DeliveryMode.PERSISTENT), new Integer(DeliveryMode.NON_PERSISTENT)}); } } |
From: Laurent E. <let...@us...> - 2002-04-22 17:38:45
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/etc/beaninfo/jms In directory usw-pr-cvs1:/tmp/cvs-serv28897/jndi.browser/src/etc/beaninfo/jms Added Files: ConnectionFactoryProxy.xml Log Message: Initial Import --- NEW FILE: ConnectionFactoryProxy.xml --- <bean class="net.sourceforge.ejtools.jndibrowser.model.jms.ConnectionFactoryProxy" displayname="Connection Factory" iconcolor16="/toolbarButtonGraphics/development/Server16.gif" iconcolor32="/toolbarButtonGraphics/development/Server24.gif"> <property name="name" class="java.lang.String" displayname="Name"/> <property name="className" class="java.lang.String" displayname="Class"/> <property name="queueConnectionFactory" class="boolean" displayname="Can Create QueueConnection"/> <property name="topicConnectionFactory" class="boolean" displayname="Can Create TopicConnection"/> </bean> |
From: Laurent E. <let...@us...> - 2002-04-22 17:38:45
|
Update of /cvsroot/ejtools/applications/management/src/main/net/sourceforge/ejtools/management/model In directory usw-pr-cvs1:/tmp/cvs-serv28897/management/src/main/net/sourceforge/ejtools/management/model Added Files: ConnectionService.java ConnectionServiceProvider.java Log Message: Initial Import --- NEW FILE: ConnectionService.java --- package net.sourceforge.ejtools.management.model; import java.util.Set; import javax.management.Attribute; import javax.management.MBeanInfo; import javax.management.ObjectName; import javax.management.QueryExp; import javax.management.j2ee.Management; import javax.management.j2ee.ManagementHome; import javax.naming.InitialContext; import javax.rmi.PortableRemoteObject; /** * Description of the Class * * @author letiembl * @created 13 décembre 2001 */ public class ConnectionService { /** Description of the Field */ protected String ejbName = null; /** Description of the Field */ protected String factory = null; /** Description of the Field */ protected String pkgs = null; /** Description of the Field */ protected transient Management remote = null; /** Description of the Field */ protected String url = null; /** Constructor */ protected ConnectionService() { } /** * Gets the attribute attribute of the ConnectionService object * * @param name Description of the Parameter * @param attribute Description of the Parameter * @return The attribute value * @exception Exception Description of the Exception */ public Object getAttribute(ObjectName name, String attribute) throws Exception { return getEJB().getAttribute(name, attribute); } /** * Getter for the defaultDomain attribute * * @return The value * @exception Exception Description of Exception */ public String getDefaultDomain() throws Exception { return getEJB().getDefaultDomain(); } /** * Getter for the mBeanCount attribute * * @return The value * @exception Exception Description of Exception */ public Integer getMBeanCount() throws Exception { return getEJB().getMBeanCount(); } /** * Getter for the mBeanInfo attribute * * @param name Description of Parameter * @return The value * @exception Exception Description of Exception */ public MBeanInfo getMBeanInfo(ObjectName name) throws Exception { return getEJB().getMBeanInfo(name); } /** * Description of the Method * * @param name Description of the Parameter * @param action Description of the Parameter * @param params Description of the Parameter * @param signatures Description of the Parameter * @return Description of the Return Value * @exception Exception Description of the Exception */ public Object invoke(ObjectName name, String action, Object[] params, String[] signatures) throws Exception { return getEJB().invoke(name, action, params, signatures); } /** * Description of the Method * * @param name Description of Parameter * @param query Description of the Parameter * @return Description of the Returned Value * @exception Exception Description of Exception */ public Set queryNames(ObjectName name, QueryExp query) throws Exception { return getEJB().queryNames(name, query); } /** * Sets the attribute attribute of the ConnectionService object * * @param name The new attribute value * @param attribute The new attribute value * @exception Exception Description of the Exception */ public void setAttribute(ObjectName name, Attribute attribute) throws Exception { getEJB().setAttribute(name, attribute); } // public Set queryNames(ObjectName name) throws Exception // { // return (getEJB().queryNames(name)); // } /** * Setter for the eJBName attribute * * @param ejbName The new value */ public void setEJBName(String ejbName) { this.ejbName = ejbName; remote = null; } /** * Setter for the factory attribute * * @param factory The new value */ public void setFactory(String factory) { this.factory = factory; remote = null; } /** * Setter for the packages attribute * * @param pkgs The new value */ public void setPackages(String pkgs) { this.pkgs = pkgs; remote = null; } /** * Setter for the url attribute * * @param url The new value */ public void setURL(String url) { this.url = url; remote = null; } /** * Description of the Method * * @return Description of the Returned Value * @exception Exception Description of Exception */ protected Management getEJB() throws Exception { if (remote == null) { remote = getHome().create(); } return remote; } /** * Description of the Method * * @return Description of the Returned Value * @exception Exception Description of Exception */ protected ManagementHome getHome() throws Exception { InitialContext context = new InitialContext(); Object ref = context.lookup(this.ejbName); ManagementHome home = (ManagementHome) PortableRemoteObject.narrow(ref, ManagementHome.class); return home; } } --- NEW FILE: ConnectionServiceProvider.java --- package net.sourceforge.ejtools.management.model; import java.beans.beancontext.BeanContextServiceProvider; import java.beans.beancontext.BeanContextServices; import java.beans.beancontext.BeanContextServicesSupport; import java.util.Iterator; import java.util.Vector; /** * Description of the Class * * @author letiembl * @created 13 décembre 2001 */ public class ConnectionServiceProvider extends BeanContextServicesSupport implements BeanContextServiceProvider { /** Description of the Field */ protected ConnectionService service = null; /** * Getter for the currentServiceSelectors attribute * * @param bcs Description of Parameter * @param serviceClass Description of Parameter * @return The value */ public Iterator getCurrentServiceSelectors(BeanContextServices bcs, java.lang.Class serviceClass) { return (new Vector()).iterator(); } /** * Getter for the service attribute * * @param bcs Description of Parameter * @param requestor Description of Parameter * @param serviceClass Description of Parameter * @param serviceSelector Description of Parameter * @return The value */ public Object getService(BeanContextServices bcs, java.lang.Object requestor, java.lang.Class serviceClass, java.lang.Object serviceSelector) { if (service == null) { service = new ConnectionService(); } return service; } /** * Description of the Method * * @param bcs Description of Parameter * @param requestor Description of Parameter * @param service Description of Parameter */ public void releaseService(BeanContextServices bcs, java.lang.Object requestor, java.lang.Object service) { } /** Description of the Method */ protected void initializeBeanContextResources() { ((BeanContextServices) getBeanContext()).addService(ConnectionService.class, this); } } |
From: Laurent E. <let...@us...> - 2002-04-22 17:38:45
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/model In directory usw-pr-cvs1:/tmp/cvs-serv28897/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/model Added Files: ConnectionService.java ConnectionServiceProvider.java Log Message: Initial Import --- NEW FILE: ConnectionService.java --- package net.sourceforge.ejtools.jmxbrowser.model; import java.util.Set; import java.io.Serializable; import javax.management.Attribute; import javax.management.MBeanInfo; import javax.management.ObjectName; import javax.management.QueryExp; import javax.naming.InitialContext; import javax.rmi.PortableRemoteObject; /** * Description of the Class * * @author letiembl * @created 13 décembre 2001 */ public interface ConnectionService extends Serializable { public Object getAttribute(ObjectName name, String attribute) throws Exception; public String getDefaultDomain() throws Exception; public Integer getMBeanCount() throws Exception; public MBeanInfo getMBeanInfo(ObjectName name) throws Exception; public Object invoke(ObjectName name, String action, Object[] params, String[] signatures) throws Exception; public Set queryMBeans(ObjectName name, QueryExp exp) throws Exception; public void setAttribute(ObjectName name, Attribute attribute) throws Exception; public void setEJBName(String ejbName); public void setFactory(String factory); public void setPackages(String pkgs); public void setURL(String url); } --- NEW FILE: ConnectionServiceProvider.java --- package net.sourceforge.ejtools.jmxbrowser.model; import java.beans.beancontext.BeanContextServiceProvider; import java.beans.beancontext.BeanContextServices; import java.beans.beancontext.BeanContextServicesSupport; import java.util.Iterator; import java.util.Vector; import net.sourceforge.ejtools.util.JNDI; /** * Description of the Class * * @author letiembl * @created 13 décembre 2001 */ public class ConnectionServiceProvider extends BeanContextServicesSupport implements BeanContextServiceProvider { /** Description of the Field */ protected ConnectionService service = null; protected String type = null; public ConnectionServiceProvider(String type) { this.type= type; } /** * Getter for the currentServiceSelectors attribute * * @param bcs Description of Parameter * @param serviceClass Description of Parameter * @return The value */ public Iterator getCurrentServiceSelectors(BeanContextServices bcs, java.lang.Class serviceClass) { return (new Vector()).iterator(); } /** * Getter for the service attribute * * @param bcs Description of Parameter * @param requestor Description of Parameter * @param serviceClass Description of Parameter * @param serviceSelector Description of Parameter * @return The value */ public Object getService(BeanContextServices bcs, java.lang.Object requestor, java.lang.Class serviceClass, java.lang.Object serviceSelector) { if (service == null) { if("EJB".equals(type)) { service = new EJBConnectionService(); } if("RMI".equals(type)) { service = new RMIConnectionService(); } if("LOCAL".equals(type)) { service = new LocalConnectionService(); } } return service; } /** * Description of the Method * * @param bcs Description of Parameter * @param requestor Description of Parameter * @param service Description of Parameter */ public void releaseService(BeanContextServices bcs, java.lang.Object requestor, java.lang.Object service) { } /** Description of the Method */ protected void initializeBeanContextResources() { ((BeanContextServices) getBeanContext()).addService(ConnectionService.class, this); } } |
From: Laurent E. <let...@us...> - 2002-04-22 17:38:45
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/jms In directory usw-pr-cvs1:/tmp/cvs-serv28897/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/jms Added Files: ConnectionFactoryProxy.java ConnectionService.java ConnectionServiceProvider.java Log Message: Initial Import --- NEW FILE: ConnectionFactoryProxy.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.jndibrowser.model.jms; // Standard Imports import java.beans.beancontext.BeanContextServiceRevokedEvent; import java.beans.beancontext.BeanContextServices; import javax.jms.JMSException; import javax.jms.QueueConnectionFactory; import javax.jms.TopicConnectionFactory; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; import javax.rmi.PortableRemoteObject; // Other Imports import net.sourceforge.ejtools.jndibrowser.model.JNDIEntry; import org.apache.log4j.Category; /** * Description of the Class * * @author letiembl * @created 13 décembre 2001 * @todo Javadoc to complete * @todo Add log4j logs * @todo Review the exception raised */ public class ConnectionFactoryProxy extends JNDIEntry { /** Description of the Field */ protected QueueConnectionFactory queueConnectionFactory = null; /** Description of the Field */ protected TopicConnectionFactory topicConnectionFactory = null; /** Description of the Field */ protected boolean isQueueConnectionFactory = false; /** Description of the Field */ protected boolean isTopicConnectionFactory = false; /** Description of the Field */ protected boolean isDefault = false; /** * Constructor for the JMSQueue object * * @param o Description of Parameter * @exception Exception Description of Exception */ public ConnectionFactoryProxy(Object o) throws Exception { if (o instanceof QueueConnectionFactory) { this.queueConnectionFactory = (QueueConnectionFactory) PortableRemoteObject.narrow(o, QueueConnectionFactory.class); this.isQueueConnectionFactory = true; } if (o instanceof TopicConnectionFactory) { this.topicConnectionFactory = (TopicConnectionFactory) PortableRemoteObject.narrow(o, TopicConnectionFactory.class); this.isTopicConnectionFactory = true; } if (!(this.isQueueConnectionFactory || this.isTopicConnectionFactory)) { throw new Exception("Not Available"); } } /** * Getter for the queueConnectionFactory attribute * * @return The value of queueConnectionFactory attribute */ public QueueConnectionFactory getQueueConnectionFactory() { return this.queueConnectionFactory; } /** * Getter for the topicConnectionFactory attribute * * @return The value of topicConnectionFactory attribute */ public TopicConnectionFactory getTopicConnectionFactory() { return this.topicConnectionFactory; } /** * Gets the count attribute of the JMSQueue object * * @return The count value */ public boolean isQueueConnectionFactory() { return this.isQueueConnectionFactory; } /** * Getter for the topicConnectionFactory attribute * * @return The value */ public boolean isTopicConnectionFactory() { return this.isTopicConnectionFactory; } /** * Description of the Method * * @return Description of the Returned Value */ public String toString() { return name == null ? "Undefined" : name; } /** * Description of the Method * * @param bcsre Description of Parameter */ public void serviceRevoked(BeanContextServiceRevokedEvent bcsre) { try { BeanContextServices context = (BeanContextServices) getBeanContext(); context.releaseService(this, this, ConnectionService.class); } catch (Exception e) { System.out.println("Error during release of service ConnectionService (" + e.getMessage() + ")"); e.printStackTrace(); } } /** Description of the Method */ protected void initializeBeanContextResources() { BeanContextServices context = (BeanContextServices) getBeanContext(); if (context.hasService(ConnectionService.class)) { try { ConnectionService service = (ConnectionService) context.getService(this, this, ConnectionService.class, this, this); } catch (Exception e) { System.out.println("Error during utilisation of service ConnectionService (" + e.getMessage() + ")"); e.printStackTrace(); } } } } --- NEW FILE: ConnectionService.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.jndibrowser.model.jms; // Standard Imports import javax.jms.QueueConnectionFactory; import javax.jms.TopicConnectionFactory; /** * Description of the Interface * * @author letiembl * @created 3 avril 2002 * @todo Javadoc to complete */ public interface ConnectionService { /** Description of the Field */ public final static String QUEUE_CONNECTION_FACTORY = "QUEUE"; /** Description of the Field */ public final static String TOPIC_CONNECTION_FACTORY = "TOPIC"; /** * Getter for the defaultQueueConnectionFactory attribute * * @return The value of defaultQueueConnectionFactory attribute */ public QueueConnectionFactory getDefaultQueueConnectionFactory(); /** * Getter for the defaultConnectionFactory attribute * * @return The value of defaultConnectionFactory attribute */ public TopicConnectionFactory getDefaultTopicConnectionFactory(); } --- NEW FILE: ConnectionServiceProvider.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.jndibrowser.model.jms; // Standard Imports import java.beans.beancontext.BeanContextServiceProvider; import java.beans.beancontext.BeanContextServices; import java.beans.beancontext.BeanContextServicesSupport; import java.util.Iterator; import java.util.ResourceBundle; import java.util.Vector; import javax.jms.QueueConnectionFactory; import javax.jms.TopicConnectionFactory; import javax.swing.JOptionPane; import javax.swing.JPanel; // Other Imports import org.apache.log4j.Category; /** * Description of the Class * * @author letiembl * @created 13 décembre 2001 * @todo Javadoc to complete * @todo Add log4j logs * @todo I18N to check * @todo int argument for selectFactory */ public class ConnectionServiceProvider extends BeanContextServicesSupport implements BeanContextServiceProvider, ConnectionService { /** Description of the Field */ protected int defaultQueueConnectionFactory = 0; /** Description of the Field */ protected int defaultTopicConnectionFactory = 0; /** Description of the Field */ protected JPanel panel = null; /** Description of the Field */ protected Vector queueConnectionFactories = new Vector(); /** Description of the Field */ protected Vector topicConnectionFactories = new Vector(); /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("ApplicationResources"); /** * Getter for the currentServiceSelectors attribute * * @param bcs Description of Parameter * @param serviceClass Description of Parameter * @return The value */ public Iterator getCurrentServiceSelectors(BeanContextServices bcs, java.lang.Class serviceClass) { return (new Vector()).iterator(); } /** * Getter for the defaultQueueConnectionFactory attribute * * @return The value of defaultQueueConnectionFactory attribute */ public QueueConnectionFactory getDefaultQueueConnectionFactory() { if (queueConnectionFactories.size() == 0) { JOptionPane.showMessageDialog(null, res.getString("text.information.noDefaultFactory.queue"), res.getString("title.information.defaultFactory.queue"), JOptionPane.INFORMATION_MESSAGE); } else { ConnectionFactoryProxy proxy = (ConnectionFactoryProxy) queueConnectionFactories.elementAt(defaultQueueConnectionFactory); return proxy.getQueueConnectionFactory(); } return null; } /** * Getter for the defaultTopicConnectionFactory attribute * * @return The value of defaultTopicConnectionFactory attribute */ public TopicConnectionFactory getDefaultTopicConnectionFactory() { if (topicConnectionFactories.size() == 0) { JOptionPane.showMessageDialog(null, res.getString("text.information.noDefaultFactory.topic"), res.getString("title.information.defaultFactory.topic"), JOptionPane.INFORMATION_MESSAGE); } else { ConnectionFactoryProxy proxy = (ConnectionFactoryProxy) topicConnectionFactories.elementAt(defaultTopicConnectionFactory); return proxy.getTopicConnectionFactory(); } return null; } /** * Getter for the service attribute * * @param bcs Description of Parameter * @param requestor Description of Parameter * @param serviceClass Description of Parameter * @param serviceSelector Description of Parameter * @return The value */ public Object getService(BeanContextServices bcs, java.lang.Object requestor, java.lang.Class serviceClass, java.lang.Object serviceSelector) { if (requestor instanceof ConnectionFactoryProxy) { ConnectionFactoryProxy proxy = (ConnectionFactoryProxy) requestor; if (proxy.isQueueConnectionFactory()) { queueConnectionFactories.add(proxy); } if (proxy.isTopicConnectionFactory()) { topicConnectionFactories.add(proxy); } } return this; } /** * Description of the Method * * @param bcs Description of Parameter * @param requestor Description of Parameter * @param service Description of Parameter */ public void releaseService(BeanContextServices bcs, java.lang.Object requestor, java.lang.Object service) { if (requestor instanceof ConnectionFactoryProxy) { ConnectionFactoryProxy proxy = (ConnectionFactoryProxy) requestor; if (proxy.isQueueConnectionFactory()) { queueConnectionFactories.remove(proxy); if ((this.defaultQueueConnectionFactory >= queueConnectionFactories.size()) && (this.defaultQueueConnectionFactory > 0)) { this.defaultQueueConnectionFactory = queueConnectionFactories.size() - 1; } } if (proxy.isTopicConnectionFactory()) { topicConnectionFactories.remove(proxy); if ((this.defaultTopicConnectionFactory >= topicConnectionFactories.size()) && (this.defaultTopicConnectionFactory > 0)) { this.defaultTopicConnectionFactory = topicConnectionFactories.size() - 1; } } } } /** * Description of the Method * * @param type Description of the Parameter */ public void selectFactory(String type) { if (ConnectionService.QUEUE_CONNECTION_FACTORY.equals(type)) { selectQueueConnectionFactory(); } if (ConnectionService.TOPIC_CONNECTION_FACTORY.equals(type)) { selectTopicConnectionFactory(); } } /** Description of the Method */ public void selectQueueConnectionFactory() { if (queueConnectionFactories.size() > 0) { Object selectedValue = JOptionPane.showInputDialog(null, res.getString("text.question.defaultFactory.queue"), res.getString("title.question.defaultFactory.queue"), JOptionPane.QUESTION_MESSAGE, null, queueConnectionFactories.toArray(), queueConnectionFactories.elementAt(defaultQueueConnectionFactory)); if (selectedValue != null) { defaultQueueConnectionFactory = queueConnectionFactories.indexOf(selectedValue); } else { return; } } else { JOptionPane.showMessageDialog(null, res.getString("text.information.noDefaultFactory.queue"), res.getString("title.information.defaultFactory.queue"), JOptionPane.INFORMATION_MESSAGE); } } /** Description of the Method */ public void selectTopicConnectionFactory() { if (topicConnectionFactories.size() > 0) { Object selectedValue = JOptionPane.showInputDialog(null, res.getString("text.question.defaultFactory.topic"), res.getString("title.question.defaultFactory.topic"), JOptionPane.QUESTION_MESSAGE, null, topicConnectionFactories.toArray(), topicConnectionFactories.elementAt(defaultTopicConnectionFactory)); if (selectedValue != null) { defaultTopicConnectionFactory = topicConnectionFactories.indexOf(selectedValue); } else { return; } } else { JOptionPane.showMessageDialog(null, res.getString("text.information.noDefaultFactory.topic"), res.getString("title.information.defaultFactory.topic"), JOptionPane.INFORMATION_MESSAGE); } } /** * Getter for the panel attribute * * @return The value of panel attribute */ protected JPanel getPanel() { if (this.panel == null) { } return this.panel; } /** Description of the Method */ protected void initializeBeanContextResources() { super.initializeBeanContextResources(); ((BeanContextServices) getBeanContext()).addService(ConnectionService.class, this); } /** Description of the Method */ protected void releaseBeanContextResources() { ((BeanContextServices) getBeanContext()).revokeService(ConnectionService.class, this, false); super.releaseBeanContextResources(); } } |
From: Laurent E. <let...@us...> - 2002-04-22 17:38:29
|
Update of /cvsroot/ejtools/applications/management/src/resources In directory usw-pr-cvs1:/tmp/cvs-serv28750/management/src/resources Added Files: class.properties Log Message: Initial Import --- NEW FILE: class.properties --- AppClientModule=javax.management.j2ee.AppClientModule EJBModule=javax.management.j2ee.EJBModule EntityBean=javax.management.j2ee.EntityBean J2EEApplication=javax.management.j2ee.J2EEApplication J2EEDomain=javax.management.j2ee.J2EEDomain J2EEServer=javax.management.j2ee.J2EEServer JCAConnectionFactory=javax.management.j2ee.JCAConnectionFactory JCAManagedConnectionFactory=javax.management.j2ee.JCAManagedConnectionFactory JCAResource=javax.management.j2ee.JCAResource JDBCDataSource=javax.management.j2ee.JDBCDataSource JDBCDriver=javax.management.j2ee.JDBCDriver JDBCResource=javax.management.j2ee.JDBCResource JMSResource=javax.management.j2ee.JMSResource JNDIResource=javax.management.j2ee.JNDIResource JTAResource=javax.management.j2ee.JTAResource JVM=javax.management.j2ee.JVM JavaMailResource=javax.management.j2ee.JavaMailResource MessageDrivenBean=javax.management.j2ee.MessageDrivenBean Node=javax.management.j2ee.Node RMI_IIOPResource=javax.management.j2ee.RMI_IIOPResource ResourceAdapter=javax.management.j2ee.ResourceAdapter ResourceAdapterModule=javax.management.j2ee.ResourceAdapterModule Servlet=javax.management.j2ee.Servlet StatefulSessionBean=javax.management.j2ee.StatefulSessionBean StatelessSessionBean=javax.management.j2ee.StatelessSessionBean URLResource=javax.management.j2ee.URLResource WebModule=javax.management.j2ee.WebModule |
From: Laurent E. <let...@us...> - 2002-04-22 17:38:29
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/resources/images/jms In directory usw-pr-cvs1:/tmp/cvs-serv28750/jndi.browser/src/resources/images/jms Added Files: ByteMessage16.gif Log Message: Initial Import --- NEW FILE: ByteMessage16.gif --- (This appears to be a binary file; contents omitted.) |
From: Laurent E. <let...@us...> - 2002-04-22 17:38:29
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/resources In directory usw-pr-cvs1:/tmp/cvs-serv28750/jndi.browser/src/resources Added Files: ApplicationResources.properties ApplicationResources_fr_FR.properties Log Message: Initial Import --- NEW FILE: ApplicationResources.properties --- # Options Menu action.options=Options action.options.mnemonic=79 # Options Menu Items action.options.selectQueueFactory=Set Default QueueConnectionFactory action.options.selectTopicFactory=Set Default TopicConnectionFactory # Title for Frame, Dialog, etc title.application=JNDI Browser title.information.defaultFactory.queue=Default QueueConnectionFactory Selection title.information.defaultFactory.topic=Default TopicConnectionFactory Selection title.question.defaultFactory.queue=Default QueueConnectionFactory Selection title.question.defaultFactory.topic=Default TopicConnectionFactory Selection # Text for Frame, Dialog, etc text.about.application=The Enterprise Java Tools text.about.javaVersion=Java Version text.about.virtualMachine=Virtual Machine text.progress.create=Create ... text.progress.add=Add ... text.information.noDefaultFactory.queue=There is no registered QueueConnectionFactory text.information.noDefaultFactory.topic=There is no registered TopicConnectionFactory text.question.defaultFactory.queue=Choose the default QueueConnectionFactory text.question.defaultFactory.topic=Choose the default TopicConnectionFactory --- NEW FILE: ApplicationResources_fr_FR.properties --- # Options Menu action.options=Options action.options.mnemonic=79 # Options Menu Items action.options.selectQueueFactory=Fixer le QueueConnectionFactory par défaut action.options.selectTopicFactory=Fixer le TopicConnectionFactory par défaut # Title for Frame, Dialog, etc title.application=Navigateur JNDI title.information.defaultFactory.queue=Sélection du QueueConnectionFactory par défaut title.information.defaultFactory.topic=Sélection du TopicConnectionFactory par défaut title.question.defaultFactory.queue=Sélection du QueueConnectionFactory par défaut title.question.defaultFactory.topic=Sélection du TopicConnectionFactory par défaut # Text for Frame, Dialog, etc text.about.application=The Enterprise Java Tools text.about.javaVersion=Version de Java text.about.virtualMachine=Machine Virtuelle text.progress.create=Crée ... text.progress.add=Ajoute ... text.information.noDefaultFactory.queue=Pas de QueueConnectionFactory référencé text.information.noDefaultFactory.topic=Pas de TopicConnectionFactory référencé text.question.defaultFactory.queue=Choisissze le QueueConnectionFactory par défaut text.question.defaultFactory.topic=Choisissze le TopicConnectionFactory par défaut |
From: Laurent E. <let...@us...> - 2002-04-22 17:38:29
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser In directory usw-pr-cvs1:/tmp/cvs-serv28750/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser Added Files: AboutDialog.java Log Message: Initial Import --- NEW FILE: AboutDialog.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.jndibrowser; // Standard Imports import java.awt.BorderLayout; import java.awt.Color; import java.awt.Container; import java.awt.GridLayout; import java.util.ResourceBundle; import javax.swing.ImageIcon; import javax.swing.JLabel; import javax.swing.JPanel; // Other Imports import net.sourceforge.ejtools.awt.action.Command; import net.sourceforge.ejtools.awt.action.help.AboutAction; import net.sourceforge.ejtools.awt.services.AboutService; import net.sourceforge.ejtools.awt.services.FrameService; /** * Description of the Class * * @author letiembl * @created 2 novembre 2001 * @todo Javadoc to complete * @todo I18N to complete */ public class AboutDialog implements AboutService { /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("ApplicationResources"); /** Description of the Field */ private JPanel panel = null; /** Constructor for the AboutServiceProvider object */ public AboutDialog() { } /** * Getter for the panel attribute * * @return The value */ public Container getPanel() { if (panel == null) { createPanel(); } return panel; } /** Description of the Method */ private void createPanel() { panel = new JPanel(new BorderLayout()); String display = null; JLabel label = null; // North part panel.add("North", new JLabel(new ImageIcon(getClass().getResource("/images/logo.png")))); // Center part panel.add("Center", new JLabel(" ")); // South part JPanel info = new JPanel(new GridLayout(2, 1)); JLabel java = new JLabel(res.getString("text.about.javaVersion") + " : " + System.getProperty("java.version"), JLabel.CENTER); java.setForeground(Color.black); info.add(java); JLabel vm = new JLabel(res.getString("text.about.virtualMachine") + " : " + System.getProperty("java.vm.name") + ", " + System.getProperty("java.vm.version"), JLabel.CENTER); vm.setForeground(Color.black); info.add(vm); panel.add("South", info); } } |
From: Laurent E. <let...@us...> - 2002-04-22 17:38:28
|
Update of /cvsroot/ejtools/applications/management/src/main/net/sourceforge/ejtools/management In directory usw-pr-cvs1:/tmp/cvs-serv28750/management/src/main/net/sourceforge/ejtools/management Added Files: AboutDialog.java Log Message: Initial Import --- NEW FILE: AboutDialog.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.management; import java.awt.BorderLayout; import java.awt.Color; import java.awt.GridLayout; import java.awt.Container; import java.beans.beancontext.BeanContextSupport; import java.beans.beancontext.BeanContextServiceProvider; import java.beans.beancontext.BeanContextServices; import java.beans.beancontext.BeanContextServicesSupport; import java.util.Iterator; import java.util.Vector; import javax.swing.JFrame; import javax.swing.ImageIcon; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPanel; import net.sourceforge.ejtools.awt.action.Command; import net.sourceforge.ejtools.awt.action.help.AboutAction; import net.sourceforge.ejtools.awt.services.AboutService; import net.sourceforge.ejtools.awt.services.FrameService; import org.apache.log4j.Category; /** * Description of the Class * * @author letiembl * @created 2 novembre 2001 */ public class AboutDialog implements AboutService { private static Category cat = Category.getInstance(AboutDialog.class.getName()); private JPanel panel = null; /** Constructor for the AboutServiceProvider object */ public AboutDialog() { } public Container getPanel() { if(panel == null){ createPanel(); } return panel; } /** Description of the Method */ private void createPanel() { panel = new JPanel(new BorderLayout()); String display = null; JLabel label = null; // North part panel.add("North", new JLabel( new ImageIcon(getClass().getResource("/images/logo.png")) )); // Center part panel.add("Center", new JLabel("")); // South part JPanel info = new JPanel(new GridLayout(2, 1)); JLabel java = new JLabel("Java version:" + System.getProperty("java.version"), JLabel.CENTER); java.setForeground(Color.black); info.add(java); JLabel vm = new JLabel("VM:" + System.getProperty("java.vm.name") + ", " + System.getProperty("java.vm.version"), JLabel.CENTER); vm.setForeground(Color.black); info.add(vm); panel.add("South", info); } } |