ejtools-cvs Mailing List for EJTools (Page 101)
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-30 21:23:04
|
Update of /cvsroot/ejtools/applications/deployment/src/main/net/sourceforge/ejtools/deploy/factories In directory usw-pr-cvs1:/tmp/cvs-serv11826/applications/deployment/src/main/net/sourceforge/ejtools/deploy/factories Added Files: DeploymentFactoryManagerProxy.java FactoryManagerService.java FactoryManagerServiceProvider.java Log Message: Initial Import --- NEW FILE: DeploymentFactoryManagerProxy.java --- package net.sourceforge.ejtools.deploy.factories; import java.awt.*; import javax.swing.*; import javax.swing.border.*; import java.beans.Customizer; import java.beans.beancontext.BeanContextChild; import java.beans.beancontext.BeanContextChildComponentProxy; import java.beans.beancontext.BeanContextServiceRevokedListener; import java.beans.beancontext.BeanContextServiceProvider; import java.beans.beancontext.BeanContextServices; import java.beans.beancontext.BeanContextServicesSupport; import java.util.Iterator; import java.util.Vector; import java.net.URLClassLoader; import java.net.URL; import java.net.JarURLConnection; import java.util.jar.Attributes; import javax.enterprise.deploy.spi.factories.*; import javax.enterprise.deploy.spi.exceptions.*; import javax.enterprise.deploy.spi.*; import net.sourceforge.ejtools.awt.GenericCustomizer; /** * Description of the Class * * @author letiembl * @created 13 décembre 2001 */ public class DeploymentFactoryManagerProxy extends BeanContextServicesSupport implements DeploymentFactoryManager, BeanContextChildComponentProxy { protected transient Component c = null; protected DeploymentFactoryManager factoryManager=null; public DeploymentFactoryManagerProxy(DeploymentFactoryManager factoryManager) { this.factoryManager = factoryManager; } public Component getComponent() { if (c == null) { c = createPanel(); } return c; } public String toString() { return factoryManager.getClass().getName(); } public void registerDeploymentFactory(DeploymentFactory factory) { factoryManager.registerDeploymentFactory(factory); } public DeploymentFactory[] getDeploymentFactories() { return factoryManager.getDeploymentFactories(); } public DeploymentManager getDisconnectedDeploymentManager(String uri) throws DeploymentManagerCreationException { return factoryManager.getDisconnectedDeploymentManager(uri); } public DeploymentManager getDeploymentManager(String uri, String username, String password) throws DeploymentManagerCreationException { return factoryManager.getDeploymentManager(uri,username,password); } protected JPanel createPanel() { JPanel panel = null; JLabel jlabel = null; JList list = null; GridBagConstraints gridbagconstraints = new GridBagConstraints(); gridbagconstraints.insets = new Insets(3, 3, 3, 3); gridbagconstraints.anchor = GridBagConstraints.NORTH; panel= new JPanel(new GridBagLayout()); panel.setBorder(new TitledBorder(BorderFactory.createEtchedBorder(), "DeploymentFactoryManager")); jlabel = new JLabel("Class Name :", JLabel.RIGHT); jlabel.setToolTipText("Class Name of the DeploymentFactoryManager"); gridbagconstraints.weightx = 0.0D; gridbagconstraints.weighty = 0.0D; gridbagconstraints.gridwidth = GridBagConstraints.RELATIVE; gridbagconstraints.fill = GridBagConstraints.HORIZONTAL; panel.add(jlabel, gridbagconstraints); jlabel = new JLabel(factoryManager.getClass().getName()); gridbagconstraints.gridwidth = GridBagConstraints.REMAINDER; gridbagconstraints.weightx = 1.0D; panel.add(jlabel , gridbagconstraints); jlabel = new JLabel("Deployment Factories :", JLabel.RIGHT); jlabel.setToolTipText("Available Deployment Factories"); gridbagconstraints.weightx = 0.0D; gridbagconstraints.weighty = 1.0D; gridbagconstraints.gridwidth = GridBagConstraints.RELATIVE; gridbagconstraints.fill = GridBagConstraints.HORIZONTAL; panel.add(jlabel, gridbagconstraints); Vector factories = new Vector(); for(int i =0; i < getDeploymentFactories().length; i++) { DeploymentFactory df = getDeploymentFactories()[i]; factories.add(df.getDisplayname() + " " + df.getProductVersion()); } list = new JList(factories); // list.setEnabled(false); gridbagconstraints.gridwidth = GridBagConstraints.REMAINDER; gridbagconstraints.weightx = 1.0D; panel.add(list , gridbagconstraints); return panel; } } --- NEW FILE: FactoryManagerService.java --- package net.sourceforge.ejtools.deploy.factories; import java.util.Set; import java.util.Iterator; 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 interface FactoryManagerService { public void loadFactories(); public Iterator listFactories(); } --- NEW FILE: FactoryManagerServiceProvider.java --- package net.sourceforge.ejtools.deploy.factories; import java.beans.beancontext.BeanContextServiceProvider; import java.beans.beancontext.BeanContextServices; import java.beans.beancontext.BeanContextServicesSupport; import java.util.Iterator; import java.util.Vector; import java.net.URLClassLoader; import java.net.URL; import java.net.JarURLConnection; import java.util.jar.Attributes; import javax.enterprise.deploy.spi.factories.DeploymentFactoryManager; /** * Description of the Class * * @author letiembl * @created 13 décembre 2001 */ public class FactoryManagerServiceProvider extends BeanContextServicesSupport implements BeanContextServiceProvider, FactoryManagerService { protected final static String TAG = "J2EE-DeploymentFactoryManager-Implementation-Class"; public void loadFactories() { try { // Find list of managers URL[] urls = ((URLClassLoader) Thread.currentThread().getContextClassLoader()).getURLs(); for (int i = 0; i < urls.length; i++) { if (urls[i].getFile().endsWith(".jar")) { Attributes attr = ((JarURLConnection) new URL("jar:" + urls[i] + "!/").openConnection()).getMainAttributes(); String factoryClass = attr.getValue(FactoryManagerServiceProvider.TAG); System.out.println("URL " + urls[i] + " " + factoryClass); if (factoryClass != null) { try { DeploymentFactoryManager manager = (DeploymentFactoryManager) Class.forName(factoryClass).newInstance(); System.out.println("manager " + manager); // add(manager); DeploymentFactoryManagerProxy proxy = new DeploymentFactoryManagerProxy(manager); add(proxy); }catch(Exception e){ e.printStackTrace(); } } } } }catch(Exception e){ e.printStackTrace(); } } public Iterator listFactories() { return iterator(); } /** * 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) { 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) { } /** Description of the Method */ protected void initializeBeanContextResources() { ((BeanContextServices) getBeanContext()).addService(FactoryManagerService.class, this); } protected void releaseBeanContextResources() { ((BeanContextServices) getBeanContext()).revokeService(FactoryManagerService.class, this, true); } } |
From: Laurent E. <let...@us...> - 2002-04-30 21:22:49
|
Update of /cvsroot/ejtools/applications/deployment/src/resources/dtd In directory usw-pr-cvs1:/tmp/cvs-serv11689/applications/deployment/src/resources/dtd Added Files: web-jsptaglibrary_1_1.dtd web-jsptaglibrary_1_2.dtd Log Message: Initial Import --- NEW FILE: web-jsptaglibrary_1_1.dtd --- <!-- Copyright 1999 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, CA 94303, U.S.A. All rights reserved. This product or document is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation. No part of this product or documentation may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any. Third party software, including font technology, is copyrighted and licensed from Sun suppliers. Sun, Sun Microsystems, the Sun Logo, Solaris, Java, JavaServer Pages, Java Naming and Directory Interface, JDBC, JDK, JavaMail and Enterprise JavaBeans, are trademarks or registered trademarks of Sun Microsystems, Inc in the U.S. and other countries. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the U.S. and other countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc. PostScript is a registered trademark of Adobe Systems, Inc. Federal Acquisitions: Commercial Software - Government Users Subject to Standard License Terms and Conditions. DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID. _________________________________________________________________________ Copyright 1999 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303, Etats-Unis. Tous droits re'serve's. Ce produit ou document est prote'ge' par un copyright et distribue' avec des licences qui en restreignent l'utilisation, la copie, la distribution, et la de'compilation. Aucune partie de ce produit ou de sa documentation associe'e ne peut e^tre reproduite sous aucune forme, par quelque moyen que ce soit, sans l'autorisation pre'alable et e'crite de Sun et de ses bailleurs de licence, s'il y en a. Le logiciel de'tenu par des tiers, et qui comprend la technologie relative aux polices de caracte`res, est prote'ge' par un copyright et licencie' par des fournisseurs de Sun. Sun, Sun Microsystems, le logo Sun, Solaris, Java, JavaServer Pages, Java Naming and Directory Interface, JDBC, JDK, JavaMail, et Enterprise JavaBeans, sont des marques de fabrique ou des marques de'pose'es de Sun Microsystems, Inc. aux Etats-Unis et dans d'autres pays. Toutes les marques SPARC sont utilise'es sous licence et sont des marques de fabrique ou des marques de'pose'es de SPARC International, Inc. aux Etats-Unis et dans d'autres pays. Les produits portant les marques SPARC sont base's sur une architecture de'veloppe'e par Sun Microsystems, Inc. Postcript est une marque enregistre'e d'Adobe Systems Inc. LA DOCUMENTATION EST FOURNIE "EN L'ETAT" ET TOUTES AUTRES CONDITIONS, DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENT EXCLUES, DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS NOTAMMENT TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A L'APTITUDE A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DE CONTREFACON. --> <!-- This is the DTD defining the JavaServer Pages 1.1 Tag Library descriptor (.tld) (XML) file format/syntax. A Tag Library is a JAR file containing a valid instance of a Tag Library Descriptor (taglib.tld) file in the META-INF subdirectory, along with the appropriate implementing classes, and other resources required to implement the tags defined therein. --> <!-- The taglib tag is the document root, it defines: tlibversion the version of the tag library implementation jspversion the version of JSP the tag library depends upon shortname a simple default short name that could be used by a JSP authoring tool to create names with a mnemonic value; for example, the it may be used as the prefered prefix value in taglib directives uri a uri uniquely identifying this taglib info a simple string describing the "use" of this taglib, should be user discernable --> <!ELEMENT taglib (tlibversion, jspversion?, shortname, uri?, info?, tag+) > <!ATTLIST taglib id ID #IMPLIED xmlns CDATA #FIXED "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd" > <!-- Describes this version (number) of the taglibrary (dewey decimal) #PCDATA ::= [0-9]*{ "."[0-9] }0..3 --> <!ELEMENT tlibversion (#PCDATA) > <!-- Describes the JSP version (number) this taglibrary requires in order to function (dewey decimal) The default is 1.1 #PCDATA ::= [0-9]*{ "."[0-9] }0..3 --> <!ELEMENT jspversion (#PCDATA) > <!-- Defines a short (default) shortname to be used for tags and variable names used/created by this tag library. Do not use white space, and do not start with digits or underscore. #PCDATA ::= NMTOKEN --> <!ELEMENT shortname (#PCDATA) > <!-- Defines a public URI that uniquely identifies this version of the taglibrary Leave it empty if it does not apply. --> <!ELEMENT uri (#PCDATA) > <!-- Defines an arbitrary text string descirbing the tag library --> <!ELEMENT info (#PCDATA) > <!-- The tag defines a unique tag in this tag library, defining: - the unique tag/element name - the subclass of javax.servlet.jsp.tagext.Tag implementation class - an optional subclass of javax.servlet.jsp.tagext.TagExtraInfo - the body content type (hint) - optional tag-specific information - any attributes --> <!ELEMENT tag (name, tagclass, teiclass?, bodycontent?, info?, attribute*) > <!-- Defines the subclass of javax.serlvet.jsp.tagext.Tag that implements the request time semantics for this tag. (required) #PCDATA ::= fully qualified Java class name --> <!ELEMENT tagclass (#PCDATA) > <!-- Defines the subclass of javax.servlet.jsp.tagext.TagExtraInfo for this tag. (optional) If this is not given, the class is not consulted at translation time. #PCDATA ::= fully qualified Java class name --> <!ELEMENT teiclass (#PCDATA) > <!-- Provides a hint as to the content of the body of this tag. Primarily intended for use by page composition tools. There are currently three values specified: tagdependent The body of the tag is interpreted by the tag implementation itself, and is most likely in a different "langage", e.g embedded SQL statements. JSP The body of the tag contains nested JSP syntax empty The body must be empty The default (if not defined) is JSP #PCDATA ::= tagdependent | JSP | empty --> <!ELEMENT bodycontent (#PCDATA) > <!-- The attribute tag defines an attribute for the nesting tag An attribute definition is composed of: - the attributes name (required) - if the attribute is required or optional (optional) - if the attributes value may be dynamically calculated at runtime by a scriptlet expression (optional) --> <!ELEMENT attribute (name, required? , rtexprvalue?) > <!-- Defines the canonical name of a tag or attribute being defined #PCDATA ::= NMTOKEN --> <!ELEMENT name (#PCDATA) > <!-- Defines if the nesting attribute is required or optional. #PCDATA ::= true | false | yes | no If not present then the default is "false", i.e the attribute is optional. --> <!ELEMENT required (#PCDATA) > <!-- Defines if the nesting attribute can have scriptlet expressions as a value, i.e the value of the attribute may be dynamically calculated at request time, as opposed to a static value determined at translation time. #PCDATA ::= true | false | yes | no If not present then the default is "false", i.e the attribute has a static value --> <!ELEMENT rtexprvalue (#PCDATA) > <!ATTLIST tlibversion id ID #IMPLIED> <!ATTLIST jspversion id ID #IMPLIED> <!ATTLIST shortname id ID #IMPLIED> <!ATTLIST uri id ID #IMPLIED> <!ATTLIST info id ID #IMPLIED> <!ATTLIST tag id ID #IMPLIED> <!ATTLIST tagclass id ID #IMPLIED> <!ATTLIST teiclass id ID #IMPLIED> <!ATTLIST bodycontent id ID #IMPLIED> <!ATTLIST attribute id ID #IMPLIED> <!ATTLIST name id ID #IMPLIED> <!ATTLIST required id ID #IMPLIED> <!ATTLIST rtexprvalue id ID #IMPLIED> --- NEW FILE: web-jsptaglibrary_1_2.dtd --- <!-- This is the DTD defining the JavaServer Pages 1.2 Tag Library descriptor (.tld) (XML) file format/syntax. A Tag Library is a JAR file containing a valid instance of a Tag Library Descriptor (taglib.tld) file in the META-INF subdirectory, along with the appropriate implementing classes, and other resources required to implement the tags defined therein. Use is subject to license terms. --> <!NOTATION WEB-JSPTAGLIB.1_2 PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"> <!-- This is the XML DTD for the JSP 1.2 Tag Library Descriptor. All JSP 1.2 tag library descriptors must include a DOCTYPE of the following form: <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"> --> <!-- The taglib tag is the document root, it defines: tlib-version the version of the tag library implementation jsp-version the version of JSP the tag library depends upon short-name a simple default short name that could be used by a JSP authoring tool to create names with a mnemonic value; for example, the it may be used as the prefered prefix value in taglib directives uri a uri uniquely identifying this taglib display-name the display-name element contains a short name that is intended to be displayed by tools small-icon optional small-icon that can be used by tools large-icon optional large-icon that can be used by tools description a simple string describing the "use" of this taglib, should be user discernable validator optional TagLibraryValidator information listener optional event listener specification --> <!ELEMENT taglib (tlib-version, jsp-version, short-name, uri?, display-name?, small-icon?, large-icon?, description?, validator?, listener*, tag+) > <!ATTLIST taglib id ID #IMPLIED xmlns CDATA #FIXED "http://java.sun.com/JSP/TagLibraryDescriptor" > <!-- Describes this version (number) of the taglibrary (dewey decimal) #PCDATA ::= [0-9]*{ "."[0-9] }0..3 --> <!ELEMENT tlib-version (#PCDATA) > <!-- Describes the JSP version (number) this taglibrary requires in order to function (dewey decimal) The default is 1.2 #PCDATA ::= [0-9]*{ "."[0-9] }0..3 --> <!ELEMENT jsp-version (#PCDATA) > <!-- Defines a short (default) short-name to be used for tags and variable names used/created by this tag library. Do not use white space, and do not start with digits or underscore. #PCDATA ::= NMTOKEN --> <!ELEMENT short-name (#PCDATA) > <!-- Defines a public URI that uniquely identifies this version of the taglibrary. Leave it empty if it does not apply. --> <!ELEMENT uri (#PCDATA) > <!-- Defines an arbitrary text string descirbing the tag library --> <!ELEMENT description (#PCDATA) > <!-- Defines an optional validator that can be used to validate the conformance of a JSP page to using this tag library. --> <!ELEMENT validator (validator-class, init-param*, description?) > <!-- Defines the TagLibraryValidator class that can be used to validate the conformance of a JSP page to using this tag library. --> <!ELEMENT validator-class (#PCDATA) > <!-- The init-param element contains a name/value pair as an initialization param --> <!ELEMENT init-param (param-name, param-value, description?)> <!-- The param-name element contains the name of a parameter. --> <!ELEMENT param-name (#PCDATA)> <!-- The param-value element contains the value of a parameter. --> <!ELEMENT param-value (#PCDATA)> <!-- Defines an optional event listener object to be instantiated and registered automatically. --> <!ELEMENT listener (listener-class) > <!-- The listener-class element declares a class in the application that must be registered as a web application listener bean. See the Servlet 2.3 specification for details. --> <!ELEMENT listener-class (#PCDATA) > <!-- The tag defines a unique tag in this tag library. It has one attribute, id. The tag element may have several subelements defining: name The unique action name tag-class The tag handler class implementing javax.servlet.jsp.tagext.Tag tei-class An optional subclass of javax.servlet.jsp.tagext.TagExtraInfo body-content The body content type display-name A short name that is intended to be displayed by tools small-icon Optional small-icon that can be used by tools large-icon Optional large-icon that can be used by tools description Optional tag-specific information variable Optional scripting variable information attribute All attributes of this action example Optional informal description of an example of a use of this tag --> <!ELEMENT tag (name, tag-class, tei-class?, body-content?, display-name?, small-icon?, large-icon?, description?, variable*, attribute*, example?) > <!-- Defines the subclass of javax.serlvet.jsp.tagext.Tag that implements the request time semantics for this tag. (required) #PCDATA ::= fully qualified Java class name --> <!ELEMENT tag-class (#PCDATA) > <!-- Defines the subclass of javax.servlet.jsp.tagext.TagExtraInfo for this tag. (optional) If this is not given, the class is not consulted at translation time. #PCDATA ::= fully qualified Java class name --> <!ELEMENT tei-class (#PCDATA) > <!-- Provides a hint as to the content of the body of this tag. Primarily intended for use by page composition tools. There are currently three values specified: tagdependent The body of the tag is interpreted by the tag implementation itself, and is most likely in a different "langage", e.g embedded SQL statements. JSP The body of the tag contains nested JSP syntax empty The body must be empty The default (if not defined) is JSP #PCDATA ::= tagdependent | JSP | empty --> <!ELEMENT body-content (#PCDATA) > <!-- The display-name element contains a short name that is intended to be displayed by tools. --> <!ELEMENT display-name (#PCDATA) > <!-- The large-icon element contains the name of a file containing a large (32 x 32) icon image. The file name is a relative path within the tag library. The image must be either in the JPEG or GIF format, and the file name must end with the suffix ".jpg" or ".gif" respectively. The icon can be used by tools. --> <!ELEMENT large-icon (#PCDATA) > <!-- The small-icon element contains the name of a file containing a large (32 x 32) icon image. The file name is a relative path within the tag library. The image must be either in the JPEG or GIF format, and the file name must end with the suffix ".jpg" or ".gif" respectively. The icon can be used by tools. --> <!ELEMENT small-icon (#PCDATA) > <!-- The example element contains an informal description of an example of the use of a tag. --> <!ELEMENT example (#PCDATA) > <!-- The variable tag provides information on the scripting variables defined by this tag. It is a (translation time) error for a tag that has one or more variable subelements to have a TagExtraInfo class that returns a non-null object. The subelements of variable are of the form: name-given The variable name as a constant name-from-attribute The name of an attribute whose (translation time) value will give the name of the variable. One of name-given or name-from-attribute is required. variable-class Name of the class of the variable. java.lang.String is default. declare Whether the variable is declared or not. True is the default. scope The scope of the scripting varaible defined. NESTED is default. description Optional description of this variable --> <!ELEMENT variable ( (name-given | name-from-attribute), variable-class?, declare?, scope?, description?) > <!-- The name for the scripting variable. One of name-given or name-from-attribute is required. --> <!ELEMENT name-given (#PCDATA) > <!-- The name of an attribute whose (translation-time) value will give the name of the variable. One of name-given or name-from-attribute is required. --> <!ELEMENT name-from-attribute (#PCDATA) > <!-- The optional name of the class for the scripting variable. The default is java.lang.String. --> <!ELEMENT variable-class (#PCDATA) > <!-- Whether the scripting variable is to be defined or not. See TagExtraInfo for details. This element is optional and "true" is the default. --> <!ELEMENT declare (#PCDATA) > <!-- The scope of the scripting variable. See TagExtraInfo for details. The element is optional and "NESTED" is the default. Other legal values are "AT_BEGIN" and "AT_END". --> <!ELEMENT scope (#PCDATA) > <!-- The attribute tag defines an attribute for the nesting tag An attribute definition is composed of: - the attributes name (required) - if the attribute is required or optional (optional) - if the attributes value may be dynamically calculated at runtime by a scriptlet expression (optional) - the type of the attributes value (optional) - an informal description of the meaning of the attribute (optional) --> <!-- The attribute tag defines an attribute for the nesting tag An attribute definition is composed of: - the attributes name (required) - if the attribute is required or optional (optional) - if the attributes value may be dynamically calculated at runtime by a scriptlet expression (optional) - the type of the attributes value (optional) - an informal description of the meaning of the attribute (optional) --> <!ELEMENT attribute (name, required? , rtexprvalue?, type?, description?) > <!-- Defines the canonical name of a tag or attribute being defined #PCDATA ::= NMTOKEN --> <!ELEMENT name (#PCDATA) > <!-- Defines if the nesting attribute is required or optional. #PCDATA ::= true | false | yes | no If not present then the default is "false", i.e the attribute is optional. --> <!ELEMENT required (#PCDATA) > <!-- Defines if the nesting attribute can have scriptlet expressions as a value, i.e the value of the attribute may be dynamically calculated at request time, as opposed to a static value determined at translation time. #PCDATA ::= true | false | yes | no If not present then the default is "false", i.e the attribute has a static value --> <!ELEMENT rtexprvalue (#PCDATA) > <!-- Defines the Java type of the attributes value. For static values (those determined at translation time) the type is always java.lang.String. --> <!ELEMENT type (#PCDATA) > <!-- ID attributes --> <!ATTLIST tlib-version id ID #IMPLIED> <!ATTLIST jsp-version id ID #IMPLIED> <!ATTLIST short-name id ID #IMPLIED> <!ATTLIST uri id ID #IMPLIED> <!ATTLIST description id ID #IMPLIED> <!ATTLIST example id ID #IMPLIED> <!ATTLIST tag id ID #IMPLIED> <!ATTLIST tag-class id ID #IMPLIED> <!ATTLIST tei-class id ID #IMPLIED> <!ATTLIST body-content id ID #IMPLIED> <!ATTLIST attribute id ID #IMPLIED> <!ATTLIST name id ID #IMPLIED> <!ATTLIST required id ID #IMPLIED> <!ATTLIST rtexprvalue id ID #IMPLIED> <!ATTLIST param-name id ID #IMPLIED> <!ATTLIST param-value id ID #IMPLIED> <!ATTLIST listener id ID #IMPLIED> <!ATTLIST listener-class id ID #IMPLIED> |
From: Laurent E. <let...@us...> - 2002-04-30 21:22:36
|
Update of /cvsroot/ejtools/applications/deployment/src/resources/dtd In directory usw-pr-cvs1:/tmp/cvs-serv11597/applications/deployment/src/resources/dtd Added Files: jspxml.dtd jspxml.xsd Log Message: Initial Import --- NEW FILE: jspxml.dtd --- <!-- DTD for JSP 1.2 thanks to Bob Foster, WebGain --> <!-- This DTD is not conditional on any parameter entities in the internal subset and does not export any general entities. --> <!--================== Constrained Names ====================================--> <!ENTITY % URI "CDATA"> <!-- a Uniform Resource Identifier, see [RFC2396] --> <!ENTITY % UriList "CDATA"> <!-- a space separated list of Uniform Resource Identifiers --> <!ENTITY % URL "CDATA"> <!-- a relative urlSpec is as in Section 2.10.2. --> <!ENTITY % BeanID "IDREF"> <!-- a previously declared bean ID in the current scope. --> <!ENTITY % Prefix "CDATA"> <!-- a Name that contains no : characters. --> <!ENTITY % ClassName "CDATA"> <!-- a fully qualified class name. --> <!ENTITY % TypeName "CDATA"> <!-- a fully qualified class or interface name. --> <!ENTITY % BeanName "CDATA"> <!-- a bean name as expected by java.beans.Beans instantiate(). --> <!ENTITY % Content "CDATA"> <!-- a MIME type followed by an IANA charset, as " type [; S? ['charset='] charset] " --> <!ENTITY % Length "CDATA"> <!-- nn for pixels or nn% for percentage length --> <!ENTITY % Pixels "CDATA"> <!-- integer representing length in pixels --> <!ENTITY % Bool "(true|false|yes|no)"> <!-- boolean --> <!-- used for object, applet, img, input and iframe --> <!ENTITY % ImgAlign "(top|middle|bottom|left|right)"> <!--=================== Element Groups ====================================--> <!ENTITY % Directives "jsp:directive.page|jsp:directive.include"> <!ENTITY % Scripts "jsp:scriptlet|jsp:declaration|jsp:expression"> <!ENTITY % Actions "jsp:useBean |jsp:setProperty |jsp:getProperty |jsp:include |jsp:forward |jsp:plugin" > <!ENTITY % Body "(jsp:text|%Directives;|%Scripts;|%Actions;)*"> <!-- ============================ Elements ============================ --> <!-- Root element of a JSP page. --> <!ELEMENT jsp:root %Body;> <!ATTLIST jsp:root xmlns:jsp CDATA "http://java.sun.com/JSP/Page" version CDATA #REQUIRED > <!ELEMENT jsp:directive.page EMPTY> <!ATTLIST jsp:directive.page language CDATA "java" extends %ClassName; #IMPLIED contentType %Content; "text/html; ISO-8859-1" import CDATA #IMPLIED session %Bool; "true" buffer CDATA "8kb" autoFlush %Bool; "true" isThreadSafe %Bool; "true" info CDATA #IMPLIED errorPage %URL; #IMPLIED isErrorPage %Bool; "false" > <!-- the jsp:directive.include only appears in JSP documents and does not appear in the XML views of JSP pages. --> <!ELEMENT jsp:directive.include EMPTY> <!ATTLIST jsp:directive.include file %URI; #REQUIRED > <!ELEMENT jsp:scriptlet (#PCDATA)> <!ELEMENT jsp:declaration (#PCDATA)> <!ELEMENT jsp:expression (#PCDATA)> <!ELEMENT jsp:useBean %Body;> <!ATTLIST jsp:useBean id ID #REQUIRED class %ClassName; #IMPLIED type %TypeName; #IMPLIED beanName %BeanName; #IMPLIED scope (page |session |request |application) "page" > <!ELEMENT jsp:setProperty EMPTY> <!ATTLIST jsp:setProperty name %BeanID; #REQUIRED property CDATA #REQUIRED value CDATA #IMPLIED param CDATA #IMPLIED > <!ELEMENT jsp:getProperty EMPTY> <!ATTLIST jsp:getProperty name %BeanID; #REQUIRED property CDATA #REQUIRED > <!ELEMENT jsp:include (jsp:param*)> <!ATTLIST jsp:include flush %Bool; "false" page %URL; #REQUIRED > <!ELEMENT jsp:forward (jsp:param*)> <!ATTLIST jsp:forward page %URL; #REQUIRED > <!ELEMENT jsp:plugin (jsp:params?, jsp:fallback?)> <!ATTLIST jsp:plugin type (bean|applet) #REQUIRED code %URI; #IMPLIED codebase %URI; #IMPLIED align %ImgAlign; #IMPLIED archive %UriList; #IMPLIED height %Length; #IMPLIED hspace %Pixels; #IMPLIED jreversion CDATA "1.2" name NMTOKEN #IMPLIED vspace %Pixels; #IMPLIED width %Length; #IMPLIED nspluginurl %URI; #IMPLIED iepluginurl %URI; #IMPLIED > <!ELEMENT jsp:params (jsp:param+)> <!ELEMENT jsp:param EMPTY> <!ATTLIST jsp:param name CDATA #REQUIRED value CDATA #REQUIRED > <!ELEMENT jsp:text #PCDATA> --- NEW FILE: jspxml.xsd --- <?xml version ="1.0"?> <!DOCTYPE schema [ <!-- Patterns --> <!ENTITY Identifier "(\p{L}|_|$)(\p{N}|\p{L}|_|$)*"> <!ENTITY TypeName "&Identifier;(\.&Identifier;)*"> <!ENTITY WS "\s*"> <!ENTITY Import "&TypeName;(\.\*)?"> <!ENTITY ImportList "&Import;(&WS;,&WS;&Import;)*"> <!ENTITY SetProp "(&Identifier;|\*)"> <!ENTITY RelativeURL "[^:#/\?]*(:{0,0}|[#/\?].*)"> <!ENTITY Length "[0-9]*%?"> <!ENTITY AsciiName "[A-Za-z0-9_-]*"> <!ENTITY ValidContentType "&AsciiName;/&AsciiName;(;&WS;(charset=)?&AsciiName;)?"> <!ENTITY ValidPageEncoding "&AsciiName;/&AsciiName;"> <!ENTITY Buffer "[0-9]+kb"> <!ENTITY RTexpr "%=.*%"> ]> <!--Conforms to w3c http://www.w3.org/2001/XMLSchema --> <xsd:schema xmlns = "http://java.sun.com/JSP/Page" xmlns:xsd = "http://www.w3.org/2001/XMLSchema" xmlns:jsp = "http://java.sun.com/JSP/Page" targetNamespace = "http://java.sun.com/JSP/Page" elementFormDefault = "qualified" attributeFormDefault = "unqualified"> <xsd:annotation> <xsd:documentation> XML Schema for JSP 1.2. This schema is based upon the recent (May 5th, 2001) W3C recommendation for XML Schema. A JSP translator should reject an XML-format file that is not strictly valid according to this schema or does not observe the constraints documented here. A translator is not required to use this schema for validation or to use a validating parser. </xsd:documentation> </xsd:annotation> <!-- Complex Types --> <xsd:complexType name = "Body"> <xsd:annotation> <xsd:documentation> Body defines the "top-level" elements in root and beanInfo. There are probably other elements that should use it. </xsd:documentation> </xsd:annotation> <xsd:group ref = "Bodygroup" minOccurs = "0" maxOccurs = "unbounded"/> </xsd:complexType> <xsd:complexType name = "BasicType"> <xsd:simpleContent> <xsd:extension base = "xsd:string"> <xsd:attribute ref = "jsp:id"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> <!-- groups --> <xsd:group name = "Bodygroup"> <xsd:choice> <xsd:element ref = "directive.page"/> <xsd:element ref = "directive.include"/> <xsd:element ref = "scriptlet"/> <xsd:element ref = "declaration"/> <xsd:element ref = "expression"/> <xsd:element ref = "useBean"/> <xsd:element ref = "setProperty"/> <xsd:element ref = "getProperty"/> <xsd:element ref = "include"/> <xsd:element ref = "forward"/> <xsd:element ref = "plugin"/> <xsd:element ref = "text"/> <xsd:any namespace="##other" processContents = "lax"/> </xsd:choice> </xsd:group> <!-- jsp:id attribute --> <xsd:attribute name = "id" type = "xsd:string"/> <!-- This should be requesting jsp:id to be unique within all elements in the document. <xsd:unique name="dummy"> <xsd:selector xpath="*"/> <xsd:field xpath="jsp:/@id"/> </xsd:unique> --> <!-- Simple types are next --> <xsd:simpleType name = "RTE"> <xsd:annotation> <xsd:documentation> A request-time expression value </xsd:documentation> </xsd:annotation> <xsd:restriction base = "xsd:string"> <xsd:pattern value = "&RTexpr;"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name = "Bool"> <xsd:annotation> <xsd:documentation> Bool would be boolean except it does not accept 1 and 0. </xsd:documentation> </xsd:annotation> <xsd:restriction base = "xsd:NMTOKEN" > <xsd:enumeration value = "true"/> <xsd:enumeration value = "false"/> <xsd:enumeration value = "yes"/> <xsd:enumeration value = "no"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name = "Identifier"> <xsd:annotation> <xsd:documentation> Identifier is an unqualified Java identifier. </xsd:documentation> </xsd:annotation> <xsd:restriction base = "xsd:string"> <xsd:pattern value = "&Identifier;"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name = "TypeName"> <xsd:annotation> <xsd:documentation> TypeName is one or more Java identifiers separated by dots with no whitespace. </xsd:documentation> </xsd:annotation> <xsd:restriction base = "xsd:string"> <xsd:pattern value = "&TypeName;"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name = "ImportList"> <xsd:annotation> <xsd:documentation> ImportList is one or more typeNames separated by commas. Whitespace is allowed before and after the comma. </xsd:documentation> </xsd:annotation> <xsd:restriction base = "xsd:string"> <xsd:pattern value = "&ImportList;"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name = "SetProp"> <xsd:annotation> <xsd:documentation> SetProp is an Identifier or *. </xsd:documentation> </xsd:annotation> <xsd:restriction base = "xsd:string"> <xsd:pattern value = "&SetProp;"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name = "RelativeURL"> <xsd:annotation> <xsd:documentation> RelativeURL is a uriReference with no colon character before the first /, ? or #, if any (RFC2396). </xsd:documentation> </xsd:annotation> <xsd:restriction base = "xsd:anyURI"> <xsd:pattern value = "&RelativeURL;"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name = "RTERelativeURL"> <xsd:union memberTypes = "RelativeURL RTE"/> </xsd:simpleType> <xsd:simpleType name = "Length"> <xsd:annotation> <xsd:documentation> Length is nn or nn%. </xsd:documentation> </xsd:annotation> <xsd:restriction base = "xsd:string"> <xsd:pattern value = "&Length;"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name = "ExplicitBufferSize"> <xsd:annotation> <xsd:documentation> Buffer Size with an explicit value </xsd:documentation> </xsd:annotation> <xsd:restriction base = "xsd:string"> <xsd:pattern value = "&Buffer;"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name = "NoneBufferSize"> <xsd:annotation> <xsd:documentation> Buffer Size with a "none" value </xsd:documentation> </xsd:annotation> <xsd:restriction base = "xsd:string"> <xsd:enumeration value = "none"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name = "BufferSize"> <xsd:annotation> <xsd:documentation> Buffer size is xkb or none. </xsd:documentation> </xsd:annotation> <xsd:union memberTypes = "ExplicitBufferSize NoneBufferSize"/> </xsd:simpleType> <xsd:simpleType name = "ContentType"> <xsd:annotation> <xsd:documentation> Contetn Type for this page </xsd:documentation> </xsd:annotation> <xsd:restriction base = "xsd:string"> <xsd:pattern value = "&ValidContentType;"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name = "PageEncoding"> <xsd:annotation> <xsd:documentation> Page Encoding for this page. Default is that of ContentType. </xsd:documentation> </xsd:annotation> <xsd:restriction base = "xsd:string"> <xsd:pattern value = "&ValidPageEncoding;"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name = "Scope"> <xsd:annotation> <xsd:documentation> valid scope values </xsd:documentation> </xsd:annotation> <xsd:restriction base = "xsd:NMTOKEN"> <xsd:enumeration value = "page"/> <xsd:enumeration value = "session"/> <xsd:enumeration value = "request"/> <xsd:enumeration value = "application"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name = "PlugInType"> <xsd:annotation> <xsd:documentation> valid values for a plugin type </xsd:documentation> </xsd:annotation> <xsd:restriction base = "xsd:NMTOKEN"> <xsd:enumeration value = "bean"/> <xsd:enumeration value = "applet"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name = "AlignType"> <xsd:annotation> <xsd:documentation> Buffer size is xkb. </xsd:documentation> </xsd:annotation> <xsd:restriction base = "xsd:NMTOKEN"> <xsd:enumeration value = "top"/> <xsd:enumeration value = "middle"/> <xsd:enumeration value = "bottom"/> <xsd:enumeration value = "left"/> <xsd:enumeration value = "right"/> </xsd:restriction> </xsd:simpleType> <!-- Elements follow --> <xsd:element name = "root"> <xsd:annotation> <xsd:documentation> The root element of all JSP documents is named root. Authors may, if they wish, include schema location information. If specified, the information may appear as attributes of the root element as follows: xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/JSP/Page xsd-file-location" Documents should not specify the system identifier of a DTD in a DOCTYPE declaration. </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:complexContent> <xsd:extension base = "Body"> <xsd:attribute name = "version" fixed = "1.2" type = "xsd:string"/> </xsd:extension> </xsd:complexContent> </xsd:complexType> </xsd:element> <xsd:element name = "directive.page"> <xsd:annotation> <xsd:documentation> directive.page is the "page directive". </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:attribute ref = "jsp:id"/> <xsd:attribute name = "language" default = "java" type = "xsd:string"/> <xsd:attribute name = "extends" type = "TypeName"/> <xsd:attribute name = "contentType" default = "text/html; ISO-8859-1" type = "ContentType"/> <xsd:attribute name = "pageEncoding" use = "optional" type = "PageEncoding"/> <xsd:attribute name = "import" type = "ImportList"/> <xsd:attribute name = "session" default = "true" type = "Bool"/> <xsd:attribute name = "buffer" default = "8kb" type = "BufferSize"/> <xsd:attribute name = "autoFlush" default = "true" type = "Bool"/> <xsd:attribute name = "isThreadSafe" default = "true" type = "Bool"/> <xsd:attribute name = "info" type = "xsd:string"/> <xsd:attribute name = "errorPage" type = "RelativeURL"/> <xsd:attribute name = "isErrorPage" default = "false" type = "Bool"/> </xsd:complexType> </xsd:element> <xsd:element name = "directive.include"> <xsd:annotation> <xsd:documentation> directive.include is the "include directive". This element does not appear on XML views of JSP pages. </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:attribute ref = "jsp:id"/> <xsd:attribute name = "file" use = "required" type = "RelativeURL"/> </xsd:complexType> </xsd:element> <xsd:element name = "scriptlet" type = "BasicType"> <xsd:annotation> <xsd:documentation> The representation of a scriplet. </xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name = "declaration" type = "BasicType"> <xsd:annotation> <xsd:documentation> The reprsentation of a declaration. </xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name = "expression" type = "BasicType"> <xsd:annotation> <xsd:documentation> The representation of an expression. </xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name = "text" type = "BasicType"> <xsd:annotation> <xsd:documentation> Verbatim template text. </xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name = "useBean"> <xsd:annotation> <xsd:documentation> useBean instantiates or accesses a bean in the specified scope. Constraint: The allowed combinations of attributes are: class [type] | type [( class | beanName)] </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:complexContent> <xsd:extension base="Body"> <xsd:attribute ref = "jsp:id"/> <xsd:attribute name = "id" use = "required" type = "Identifier"/> <xsd:attribute name = "class" type = "TypeName"/> <xsd:attribute name = "type" type = "TypeName"/> <xsd:attribute name = "beanName" type = "TypeName"/> <xsd:attribute name = "scope" default = "page" type = "Scope"/> </xsd:extension> </xsd:complexContent> </xsd:complexType> </xsd:element> <xsd:element name = "setProperty"> <xsd:annotation> <xsd:documentation> setProperty changes the value of an object property. Constraint: The object named by the name must have been "introduced" to the JSP processor using either the jsp:useBean action or a custom action with an associated VariableInfo entry for this name. Exact valid combinations are not expressable in XML Schema. They are: name="Identifier" property="*" name="Identifier" property="Identfiier" param="string" name="Identifier" property="Identifier" value="string" </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:attribute ref = "jsp:id"/> <xsd:attribute name = "name" use = "required" type = "Identifier"/> <xsd:attribute name = "property" use = "required" type = "SetProp"/> <xsd:attribute name = "param" type = "xsd:string"/> <xsd:attribute name = "value" type = "xsd:string"/> </xsd:complexType> </xsd:element> <xsd:element name = "getProperty"> <xsd:annotation> <xsd:documentation> getProperty obtains the value of an object property. Constraint: The object named by the name must have been "introduced" to the JSP processor using either the jsp:useBean action or a custom action with an associated VariableInfo entry for this name. ???The spec is interpreted as restricting the values of property to Identifier. </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:attribute ref = "jsp:id"/> <xsd:attribute name = "name" use = "required" type = "Identifier"/> <xsd:attribute name = "property" use = "required" type = "Identifier"/> </xsd:complexType> </xsd:element> <xsd:element name = "include"> <xsd:complexType> <xsd:sequence> <xsd:element ref = "param" minOccurs = "0" maxOccurs = "unbounded"/> </xsd:sequence> <xsd:attribute ref = "jsp:id"/> <xsd:attribute name = "flush" default = "false" type = "Bool"/> <xsd:attribute name = "page" use = "required" type = "RTERelativeURL"/> </xsd:complexType> </xsd:element> <xsd:element name = "forward"> <xsd:complexType> <xsd:sequence> <xsd:element ref = "param" minOccurs = "0" maxOccurs = "unbounded"/> </xsd:sequence> <xsd:attribute ref = "jsp:id"/> <xsd:attribute name = "page" use = "required" type = "RTERelativeURL"/> </xsd:complexType> </xsd:element> <xsd:element name = "plugin"> <xsd:complexType> <!-- content only! --> <xsd:sequence> <xsd:element ref = "params" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "fallback" minOccurs = "0" maxOccurs = "1" type = "Body"/> </xsd:sequence> <xsd:attribute ref = "jsp:id"/> <xsd:attribute name = "type" use = "required" type = "PlugInType"/> <xsd:attribute name = "code" type = "xsd:anyURI"/> <xsd:attribute name = "codebase" type = "xsd:anyURI"/> <xsd:attribute name = "align" type = "AlignType"/> <xsd:attribute name = "archive"> <xsd:simpleType> <xsd:list itemType="xsd:anyURI"/> </xsd:simpleType> </xsd:attribute> <xsd:attribute name = "height" type = "Length"/> <xsd:attribute name = "hspace" type = "xsd:int"/> <xsd:attribute name = "jreversion" default = "1.2" type = "xsd:string"/> <xsd:attribute name = "name" type = "xsd:NMTOKEN"/> <xsd:attribute name = "vspace" type = "xsd:int"/> <xsd:attribute name = "width" type = "Length"/> <xsd:attribute name = "nspluginurl" type = "xsd:anyURI"/> <xsd:attribute name = "iepluginurl" type = "xsd:anyURI"/> </xsd:complexType> </xsd:element> <xsd:element name = "params"> <xsd:complexType> <xsd:sequence> <xsd:element ref = "param" minOccurs = "1" maxOccurs = "unbounded"/> </xsd:sequence> <xsd:attribute ref = "jsp:id"/> </xsd:complexType> </xsd:element> <xsd:element name = "param"> <xsd:complexType> <xsd:attribute ref = "jsp:id"/> <xsd:attribute name = "name" use = "required" type = "xsd:NMTOKEN"/> <xsd:attribute name = "value" use = "required" type = "xsd:string"/> </xsd:complexType> </xsd:element> </xsd:schema> |
From: Laurent E. <let...@us...> - 2002-04-30 21:22:12
|
Update of /cvsroot/ejtools/applications/deployment/src/resources/dtd In directory usw-pr-cvs1:/tmp/cvs-serv11406/applications/deployment/src/resources/dtd Added Files: application-client_1_2.dtd application-client_1_3.dtd Log Message: Initial Import --- NEW FILE: application-client_1_2.dtd --- <!-- Copyright 1999 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, CA 94303, U.S.A. All rights reserved. This product or document is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation. No part of this product or documentation may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any. Third party software, including font technology, is copyrighted and licensed from Sun suppliers. Sun, Sun Microsystems, the Sun Logo, Solaris, Java, JavaServer Pages, Java Naming and Directory Interface, JDBC, JDK, JavaMail and Enterprise JavaBeans, are trademarks or registered trademarks of Sun Microsystems, Inc in the U.S. and other countries. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the U.S. and other countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc. PostScript is a registered trademark of Adobe Systems, Inc. Federal Acquisitions: Commercial Software - Government Users Subject to Standard License Terms and Conditions. DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID. _________________________________________________________________________ Copyright 1999 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303, Etats-Unis. Tous droits re'serve's. Ce produit ou document est prote'ge' par un copyright et distribue' avec des licences qui en restreignent l'utilisation, la copie, la distribution, et la de'compilation. Aucune partie de ce produit ou de sa documentation associe'e ne peut e^tre reproduite sous aucune forme, par quelque moyen que ce soit, sans l'autorisation pre'alable et e'crite de Sun et de ses bailleurs de licence, s'il y en a. Le logiciel de'tenu par des tiers, et qui comprend la technologie relative aux polices de caracte`res, est prote'ge' par un copyright et licencie' par des fournisseurs de Sun. Sun, Sun Microsystems, le logo Sun, Solaris, Java, JavaServer Pages, Java Naming and Directory Interface, JDBC, JDK, JavaMail, et Enterprise JavaBeans, sont des marques de fabrique ou des marques de'pose'es de Sun Microsystems, Inc. aux Etats-Unis et dans d'autres pays. Toutes les marques SPARC sont utilise'es sous licence et sont des marques de fabrique ou des marques de'pose'es de SPARC International, Inc. aux Etats-Unis et dans d'autres pays. Les produits portant les marques SPARC sont base's sur une architecture de'veloppe'e par Sun Microsystems, Inc. Postcript est une marque enregistre'e d'Adobe Systems Inc. LA DOCUMENTATION EST FOURNIE "EN L'ETAT" ET TOUTES AUTRES CONDITIONS, DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENT EXCLUES, DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS NOTAMMENT TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A L'APTITUDE A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DE CONTREFACON. --> <!-- The application-client element is the root element of an application client deployment descriptor. The application client deployment descriptor describes the EJB components and external resources referenced by the application client. --> <!ELEMENT application-client (icon?, display-name, description?, env-entry*, ejb-ref*, resource-ref*)> <!-- The description element is used to provide text describing the parent element. The description element should include any information that the application-client file producer wants to provide to the consumer of the application-client file (i.e., to the Deployer). Typically, the tools used by the application-client file consumer will display the description when processing the parent element that contains the description. --> <!ELEMENT description (#PCDATA)> <!-- The display-name element contains a short name that is intended to be displayed by tools. --> <!ELEMENT display-name (#PCDATA)> <!-- The ejb-link element is used in the ejb-ref element to specify that an EJB reference is linked to an enterprise bean in the encompassing J2EE Application package. The value of the ejb-link element must be the ejb-name of an enterprise bean in the same J2EE Application package. Used in: ejb-ref Example: <ejb-link>EmployeeRecord</ejb-link> --> <!ELEMENT ejb-link (#PCDATA)> <!-- The ejb-ref element is used for the declaration of a reference to an enterprise bean's home. The declaration consists of an optional description; the EJB reference name used in the code of the referencing application client; the expected type of the referenced enterprise bean; the expected home and remote interfaces of the referenced enterprise bean; and an optional ejb-link information. The optional ejb-link element is used to specify the referenced enterprise bean. --> <!ELEMENT ejb-ref (description?, ejb-ref-name, ejb-ref-type, home, remote, ejb-link?)> <!-- The ejb-ref-name element contains the name of an EJB reference. The EJB reference is an entry in the application client's environment. It is recommended that name is prefixed with "ejb/". Used in: ejb-ref Example: <ejb-ref-name>ejb/Payroll</ejb-ref-name> --> <!ELEMENT ejb-ref-name (#PCDATA)> <!-- The ejb-ref-type element contains the expected type of the referenced enterprise bean. The ejb-ref-type element must be one of the following: <ejb-ref-type>Entity</ejb-ref-type> <ejb-ref-type>Session</ejb-ref-type> Used in: ejb-ref --> <!ELEMENT ejb-ref-type (#PCDATA)> <!-- The env-entry element contains the declaration of an application client's environment entries. The declaration consists of an optional description, the name of the environment entry, and an optional value. --> <!ELEMENT env-entry (description?, env-entry-name, env-entry-type, env-entry-value?)> <!-- The env-entry-name element contains the name of an application client's environment entry. Used in: env-entry Example: <env-entry-name>EmployeeAppDB</env-entry-name> --> <!ELEMENT env-entry-name (#PCDATA)> <!-- The env-entry-type element contains the fully-qualified Java type of the environment entry value that is expected by the application client's code. The following are the legal values of env-entry-type: java.lang.Boolean, java.lang.String, java.lang.Integer, java.lang.Double, java.lang.Byte, java.lang.Short, java.lang.Long, and java.lang.Float. Used in: env-entry Example: <env-entry-type>java.lang.Boolean</env-entry-type> --> <!ELEMENT env-entry-type (#PCDATA)> <!-- The env-entry-value element contains the value of an application client's environment entry. The value must be a String that is valid for the constructor of the specified type that takes a single String parameter. Used in: env-entry Example: <env-entry-value>/datasources/MyDatabase</env-entry-value> --> <!ELEMENT env-entry-value (#PCDATA)> <!-- The home element contains the fully-qualified name of the enterprise bean's home interface. Used in: ejb-ref Example: <home>com.aardvark.payroll.PayrollHome</home> --> <!ELEMENT home (#PCDATA)> <!-- The icon element contains a small-icon and large-icon element which specify the URIs for a small and a large GIF or JPEG icon image used to represent the application client in a GUI tool. --> <!ELEMENT icon (small-icon?, large-icon?)> <!-- The large-icon element contains the name of a file containing a large (32 x 32) icon image. The file name is a relative path within the application-client jar file. The image must be either in the JPEG or GIF format, and the file name must end with the suffix ".jpg" or ".gif" respectively. The icon can be used by tools. Example: <large-icon>lib/images/employee-service-icon32x32.jpg</large-icon> --> <!ELEMENT large-icon (#PCDATA)> <!-- The remote element contains the fully-qualified name of the enterprise bean's remote interface. Used in: ejb-ref Example: <remote>com.wombat.empl.EmployeeService</remote> --> <!ELEMENT remote (#PCDATA)> <!-- The res-auth element specifies whether the enterprise bean code signs on programmatically to the resource manager, or whether the Container will sign on to the resource manager on behalf of the bean. In the latter case, the Container uses information that is supplied by the Deployer. The value of this element must be one of the two following: <res-auth>Application</res-auth> <res-auth>Container</res-auth> --> <!ELEMENT res-auth (#PCDATA)> <!-- The res-ref-name element specifies the name of the resource factory reference name. The resource factory reference name is the name of the application client's environment entry whose value contains the JNDI name of the data source. Used in: resource-ref --> <!ELEMENT res-ref-name (#PCDATA)> <!-- The res-type element specifies the type of the data source. The type is specified by the Java interface (or class) expected to be implemented by the data source. Used in: resource-ref --> <!ELEMENT res-type (#PCDATA)> <!-- The resource-ref element contains a declaration of application clients's reference to an external resource. It consists of an optional description, the resource factory reference name, the indication of the resource factory type expected by the application client's code, and the type of authentication (bean or container). Example: <resource-ref> <res-ref-name>EmployeeAppDB</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref> --> <!ELEMENT resource-ref (description?, res-ref-name, res-type, res-auth)> <!-- The small-icon element contains the name of a file containing a small (16 x 16) icon image. The file name is a relative path within the application-client jar file. The image must be either in the JPEG or GIF format, and the file name must end with the suffix ".jpg" or ".gif" respectively. The icon can be used by tools. Example: <small-icon>lib/images/employee-service-icon16x16.jpg</small-icon> --> <!ELEMENT small-icon (#PCDATA)> <!-- The ID mechanism is to allow tools to easily make tool-specific references to the elements of the deployment descriptor. --> <!ATTLIST application-client id ID #IMPLIED> <!ATTLIST description id ID #IMPLIED> <!ATTLIST display-name id ID #IMPLIED> <!ATTLIST ejb-link id ID #IMPLIED> <!ATTLIST ejb-ref id ID #IMPLIED> <!ATTLIST ejb-ref-name id ID #IMPLIED> <!ATTLIST ejb-ref-type id ID #IMPLIED> <!ATTLIST env-entry id ID #IMPLIED> <!ATTLIST env-entry-name id ID #IMPLIED> <!ATTLIST env-entry-type id ID #IMPLIED> <!ATTLIST env-entry-value id ID #IMPLIED> <!ATTLIST home id ID #IMPLIED> <!ATTLIST icon id ID #IMPLIED> <!ATTLIST large-icon id ID #IMPLIED> <!ATTLIST remote id ID #IMPLIED> <!ATTLIST res-auth id ID #IMPLIED> <!ATTLIST res-ref-name id ID #IMPLIED> <!ATTLIST res-type id ID #IMPLIED> <!ATTLIST resource-ref id ID #IMPLIED> <!ATTLIST small-icon id ID #IMPLIED> --- NEW FILE: application-client_1_3.dtd --- <!-- Copyright (c) 2000 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, California 94303, U.S.A. All rights reserved. Sun Microsystems, Inc. has intellectual property rights relating to technology embodied in the product that is described in this document. In particular, and without limitation, these intellectual property rights may include one or more of the U.S. patents listed at http://www.sun.com/patents and one or more additional patents or pending patent applications in the U.S. and in other countries. This document and the product to which it pertains are distributed under licenses restricting their use, copying, distribution, and decompilation. This document may be reproduced and distributed but may not be changed without prior written authorization of Sun and its licensors, if any. Third-party software, including font technology, is copyrighted and licensed from Sun suppliers. Sun, Sun Microsystems, the Sun logo, Java, JavaServer Pages, Java Naming and Directory Interface, JDBC, JDK, JavaMail and and Enterprise JavaBeans are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. Federal Acquisitions: Commercial Software - Government Users Subject to Standard License Terms and Conditions. DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID. _________________________________________________________________________ Copyright (c) 2000 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, California 94303, E'tats-Unis. Tous droits re'serve's. Sun Microsystems, Inc. a les droits de proprie'te' intellectuels relatants a` la technologie incorpore'e dans le produit qui est de'crit dans ce document. En particulier, et sans la limitation, ces droits de proprie'te' intellectuels peuvent inclure un ou plus des brevets ame'ricains e'nume're's a` http://www.sun.com/patents et un ou les brevets plus supple'mentaires ou les applications de brevet en attente dans les E'tats-Unis et dans les autres pays. Ce produit ou document est prote'ge' par un copyright et distribue' avec des licences qui en restreignent l'utilisation, la copie, la distribution, et la de'compilation. Ce documention associe n peut e^tre reproduite et distribuer, par quelque moyen que ce soit, sans l'autorisation pre'alable et e'crite de Sun et de ses bailleurs de licence, le cas e'che'ant. Le logiciel de'tenu par des tiers, et qui comprend la technologie relative aux polices de caracte`res, est prote'ge' par un copyright et licencie' par des fournisseurs de Sun. Sun, Sun Microsystems, le logo Sun, Java, JavaServer Pages, Java Naming and Directory Interface, JDBC, JDK, JavaMail et and Enterprise JavaBeans sont des marques de fabrique ou des marques de'pose'es de Sun Microsystems, Inc. aux E'tats-Unis et dans d'autres pays. LA DOCUMENTATION EST FOURNIE "EN L'E'TAT" ET TOUTES AUTRES CONDITIONS, DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENT EXCLUES, DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS NOTAMMENT TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A L'APTITUDE A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DE CONTREFAC,ON. --> <!-- This is the XML DTD for the J2EE 1.3 application client deployment descriptor. All J2EE 1.3 application client deployment descriptors must include a DOCTYPE of the following form: <!DOCTYPE application-client PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.3//EN" "http://java.sun.com/dtd/application-client_1_3.dtd"> --> <!-- The following conventions apply to all J2EE deployment descriptor elements unless indicated otherwise. - In elements that contain PCDATA, leading and trailing whitespace in the data may be ignored. - In elements whose value is an "enumerated type", the value is case sensitive. - In elements that specify a pathname to a file within the same JAR file, relative filenames (i.e., those not starting with "/") are considered relative to the root of the JAR file's namespace. Absolute filenames (i.e., those starting with "/") also specify names in the root of the JAR file's namespace. In general, relative names are preferred. The exception is .war files where absolute names are preferred for consistency with the servlet API. --> <!-- The application-client element is the root element of an application client deployment descriptor. The application client deployment descriptor describes the EJB components and external resources referenced by the application client. --> <!ELEMENT application-client (icon?, display-name, description?, env-entry*, ejb-ref*, resource-ref*, resource-env-ref*, callback-handler?)> <!-- The callback-handler element names a class provided by the application. The class must have a no args constructor and must implement the javax.security.auth.callback.CallbackHandler interface. The class will be instantiated by the application client container and used by the container to collect authentication information from the user. Used in: application-client --> <!ELEMENT callback-handler (#PCDATA)> <!-- The description element is used to provide text describing the parent element. The description element should include any information that the application client jar file producer wants to provide to the consumer of the application client jar file (i.e., to the Deployer). Typically, the tools used by the application client jar file consumer will display the description when processing the parent element that contains the description. Used in: application-client, ejb-ref, env-entry, resource-env-ref, resource-ref --> <!ELEMENT description (#PCDATA)> <!-- The display-name element contains a short name that is intended to be displayed by tools. The display name need not be unique. Used in: application-client Example: <display-name>Employee Self Service</display-name> --> <!ELEMENT display-name (#PCDATA)> <!-- The ejb-link element is used in the ejb-ref element to specify that an EJB reference is linked to an enterprise bean. The name in the ejb-link element is composed of a path name specifying the ejb-jar containing the referenced enterprise bean with the ejb-name of the target bean appended and separated from the path name by "#". The path name is relative to the jar file containing the application client that is referencing the enterprise bean. This allows multiple enterprise beans with the same ejb-name to be uniquely identified. Used in: ejb-ref Examples: <ejb-link>EmployeeRecord</ejb-link> <ejb-link>../products/product.jar#ProductEJB</ejb-link> --> <!ELEMENT ejb-link (#PCDATA)> <!-- The ejb-ref element is used for the declaration of a reference to an enterprise bean's home. The declaration consists of: - an optional description - the EJB reference name used in the code of the application client that's referencing the enterprise bean - the expected type of the referenced enterprise bean - the expected home and remote interfaces of the referenced enterprise bean - optional ejb-link information, used to specify the referenced enterprise bean Used in: application-client --> <!ELEMENT ejb-ref (description?, ejb-ref-name, ejb-ref-type, home, remote, ejb-link?)> <!-- The ejb-ref-name element contains the name of an EJB reference. The EJB reference is an entry in the application client's environment and is relative to the java:comp/env context. The name must be unique within the application client. It is recommended that name is prefixed with "ejb/". Used in: ejb-ref Example: <ejb-ref-name>ejb/Payroll</ejb-ref-name> --> <!ELEMENT ejb-ref-name (#PCDATA)> <!-- The ejb-ref-type element contains the expected type of the referenced enterprise bean. The ejb-ref-type element must be one of the following: <ejb-ref-type>Entity</ejb-ref-type> <ejb-ref-type>Session</ejb-ref-type> Used in: ejb-ref --> <!ELEMENT ejb-ref-type (#PCDATA)> <!-- The env-entry element contains the declaration of an application client's environment entry. The declaration consists of an optional description, the name of the environment entry, and an optional value. If a value is not specified, one must be supplied during deployment. Used in: application-client --> <!ELEMENT env-entry (description?, env-entry-name, env-entry-type, env-entry-value?)> <!-- The env-entry-name element contains the name of an application client's environment entry. The name is a JNDI name relative to the java:comp/env context. The name must be unique within an application client. Used in: env-entry Example: <env-entry-name>minAmount</env-entry-name> --> <!ELEMENT env-entry-name (#PCDATA)> <!-- The env-entry-type element contains the fully-qualified Java type of the environment entry value that is expected by the application client's code. The following are the legal values of env-entry-type: java.lang.Boolean java.lang.Byte java.lang.Character java.lang.String java.lang.Short java.lang.Integer java.lang.Long java.lang.Float java.lang.Double Used in: env-entry Example: <env-entry-type>java.lang.Boolean</env-entry-type> --> <!ELEMENT env-entry-type (#PCDATA)> <!-- The env-entry-value element contains the value of an application client's environment entry. The value must be a String that is valid for the constructor of the specified type that takes a single String parameter, or for java.lang.Character, a single character. Used in: env-entry Example: <env-entry-value>100.00</env-entry-value> --> <!ELEMENT env-entry-value (#PCDATA)> <!-- The home element contains the fully-qualified name of the enterprise bean's home interface. Used in: ejb-ref Example: <home>com.aardvark.payroll.PayrollHome</home> --> <!ELEMENT home (#PCDATA)> <!-- The icon element contains small-icon and large-icon elements that specify the file names for small and a large GIF or JPEG icon images used to represent the parent element in a GUI tool. Used in: application-client --> <!ELEMENT icon (small-icon?, large-icon?)> <!-- The large-icon element contains the name of a file containing a large (32 x 32) icon image. The file name is a relative path within the application client's jar file. The image may be either in the JPEG or GIF format. The icon can be used by tools. Used in: icon Example: <large-icon>employee-service-icon32x32.jpg</large-icon> --> <!ELEMENT large-icon (#PCDATA)> <!-- The remote element contains the fully-qualified name of the enterprise bean's remote interface. Used in: ejb-ref Example: <remote>com.wombat.empl.EmployeeService</remote> --> <!ELEMENT remote (#PCDATA)> <!-- The res-auth element specifies whether the application client code signs on programmatically to the resource manager, or whether the Container will sign on to the resource manager on behalf of the application client. In the latter case, the Container uses information that is supplied by the Deployer. The value of this element must be one of the two following: <res-auth>Application</res-auth> <res-auth>Container</res-auth> Used in: resource-ref --> <!ELEMENT res-auth (#PCDATA)> <!-- The res-ref-name element specifies the name of a resource manager connection factory reference. The name is a JNDI name relative to the java:comp/env context. The name must be unique within an application client. Used in: resource-ref --> <!ELEMENT res-ref-name (#PCDATA)> <!-- The res-sharing-scope element specifies whether connections obtained through the given resource manager connection factory reference can be shared. The value of this element, if specified, must be one of the two following: <res-sharing-scope>Shareable</res-sharing-scope> <res-sharing-scope>Unshareable</res-sharing-scope> The default value is Shareable. Used in: resource-ref --> <!ELEMENT res-sharing-scope (#PCDATA)> <!-- The res-type element specifies the type of the data source. The type is specified by the fully qualified Java language class or interface expected to be implemented by the data source. Used in: resource-ref --> <!ELEMENT res-type (#PCDATA)> <!-- The resource-env-ref element contains a declaration of an application client's reference to an administered object associated with a resource in the application client's environment. It consists of an optional description, the resource environment reference name, and an indication of the resource environment reference type expected by the application client code. Used in: application-client Example: <resource-env-ref> <resource-env-ref-name>jms/StockQueue</resource-env-ref-name> <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type> </resource-env-ref> --> <!ELEMENT resource-env-ref (description?, resource-env-ref-name, resource-env-ref-type)> <!-- The resource-env-ref-name element specifies the name of a resource environment reference; its value is the environment entry name used in the application client code. The name is a JNDI name relative to the java:comp/env context and must be unique within an application client. Used in: resource-env-ref --> <!ELEMENT resource-env-ref-name (#PCDATA)> <!-- The resource-env-ref-type element specifies the type of a resource environment reference. It is the fully qualified name of a Java language class or interface. Used in: resource-env-ref --> <!ELEMENT resource-env-ref-type (#PCDATA)> <!-- The resource-ref element contains a declaration of an application client's reference to an external resource. It consists of an optional description, the resource manager connection factory reference name, the indication of the resource manager connection factory type expected by the application client code, the type of authentication (Application or Container), and an optional specification of the shareability of connections obtained from the resource (Shareable or Unshareable). Used in: application-client Example: <resource-ref> <res-ref-name>jdbc/EmployeeAppDB</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> <res-sharing-scope>Shareable</res-sharing-scope> </resource-ref> --> <!ELEMENT resource-ref (description?, res-ref-name, res-type, res-auth, res-sharing-scope?)> <!-- The small-icon element contains the name of a file containing a small (16 x 16) icon image. The file name is a relative path within the application client's jar file. The image may be either in the JPEG or GIF format. The icon can be used by tools. Used in: icon Example: <small-icon>employee-service-icon16x16.jpg</small-icon> --> <!ELEMENT small-icon (#PCDATA)> <!-- The ID mechanism is to allow tools that produce additional deployment information (i.e., information beyond the standard deployment descriptor information) to store the non-standard information in a separate file, and easily refer from these tool-specific files to the information in the standard deployment descriptor. Tools are not allowed to add the non-standard information into the standard deployment descriptor. --> <!ATTLIST application-client id ID #IMPLIED> <!ATTLIST callback-handler id ID #IMPLIED> <!ATTLIST description id ID #IMPLIED> <!ATTLIST display-name id ID #IMPLIED> <!ATTLIST ejb-link id ID #IMPLIED> <!ATTLIST ejb-ref id ID #IMPLIED> <!ATTLIST ejb-ref-name id ID #IMPLIED> <!ATTLIST ejb-ref-type id ID #IMPLIED> <!ATTLIST env-entry id ID #IMPLIED> <!ATTLIST env-entry-name id ID #IMPLIED> <!ATTLIST env-entry-type id ID #IMPLIED> <!ATTLIST env-entry-value id ID #IMPLIED> <!ATTLIST home id ID #IMPLIED> <!ATTLIST icon id ID #IMPLIED> <!ATTLIST large-icon id ID #IMPLIED> <!ATTLIST remote id ID #IMPLIED> <!ATTLIST res-auth id ID #IMPLIED> <!ATTLIST res-ref-name id ID #IMPLIED> <!ATTLIST res-sharing-scope id ID #IMPLIED> <!ATTLIST res-type id ID #IMPLIED> <!ATTLIST resource-env-ref id ID #IMPLIED> <!ATTLIST resource-env-ref-name id ID #IMPLIED> <!ATTLIST resource-env-ref-type id ID #IMPLIED> <!ATTLIST resource-ref id ID #IMPLIED> <!ATTLIST small-icon id ID #IMPLIED> |
From: Laurent E. <let...@us...> - 2002-04-30 21:20:37
|
Update of /cvsroot/ejtools/applications/deployment/src/main/net/sourceforge/ejtools/deploy/factories In directory usw-pr-cvs1:/tmp/cvs-serv10696/applications/deployment/src/main/net/sourceforge/ejtools/deploy/factories Log Message: Directory /cvsroot/ejtools/applications/deployment/src/main/net/sourceforge/ejtools/deploy/factories added to the repository |
From: Laurent E. <let...@us...> - 2002-04-30 21:14:32
|
Update of /cvsroot/ejtools/applications/management In directory usw-pr-cvs1:/tmp/cvs-serv6827/applications/management Modified Files: lib.ext.properties lib.properties module.properties webapp.properties Log Message: Add version tag Index: lib.ext.properties =================================================================== RCS file: /cvsroot/ejtools/applications/management/lib.ext.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** lib.ext.properties 22 Apr 2002 17:39:43 -0000 1.1 --- lib.ext.properties 30 Apr 2002 21:14:30 -0000 1.2 *************** *** 1,2 **** --- 1,7 ---- + # + # Librairies to be put into the lib/ext directory + # + # $Revision$ + # ${jboss.client.root}/*.jar ${jboss.jmx.root}/*.jar Index: lib.properties =================================================================== RCS file: /cvsroot/ejtools/applications/management/lib.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** lib.properties 22 Apr 2002 17:39:58 -0000 1.1 --- lib.properties 30 Apr 2002 21:14:30 -0000 1.2 *************** *** 1,2 **** --- 1,7 ---- + # + # Librairies to be put into the lib directory + # + # $Revision$ + # ${apache.log4j.root}/*.jar ${dreambean.awt.root}/*.jar Index: module.properties =================================================================== RCS file: /cvsroot/ejtools/applications/management/module.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** module.properties 22 Apr 2002 17:40:48 -0000 1.1 --- module.properties 30 Apr 2002 21:14:30 -0000 1.2 *************** *** 1,2 **** --- 1,7 ---- + # + # Module Properties + # + # $Revision$ + # version.major=1 version.minor=0 Index: webapp.properties =================================================================== RCS file: /cvsroot/ejtools/applications/management/webapp.properties,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** webapp.properties 24 Apr 2002 20:10:42 -0000 1.2 --- webapp.properties 30 Apr 2002 21:14:30 -0000 1.3 *************** *** 1,2 **** --- 1,7 ---- + # + # Librairies to be put into the WEB-INF/lib directory + # + # $Revision$ + # ${apache.crimson.root}/*.jar ${apache.log4j.root}/*.jar |
From: Laurent E. <let...@us...> - 2002-04-30 21:14:32
|
Update of /cvsroot/ejtools/applications/jndi.browser In directory usw-pr-cvs1:/tmp/cvs-serv6827/applications/jndi.browser Modified Files: lib.ext.properties lib.properties module.properties Log Message: Add version tag Index: lib.ext.properties =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/lib.ext.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** lib.ext.properties 22 Apr 2002 17:39:43 -0000 1.1 --- lib.ext.properties 30 Apr 2002 21:14:29 -0000 1.2 *************** *** 1,2 **** --- 1,7 ---- + # + # Librairies to be put into the lib/ext directory + # + # $Revision$ + # ${jboss.client.root}/*.jar Index: lib.properties =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/lib.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** lib.properties 22 Apr 2002 17:39:58 -0000 1.1 --- lib.properties 30 Apr 2002 21:14:29 -0000 1.2 *************** *** 1,2 **** --- 1,7 ---- + # + # Librairies to be put into the lib directory + # + # $Revision$ + # ${apache.log4j.root}/*.jar ${dreambean.awt.root}/*.jar Index: module.properties =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/module.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** module.properties 22 Apr 2002 17:40:48 -0000 1.1 --- module.properties 30 Apr 2002 21:14:29 -0000 1.2 *************** *** 1,2 **** --- 1,7 ---- + # + # Module Properties + # + # $Revision$ + # version.major=1 version.minor=0 |
From: Laurent E. <let...@us...> - 2002-04-30 21:14:32
|
Update of /cvsroot/ejtools/applications/jmx.browser In directory usw-pr-cvs1:/tmp/cvs-serv6827/applications/jmx.browser Modified Files: lib.ext.properties lib.properties module.properties webapp.properties Log Message: Add version tag Index: lib.ext.properties =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/lib.ext.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** lib.ext.properties 22 Apr 2002 17:39:43 -0000 1.1 --- lib.ext.properties 30 Apr 2002 21:14:29 -0000 1.2 *************** *** 1,2 **** --- 1,7 ---- + # + # Librairies to be put into the lib/ext directory + # + # $Revision$ + # ${jboss.client.root}/*.jar ${jboss.jmx.root}/*.jar Index: lib.properties =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/lib.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** lib.properties 22 Apr 2002 17:39:58 -0000 1.1 --- lib.properties 30 Apr 2002 21:14:29 -0000 1.2 *************** *** 1,2 **** --- 1,7 ---- + # + # Librairies to be put into the lib directory + # + # $Revision$ + # ${apache.log4j.root}/*.jar ${dreambean.awt.root}/*.jar Index: module.properties =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/module.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** module.properties 22 Apr 2002 17:40:48 -0000 1.1 --- module.properties 30 Apr 2002 21:14:29 -0000 1.2 *************** *** 1,2 **** --- 1,7 ---- + # + # Module Properties + # + # $Revision$ + # version.major=1 version.minor=0 Index: webapp.properties =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/webapp.properties,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** webapp.properties 24 Apr 2002 20:10:41 -0000 1.2 --- webapp.properties 30 Apr 2002 21:14:29 -0000 1.3 *************** *** 1,2 **** --- 1,7 ---- + # + # Librairies to be put into the WEB-INF/lib directory + # + # $Revision$ + # ${apache.log4j.root}/*.jar ${apache.struts.root}/*.jar |
From: Laurent E. <let...@us...> - 2002-04-30 21:14:32
|
Update of /cvsroot/ejtools/applications/deployment In directory usw-pr-cvs1:/tmp/cvs-serv6827/applications/deployment Modified Files: lib.ext.properties lib.properties module.properties Log Message: Add version tag Index: lib.ext.properties =================================================================== RCS file: /cvsroot/ejtools/applications/deployment/lib.ext.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** lib.ext.properties 21 Apr 2002 18:49:22 -0000 1.1 --- lib.ext.properties 30 Apr 2002 21:14:29 -0000 1.2 *************** *** 1,2 **** --- 1,7 ---- + # + # Librairies to be put into the lib/ext directory + # + # $Revision$ + # ${jboss.client.root}/*.jar ${ejtools.provider.root}/*.jar Index: lib.properties =================================================================== RCS file: /cvsroot/ejtools/applications/deployment/lib.properties,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** lib.properties 28 Apr 2002 10:20:50 -0000 1.2 --- lib.properties 30 Apr 2002 21:14:29 -0000 1.3 *************** *** 1,2 **** --- 1,7 ---- + # + # Librairies to be put into the lib directory + # + # $Revision$ + # ${apache.log4j.root}/*.jar ${apache.crimson.root}/*.jar Index: module.properties =================================================================== RCS file: /cvsroot/ejtools/applications/deployment/module.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** module.properties 21 Apr 2002 20:05:21 -0000 1.1 --- module.properties 30 Apr 2002 21:14:29 -0000 1.2 *************** *** 1,2 **** --- 1,7 ---- + # + # Module Properties + # + # $Revision$ + # version.major=1 version.minor=0 |
From: Laurent E. <let...@us...> - 2002-04-30 21:13:50
|
Update of /cvsroot/ejtools/applications/management/src/main/net/sourceforge/ejtools/management In directory usw-pr-cvs1:/tmp/cvs-serv6343/applications/management/src/main/net/sourceforge/ejtools/management Modified Files: AboutDialog.java ManagementBrowser.java Log Message: Add getTitle support for I18N Pretty print source code Index: AboutDialog.java =================================================================== RCS file: /cvsroot/ejtools/applications/management/src/main/net/sourceforge/ejtools/management/AboutDialog.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** AboutDialog.java 22 Apr 2002 17:38:25 -0000 1.1 --- AboutDialog.java 30 Apr 2002 21:13:46 -0000 1.2 *************** *** 9,32 **** 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; /** --- 9,21 ---- 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; import net.sourceforge.ejtools.awt.services.AboutService; /** *************** *** 38,42 **** public class AboutDialog implements AboutService { ! private static Category cat = Category.getInstance(AboutDialog.class.getName()); private JPanel panel = null; --- 27,33 ---- 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; *************** *** 45,48 **** --- 36,45 ---- public AboutDialog() { + } + + + public String getTitle() + { + return res.getString("title.about.dialog"); } Index: ManagementBrowser.java =================================================================== RCS file: /cvsroot/ejtools/applications/management/src/main/net/sourceforge/ejtools/management/ManagementBrowser.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ManagementBrowser.java 22 Apr 2002 17:40:31 -0000 1.1 --- ManagementBrowser.java 30 Apr 2002 21:13:46 -0000 1.2 *************** *** 24,28 **** import net.sourceforge.ejtools.awt.services.ToolBarServiceProvider; ! import net.sourceforge.ejtools.awt.BeanContextPanel; import net.sourceforge.ejtools.management.model.ConnectionServiceProvider; import net.sourceforge.ejtools.management.model.Server; --- 24,28 ---- import net.sourceforge.ejtools.awt.services.ToolBarServiceProvider; ! import net.sourceforge.ejtools.awt.BeanContextTreePanel; import net.sourceforge.ejtools.management.model.ConnectionServiceProvider; import net.sourceforge.ejtools.management.model.Server; *************** *** 48,52 **** private static Category cat = Category.getInstance(ManagementBrowser.class.getName()); private static Vector factories; ! private BeanContextPanel bcPanel; /** Constructor for the EJX object */ --- 48,52 ---- private static Category cat = Category.getInstance(ManagementBrowser.class.getName()); private static Vector factories; ! private BeanContextTreePanel bcPanel; /** Constructor for the EJX object */ *************** *** 79,83 **** Server server = new Server(); add(server); ! bcPanel = new BeanContextPanel(server); frameService.setContent(bcPanel); --- 79,83 ---- Server server = new Server(); add(server); ! bcPanel = new BeanContextTreePanel(server); frameService.setContent(bcPanel); |
From: Laurent E. <let...@us...> - 2002-04-30 21:13:23
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/ejb In directory usw-pr-cvs1:/tmp/cvs-serv6009/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/ejb Modified Files: EJBHomeProxy.java EJBObjectProxy.java PropertyChanger.java Log Message: Add getTitle support for I18N Pretty print source code Index: EJBHomeProxy.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/ejb/EJBHomeProxy.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** EJBHomeProxy.java 22 Apr 2002 17:38:59 -0000 1.1 --- EJBHomeProxy.java 30 Apr 2002 21:13:19 -0000 1.2 *************** *** 7,11 **** package net.sourceforge.ejtools.jndibrowser.model.ejb; - // Standard Imports import java.awt.Component; import java.beans.BeanInfo; --- 7,10 ---- *************** *** 19,24 **** import javax.rmi.PortableRemoteObject; - // Other Imports - //import com.dreambean.awt.GenericCustomizer; import net.sourceforge.ejtools.awt.GenericCustomizer; import net.sourceforge.ejtools.jndibrowser.model.JNDIEntry; --- 18,21 ---- *************** *** 36,42 **** /**Description of the Field */ protected BeanInfo info; - protected BeanInfo proxyInfo; /**Description of the Field */ protected EJBHome home; --- 33,40 ---- /**Description of the Field */ protected BeanInfo info; /**Description of the Field */ protected EJBHome home; + /** Description of the Field */ + protected Object proxy; *************** *** 60,70 **** } ! 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(); } --- 58,64 ---- } ! this.info = Introspector.getBeanInfo(this.homeClass); this.className = homeClass.getName(); + this.proxy = Proxy.newProxyInstance(homeClass.getClassLoader(), new Class[]{BeanInfo.class, homeClass}, this); } *************** *** 81,85 **** try { ! c = new GenericCustomizer(Proxy.newProxyInstance(homeClass.getClassLoader(), new Class[]{BeanInfo.class, homeClass}, this)); } catch (Exception e) --- 75,79 ---- try { ! c = new GenericCustomizer(proxy); } catch (Exception e) *************** *** 105,113 **** 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)) --- 99,103 ---- if (method.getDeclaringClass().equals(BeanInfo.class)) { ! return method.invoke(info, args); } else if (method.getDeclaringClass().equals(Object.class)) *************** *** 142,151 **** } ! /* ! * public String toString() ! * { ! * return homeClass.getName().substring(homeClass.getName().lastIndexOf(".") + 1); ! * } ! */ } - --- 132,140 ---- } ! ! public String toString() ! { ! return homeClass.getName().substring(homeClass.getName().lastIndexOf(".") + 1); ! } ! } Index: EJBObjectProxy.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/ejb/EJBObjectProxy.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** EJBObjectProxy.java 22 Apr 2002 17:38:59 -0000 1.1 --- EJBObjectProxy.java 30 Apr 2002 21:13:19 -0000 1.2 *************** *** 7,11 **** package net.sourceforge.ejtools.jndibrowser.model.ejb; - // Standard Imports import java.awt.Component; import java.beans.BeanInfo; --- 7,10 ---- *************** *** 20,25 **** import javax.ejb.EJBObject; - // Other Imports - //import com.dreambean.awt.GenericCustomizer; import net.sourceforge.ejtools.awt.GenericCustomizer; import net.sourceforge.ejtools.jndibrowser.model.JNDIEntry; --- 19,22 ---- *************** *** 34,52 **** { /** 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; --- 31,47 ---- { /** Description of the Field */ ! protected BeanInfo info; /** Description of the Field */ ! protected Object obj; /** Description of the Field */ ! protected transient Customizer c; /** Description of the Field */ ! protected Class remote; /** Description of the Field */ ! protected String desc; /** Description of the Field */ ! protected Object proxy; /** Description of the Field */ ! protected PropertyChangeSupport ps; *************** *** 71,82 **** } ! 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); } --- 66,72 ---- } ! this.info = Introspector.getBeanInfo(this.remote); ! this.proxy = Proxy.newProxyInstance(cl, new Class[]{BeanInfo.class, remote, PropertyChanger.class}, this); ! this.ps = new PropertyChangeSupport(proxy); } *************** *** 108,120 **** 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)) --- 98,104 ---- public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { if (method.getDeclaringClass().equals(BeanInfo.class)) { ! return method.invoke(info, args); } else if (method.getDeclaringClass().equals(Object.class)) *************** *** 160,177 **** 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; --- 144,160 ---- 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; Index: PropertyChanger.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/ejb/PropertyChanger.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** PropertyChanger.java 22 Apr 2002 17:41:03 -0000 1.1 --- PropertyChanger.java 30 Apr 2002 21:13:19 -0000 1.2 *************** *** 7,11 **** package net.sourceforge.ejtools.jndibrowser.model.ejb; - // Standard Imports import java.beans.PropertyChangeListener; --- 7,10 ---- |
From: Laurent E. <let...@us...> - 2002-04-30 21:13:23
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/jms In directory usw-pr-cvs1:/tmp/cvs-serv6009/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/jms Modified Files: ConnectionFactoryProxy.java ConnectionService.java ConnectionServiceProvider.java DeliveryModeEditor.java MessageProxy.java QueueProxy.java TextMessageProxy.java TopicProxy.java Log Message: Add getTitle support for I18N Pretty print source code Index: ConnectionFactoryProxy.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/jms/ConnectionFactoryProxy.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ConnectionFactoryProxy.java 22 Apr 2002 17:38:42 -0000 1.1 --- ConnectionFactoryProxy.java 30 Apr 2002 21:13:20 -0000 1.2 *************** *** 7,11 **** package net.sourceforge.ejtools.jndibrowser.model.jms; - // Standard Imports import java.beans.beancontext.BeanContextServiceRevokedEvent; import java.beans.beancontext.BeanContextServices; --- 7,10 ---- *************** *** 18,22 **** import javax.rmi.PortableRemoteObject; - // Other Imports import net.sourceforge.ejtools.jndibrowser.model.JNDIEntry; import org.apache.log4j.Category; --- 17,20 ---- Index: ConnectionService.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/jms/ConnectionService.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ConnectionService.java 22 Apr 2002 17:38:42 -0000 1.1 --- ConnectionService.java 30 Apr 2002 21:13:20 -0000 1.2 *************** *** 7,11 **** package net.sourceforge.ejtools.jndibrowser.model.jms; - // Standard Imports import javax.jms.QueueConnectionFactory; import javax.jms.TopicConnectionFactory; --- 7,10 ---- Index: ConnectionServiceProvider.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/jms/ConnectionServiceProvider.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ConnectionServiceProvider.java 22 Apr 2002 17:38:42 -0000 1.1 --- ConnectionServiceProvider.java 30 Apr 2002 21:13:20 -0000 1.2 *************** *** 7,11 **** package net.sourceforge.ejtools.jndibrowser.model.jms; - // Standard Imports import java.beans.beancontext.BeanContextServiceProvider; import java.beans.beancontext.BeanContextServices; --- 7,10 ---- *************** *** 19,23 **** import javax.swing.JPanel; - // Other Imports import org.apache.log4j.Category; --- 18,21 ---- Index: DeliveryModeEditor.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/jms/DeliveryModeEditor.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** DeliveryModeEditor.java 22 Apr 2002 17:38:59 -0000 1.1 --- DeliveryModeEditor.java 30 Apr 2002 21:13:20 -0000 1.2 *************** *** 7,14 **** package net.sourceforge.ejtools.jndibrowser.model.jms; - // Standard Imports import javax.jms.DeliveryMode; - // Other Imports import com.dreambean.awt.editors.TagsEditor; --- 7,12 ---- Index: MessageProxy.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/jms/MessageProxy.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MessageProxy.java 22 Apr 2002 17:40:48 -0000 1.1 --- MessageProxy.java 30 Apr 2002 21:13:20 -0000 1.2 *************** *** 7,11 **** package net.sourceforge.ejtools.jndibrowser.model.jms; - // Standard Imports import java.awt.Component; import java.util.Date; --- 7,10 ---- *************** *** 15,19 **** import javax.jms.TextMessage; - // Other Imports import net.sourceforge.ejtools.jndibrowser.model.JNDIEntry; import org.apache.log4j.Category; --- 14,17 ---- Index: QueueProxy.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/jms/QueueProxy.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** QueueProxy.java 22 Apr 2002 17:41:03 -0000 1.1 --- QueueProxy.java 30 Apr 2002 21:13:20 -0000 1.2 *************** *** 7,11 **** package net.sourceforge.ejtools.jndibrowser.model.jms; - // Standard Imports import java.beans.beancontext.BeanContextServices; import java.util.Enumeration; --- 7,10 ---- *************** *** 26,30 **** import javax.rmi.PortableRemoteObject; - // Other Imports import net.sourceforge.ejtools.jndibrowser.model.JNDIEntry; import org.apache.log4j.Category; --- 25,28 ---- *************** *** 86,138 **** public void createMessage() { ! Context jndiContext = null; ! QueueConnectionFactory queueConnectionFactory = null; ! QueueConnection queueConnection = null; ! QueueSession queueSession = null; ! QueueSender queueSender = null; ! Message message = null; ! ! // TO MODIFY ! try ! { ! jndiContext = new InitialContext(); ! queueConnectionFactory = (QueueConnectionFactory) jndiContext.lookup("ConnectionFactory"); ! } ! catch (NamingException e) { ! System.out.println("JNDI lookup failed: " + e.toString()); ! } ! // TO MODIFY ! try ! { ! queueConnection = queueConnectionFactory.createQueueConnection(); ! queueSession = queueConnection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE); ! queueSender = queueSession.createSender(queue); message = queueSession.createMessage(); queueSender.send(message); ! queueSession.close(); ! } ! catch (JMSException e) ! { ! System.out.println("Exception occurred: " + e.toString()); ! } ! finally ! { ! if (queueConnection != null) { ! try ! { ! queueConnection.close(); ! } ! catch (JMSException e) { } } } - - this.browse(); } --- 84,123 ---- public void createMessage() { ! // Get a connection on the default factory ! QueueConnection queueConnection = getQueueConnection(); ! if (queueConnection != null) { ! try ! { ! Message message = null; ! QueueSession queueSession = queueConnection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE); ! QueueSender queueSender = queueSession.createSender(queue); message = queueSession.createMessage(); queueSender.send(message); ! queueSession.close(); ! } ! catch (JMSException e) { ! System.out.println("Exception occurred: " + e.toString()); ! } ! finally ! { ! if (queueConnection != null) { + try + { + queueConnection.close(); + } + catch (JMSException e) + { + } } } + // Browse the content + this.browse(); } } Index: TextMessageProxy.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/jms/TextMessageProxy.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TextMessageProxy.java 22 Apr 2002 17:50:35 -0000 1.1 --- TextMessageProxy.java 30 Apr 2002 21:13:20 -0000 1.2 *************** *** 7,11 **** package net.sourceforge.ejtools.jndibrowser.model.jms; - // Standard Imports import java.awt.Component; import javax.jms.JMSException; --- 7,10 ---- *************** *** 13,17 **** import javax.jms.TextMessage; - // Other Imports import org.apache.log4j.Category; --- 12,15 ---- Index: TopicProxy.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/jms/TopicProxy.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TopicProxy.java 22 Apr 2002 17:50:51 -0000 1.1 --- TopicProxy.java 30 Apr 2002 21:13:20 -0000 1.2 *************** *** 7,11 **** package net.sourceforge.ejtools.jndibrowser.model.jms; - // Standard Imports import javax.jms.JMSException; import javax.jms.Message; --- 7,10 ---- *************** *** 22,26 **** import javax.rmi.PortableRemoteObject; - // Other Imports import net.sourceforge.ejtools.jndibrowser.model.JNDIEntry; import org.apache.log4j.Category; --- 21,24 ---- *************** *** 49,53 **** { this.topic = (Topic) PortableRemoteObject.narrow(o, Topic.class); - // this.topic = (Topic) o; } --- 47,50 ---- |
From: Laurent E. <let...@us...> - 2002-04-30 21:13:22
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model In directory usw-pr-cvs1:/tmp/cvs-serv6009/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model Modified Files: JNDIContext.java JNDIEntry.java SearchTypeEditor.java Server.java Log Message: Add getTitle support for I18N Pretty print source code Index: JNDIContext.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/JNDIContext.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** JNDIContext.java 22 Apr 2002 17:39:42 -0000 1.1 --- JNDIContext.java 30 Apr 2002 21:13:19 -0000 1.2 *************** *** 17,22 **** import java.util.TooManyListenersException; - // Other Imports - //import com.dreambean.awt.GenericCustomizer; import net.sourceforge.ejtools.awt.GenericCustomizer; import net.sourceforge.ejtools.util.Sort; --- 17,20 ---- Index: JNDIEntry.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/JNDIEntry.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** JNDIEntry.java 22 Apr 2002 17:39:42 -0000 1.1 --- JNDIEntry.java 30 Apr 2002 21:13:19 -0000 1.2 *************** *** 7,13 **** package net.sourceforge.ejtools.jndibrowser.model; - // Other Imports - import org.apache.log4j.Category; - /** *Description of the Class --- 7,10 ---- Index: SearchTypeEditor.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/SearchTypeEditor.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SearchTypeEditor.java 22 Apr 2002 17:41:37 -0000 1.1 --- SearchTypeEditor.java 30 Apr 2002 21:13:19 -0000 1.2 *************** *** 7,11 **** package net.sourceforge.ejtools.jndibrowser.model; - // Other Imports import com.dreambean.awt.editors.TagsEditor; --- 7,10 ---- Index: Server.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/Server.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Server.java 24 Apr 2002 20:17:03 -0000 1.2 --- Server.java 30 Apr 2002 21:13:19 -0000 1.3 *************** *** 7,11 **** package net.sourceforge.ejtools.jndibrowser.model; - // Standard Imports import java.util.Collection; import java.util.Iterator; --- 7,10 ---- *************** *** 19,23 **** import javax.naming.NotContextException; - // Other Imports import net.sourceforge.ejtools.jndibrowser.model.ejb.EJBHomeProxy; import net.sourceforge.ejtools.jndibrowser.model.jms.ConnectionFactoryProxy; --- 18,21 ---- *************** *** 36,39 **** --- 34,38 ---- public class Server extends JNDIContext { + private static Category logger = Category.getInstance(Server.class); /** Description of the Field */ protected String factory = "org.jnp.interfaces.NamingContextFactory"; *************** *** 269,274 **** try { ! System.out.println("Name :" + nc.getName()); ! System.out.println("ClassName :" + nc.getClassName()); Object o = null; --- 268,273 ---- try { ! logger.debug("Name :" + nc.getName()); ! logger.debug("ClassName :" + nc.getClassName()); Object o = null; *************** *** 277,284 **** { o = context.lookup(nc.getName()); - } - catch (Exception e1) - { - } try --- 276,279 ---- *************** *** 289,293 **** catch (Exception e1) { - } try --- 284,287 ---- *************** *** 299,303 **** catch (Exception e2) { - } try --- 293,296 ---- *************** *** 309,313 **** catch (Exception e3) { - } try --- 302,305 ---- *************** *** 320,323 **** --- 312,327 ---- { } + + } + } + + + } + + } + catch (Exception e1) + { + } + } catch (Exception e1) |
From: Laurent E. <let...@us...> - 2002-04-30 21:13:22
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser In directory usw-pr-cvs1:/tmp/cvs-serv6009/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser Modified Files: AboutDialog.java JNDIBrowser.java Main.java SelectFactoryAction.java SplashWindow.java Log Message: Add getTitle support for I18N Pretty print source code Index: AboutDialog.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/AboutDialog.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** AboutDialog.java 22 Apr 2002 17:38:25 -0000 1.1 --- AboutDialog.java 30 Apr 2002 21:13:19 -0000 1.2 *************** *** 7,11 **** package net.sourceforge.ejtools.jndibrowser; - // Standard Imports import java.awt.BorderLayout; import java.awt.Color; --- 7,10 ---- *************** *** 17,21 **** import javax.swing.JPanel; - // Other Imports import net.sourceforge.ejtools.awt.action.Command; import net.sourceforge.ejtools.awt.action.help.AboutAction; --- 16,19 ---- *************** *** 40,44 **** /** Constructor for the AboutServiceProvider object */ ! public AboutDialog() { } --- 38,44 ---- /** Constructor for the AboutServiceProvider object */ ! public AboutDialog() ! { ! } *************** *** 55,58 **** --- 55,69 ---- } return panel; + } + + + /** + * Getter for the title attribute + * + * @return The value of title attribute + */ + public String getTitle() + { + return res.getString("title.about.dialog"); } Index: JNDIBrowser.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/JNDIBrowser.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** JNDIBrowser.java 28 Apr 2002 13:00:03 -0000 1.2 --- JNDIBrowser.java 30 Apr 2002 21:13:19 -0000 1.3 *************** *** 7,11 **** package net.sourceforge.ejtools.jndibrowser; ! // Standard Imports import java.beans.beancontext.BeanContextServicesSupport; import java.util.ResourceBundle; --- 7,12 ---- package net.sourceforge.ejtools.jndibrowser; ! import java.awt.event.WindowAdapter; ! import java.awt.event.WindowEvent; import java.beans.beancontext.BeanContextServicesSupport; import java.util.ResourceBundle; *************** *** 13,17 **** import javax.swing.ImageIcon; - // Other Imports import net.sourceforge.ejtools.awt.BeanContextTreePanel; import net.sourceforge.ejtools.awt.action.Command; --- 14,17 ---- *************** *** 46,50 **** { /** Description of the Field */ ! private static Category cat = Category.getInstance(JNDIBrowser.class.getName()); /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("ApplicationResources"); --- 46,50 ---- { /** Description of the Field */ ! private static Category logger = Category.getInstance(JNDIBrowser.class); /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("ApplicationResources"); *************** *** 57,61 **** /** Description of the Field */ ConnectionServiceProvider connectionService; - /** Description of the Field */ FrameServiceProvider frameService; --- 57,60 ---- *************** *** 74,78 **** splash.show(); ! cat.debug("JNDIBrowser starting..."); frameService = new FrameServiceProvider("SDI"); --- 73,77 ---- splash.show(); ! logger.debug("JNDIBrowser starting..."); frameService = new FrameServiceProvider("SDI"); *************** *** 94,98 **** splash.progress("Adding MenuBar Service..."); ! // add(toolBarService); // add(statusBarService); --- 93,97 ---- splash.progress("Adding MenuBar Service..."); ! add(toolBarService); // add(statusBarService); *************** *** 106,109 **** --- 105,114 ---- splash.progress("Adding Server Entry Point..."); + frameService.addWindowListener(new WindowAdapter() { + public void windowClosing(WindowEvent evt) { + quit(); + } + }); + add(new ExitAction( new Command() *************** *** 111,115 **** public void execute() { ! System.exit(0); } } --- 116,120 ---- public void execute() { ! quit(); } } *************** *** 149,156 **** catch (RuntimeException e) { ! cat.warn("Error occured " + e.getMessage()); throw e; } } } --- 154,165 ---- catch (RuntimeException e) { ! logger.fatal("Error occured " + e.getMessage()); throw e; } } + + public void quit() { + System.exit(0); + } } Index: Main.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/Main.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Main.java 22 Apr 2002 17:40:31 -0000 1.1 --- Main.java 30 Apr 2002 21:13:19 -0000 1.2 *************** *** 7,11 **** package net.sourceforge.ejtools.jndibrowser; - // Standard Imports import java.io.File; import java.net.URL; --- 7,10 ---- *************** *** 16,19 **** --- 15,20 ---- import java.util.LinkedList; + import org.apache.log4j.Category; + /** * Description of the Class *************** *** 26,29 **** --- 27,32 ---- public class Main { + private final static Category logger = Category.getInstance(Main.class); + /** * The main program for the Main class *************** *** 34,52 **** public static void main(String[] args) throws Exception { ! File pluginDir = new File("../lib/ext"); LinkedList list = new LinkedList(); ! File[] plugins = pluginDir.listFiles(); for (int i = 0; i < plugins.length; i++) { System.out.println(plugins[i].toURL()); list.add(plugins[i].toURL()); } ! pluginDir = new File("../lib"); plugins = pluginDir.listFiles(); for (int i = 0; i < plugins.length; i++) { ! System.out.println(plugins[i].toURL()); list.add(plugins[i].toURL()); } URL[] pluginURLs = (URL[]) list.toArray(new URL[list.size()]); --- 37,65 ---- public static void main(String[] args) throws Exception { ! File pluginDir; ! File[] plugins; LinkedList list = new LinkedList(); ! ! logger.debug("Building classpath..."); ! ! logger.debug("Scanning lib directory..."); ! pluginDir = new File("../lib"); ! plugins = pluginDir.listFiles(); for (int i = 0; i < plugins.length; i++) { + logger.debug("Found " + plugins[i].toURL()); System.out.println(plugins[i].toURL()); list.add(plugins[i].toURL()); } ! ! logger.debug("Scanning lib/ext directory..."); ! pluginDir = new File("../lib/ext"); plugins = pluginDir.listFiles(); for (int i = 0; i < plugins.length; i++) { ! logger.debug("Found " + plugins[i].toURL()); list.add(plugins[i].toURL()); } + URL[] pluginURLs = (URL[]) list.toArray(new URL[list.size()]); *************** *** 65,68 **** --- 78,82 ---- }); + logger.debug("Launching JNDIBrowser"); AccessController.doPrivileged( new PrivilegedExceptionAction() Index: SelectFactoryAction.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/SelectFactoryAction.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SelectFactoryAction.java 22 Apr 2002 17:41:37 -0000 1.1 --- SelectFactoryAction.java 30 Apr 2002 21:13:19 -0000 1.2 *************** *** 7,14 **** package net.sourceforge.ejtools.jndibrowser; - // Standard Imports import java.util.ResourceBundle; - // Other Imports import net.sourceforge.ejtools.awt.action.Command; import net.sourceforge.ejtools.awt.action.CommandAction; --- 7,12 ---- Index: SplashWindow.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/SplashWindow.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SplashWindow.java 22 Apr 2002 17:50:35 -0000 1.1 --- SplashWindow.java 30 Apr 2002 21:13:19 -0000 1.2 *************** *** 7,11 **** package net.sourceforge.ejtools.jndibrowser; - // Standard Imports import java.awt.BorderLayout; import java.awt.Dimension; --- 7,10 ---- |
From: Laurent E. <let...@us...> - 2002-04-30 21:12:49
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/resources In directory usw-pr-cvs1:/tmp/cvs-serv5765/applications/jndi.browser/src/resources Modified Files: ApplicationResources.properties ApplicationResources_fr_FR.properties Log Message: Add title for about dialog Index: ApplicationResources.properties =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/resources/ApplicationResources.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ApplicationResources.properties 22 Apr 2002 17:38:25 -0000 1.1 --- ApplicationResources.properties 30 Apr 2002 21:12:45 -0000 1.2 *************** *** 9,12 **** --- 9,13 ---- # Title for Frame, Dialog, etc title.application=JNDI Browser + title.about.dialog=About JNDI Browser title.information.defaultFactory.queue=Default QueueConnectionFactory Selection title.information.defaultFactory.topic=Default TopicConnectionFactory Selection Index: ApplicationResources_fr_FR.properties =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/resources/ApplicationResources_fr_FR.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ApplicationResources_fr_FR.properties 22 Apr 2002 17:38:25 -0000 1.1 --- ApplicationResources_fr_FR.properties 30 Apr 2002 21:12:45 -0000 1.2 *************** *** 8,12 **** # 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 --- 8,13 ---- # Title for Frame, Dialog, etc ! title.application=JNDI Browser ! title.about.dialog=A propos de JNDI Browser title.information.defaultFactory.queue=Sélection du QueueConnectionFactory par défaut title.information.defaultFactory.topic=Sélection du TopicConnectionFactory par défaut |
From: Laurent E. <let...@us...> - 2002-04-30 21:12:23
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/etc In directory usw-pr-cvs1:/tmp/cvs-serv5619/applications/jndi.browser/src/etc Modified Files: run.mf Log Message: Add log4j to the manifest classpath Index: run.mf =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/etc/run.mf,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** run.mf 22 Apr 2002 17:41:37 -0000 1.1 --- run.mf 30 Apr 2002 21:12:20 -0000 1.2 *************** *** 1,4 **** Main-Class: net.sourceforge.ejtools.jndibrowser.Main ! Class-Path: ../conf/ Name: net/sourceforge/ejtools/jndiview/ --- 1,4 ---- Main-Class: net.sourceforge.ejtools.jndibrowser.Main ! Class-Path: ../conf/ ../lib/log4j.jar Name: net/sourceforge/ejtools/jndiview/ |
From: Laurent E. <let...@us...> - 2002-04-30 21:11:51
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/conf In directory usw-pr-cvs1:/tmp/cvs-serv5444/applications/jndi.browser/src/conf Modified Files: log4j.properties Log Message: Change to two appenders : stdout and rolling file Index: log4j.properties =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/conf/log4j.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** log4j.properties 22 Apr 2002 17:39:59 -0000 1.1 --- log4j.properties 30 Apr 2002 21:11:48 -0000 1.2 *************** *** 1,20 **** # Set root category priority to DEBUG and its only appender to A1. ! log4j.rootCategory=DEBUG, A1 ! ! ! ! # A1 is set to be a ConsoleAppender. ! ! log4j.appender.A1=org.apache.log4j.ConsoleAppender ! ! ! ! # A1 uses PatternLayout. ! ! log4j.appender.A1.layout=org.apache.log4j.PatternLayout ! ! log4j.appender.A1.layout.ConversionPattern=[%-5p] %c %x - %m%n ! ! --- 1,15 ---- # Set root category priority to DEBUG and its only appender to A1. + log4j.rootCategory=DEBUG, STDOUT, R ! # STDOUT is set to be a ConsoleAppender. ! log4j.appender.STDOUT=org.apache.log4j.ConsoleAppender ! log4j.appender.STDOUT.layout=org.apache.log4j.PatternLayout ! log4j.appender.STDOUT.layout.ConversionPattern=[%-5p] (%c:%L) - %m%n + # R is set to be a RollingFileAppender + log4j.appender.R=org.apache.log4j.RollingFileAppender + log4j.appender.R.File=../logs/event.log + log4j.appender.R.MaxFileSize=500KB + log4j.appender.R.MaxBackupIndex=5 + log4j.appender.R.layout=org.apache.log4j.PatternLayout + log4j.appender.R.layout.ConversionPattern=[%-5p] (%c:%L) - %m%n |
From: Laurent E. <let...@us...> - 2002-04-30 21:10:55
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser In directory usw-pr-cvs1:/tmp/cvs-serv5101/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser Modified Files: AboutDialog.java Log Message: Add getTitle support for I18N Pretty print source code Index: AboutDialog.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/AboutDialog.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** AboutDialog.java 25 Apr 2002 20:24:47 -0000 1.2 --- AboutDialog.java 30 Apr 2002 21:10:51 -0000 1.3 *************** *** 11,32 **** import java.awt.Container; import java.awt.GridLayout; ! import java.beans.beancontext.BeanContextServiceProvider; ! import java.beans.beancontext.BeanContextServices; ! import java.beans.beancontext.BeanContextServicesSupport; ! import java.beans.beancontext.BeanContextSupport; ! import java.util.Iterator; ! import java.util.Vector; import javax.swing.ImageIcon; - import javax.swing.JFrame; 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; /** --- 11,21 ---- import java.awt.Container; import java.awt.GridLayout; ! import java.util.ResourceBundle; ! import javax.swing.ImageIcon; import javax.swing.JLabel; import javax.swing.JPanel; import net.sourceforge.ejtools.awt.services.AboutService; /** *************** *** 39,43 **** { /** Description of the Field */ ! private static Category cat = Category.getInstance(AboutDialog.class.getName()); /** Description of the Field */ private JPanel panel = null; --- 28,32 ---- { /** Description of the Field */ ! private final static ResourceBundle res = ResourceBundle.getBundle("ApplicationResources"); /** Description of the Field */ private JPanel panel = null; *************** *** 62,65 **** --- 51,61 ---- } return panel; + } + + + /** Description of the Method */ + public String getTitle() + { + return res.getString("title.about.dialog"); } |
From: Laurent E. <let...@us...> - 2002-04-30 21:10:11
|
Update of /cvsroot/ejtools/applications/deployment/src/main/net/sourceforge/ejtools/deploy In directory usw-pr-cvs1:/tmp/cvs-serv4801/applications/deployment/src/main/net/sourceforge/ejtools/deploy Modified Files: AboutDialog.java DeploymentBrowser.java Log Message: Add getTitle support for I18N Index: AboutDialog.java =================================================================== RCS file: /cvsroot/ejtools/applications/deployment/src/main/net/sourceforge/ejtools/deploy/AboutDialog.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** AboutDialog.java 21 Apr 2002 18:48:26 -0000 1.1 --- AboutDialog.java 30 Apr 2002 21:10:08 -0000 1.2 *************** *** 44,47 **** --- 44,51 ---- } + public String getTitle() + { + return res.getString("title.about.dialog"); + } /** Index: DeploymentBrowser.java =================================================================== RCS file: /cvsroot/ejtools/applications/deployment/src/main/net/sourceforge/ejtools/deploy/DeploymentBrowser.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** DeploymentBrowser.java 28 Apr 2002 10:21:49 -0000 1.3 --- DeploymentBrowser.java 30 Apr 2002 21:10:08 -0000 1.4 *************** *** 80,83 **** --- 80,84 ---- try { + /* WarProxy proxy = new WarProxy(Thread.currentThread().getContextClassLoader(), (new File("../conf/jmx.browser.war")).toURL()); System.out.println(proxy.toString()); *************** *** 86,90 **** System.out.println(result[i]); } ! --- 87,91 ---- System.out.println(result[i]); } ! */ |
From: Laurent E. <let...@us...> - 2002-04-30 21:09:21
|
Update of /cvsroot/ejtools/libraries/xmlweb In directory usw-pr-cvs1:/tmp/cvs-serv4409/libraries/xmlweb Modified Files: module.properties Log Message: Add version tag Index: module.properties =================================================================== RCS file: /cvsroot/ejtools/libraries/xmlweb/module.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** module.properties 22 Apr 2002 16:48:32 -0000 1.1 --- module.properties 30 Apr 2002 21:09:17 -0000 1.2 *************** *** 1,2 **** --- 1,7 ---- + # + # Module Properties + # + # $Revision$ + # version.major=1 version.minor=0 |
From: Laurent E. <let...@us...> - 2002-04-30 21:09:21
|
Update of /cvsroot/ejtools/libraries/jboss.provider In directory usw-pr-cvs1:/tmp/cvs-serv4409/libraries/jboss.provider Modified Files: module.properties Log Message: Add version tag Index: module.properties =================================================================== RCS file: /cvsroot/ejtools/libraries/jboss.provider/module.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** module.properties 25 Apr 2002 20:14:19 -0000 1.1 --- module.properties 30 Apr 2002 21:09:17 -0000 1.2 *************** *** 1,2 **** --- 1,7 ---- + # + # Module Properties + # + # $Revision$ + # version.major=1 version.minor=0 |
From: Laurent E. <let...@us...> - 2002-04-30 21:09:21
|
Update of /cvsroot/ejtools/libraries/adwt In directory usw-pr-cvs1:/tmp/cvs-serv4409/libraries/adwt Modified Files: module.properties Log Message: Add version tag Index: module.properties =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/module.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** module.properties 18 Apr 2002 21:11:06 -0000 1.1 --- module.properties 30 Apr 2002 21:09:17 -0000 1.2 *************** *** 1,2 **** --- 1,7 ---- + # + # Module Properties + # + # $Revision$ + # version.major=1 version.minor=0 |
From: Laurent E. <let...@us...> - 2002-04-30 21:09:21
|
Update of /cvsroot/ejtools/libraries/common In directory usw-pr-cvs1:/tmp/cvs-serv4409/libraries/common Modified Files: module.properties Log Message: Add version tag Index: module.properties =================================================================== RCS file: /cvsroot/ejtools/libraries/common/module.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** module.properties 19 Apr 2002 07:05:17 -0000 1.1 --- module.properties 30 Apr 2002 21:09:17 -0000 1.2 *************** *** 1,2 **** --- 1,7 ---- + # + # Module Properties + # + # $Revision$ + # version.major=1 version.minor=0 |
From: Laurent E. <let...@us...> - 2002-04-30 21:09:21
|
Update of /cvsroot/ejtools/libraries/j2ee.icons In directory usw-pr-cvs1:/tmp/cvs-serv4409/libraries/j2ee.icons Modified Files: module.properties Log Message: Add version tag Index: module.properties =================================================================== RCS file: /cvsroot/ejtools/libraries/j2ee.icons/module.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** module.properties 19 Apr 2002 07:13:49 -0000 1.1 --- module.properties 30 Apr 2002 21:09:17 -0000 1.2 *************** *** 1,2 **** --- 1,7 ---- + # + # Module Properties + # + # $Revision$ + # version.major=1 version.minor=0 |
From: Laurent E. <let...@us...> - 2002-04-30 21:08:20
|
Update of /cvsroot/ejtools/libraries/xmlweb/src/main/net/sourceforge/ejtools/xml/taglib In directory usw-pr-cvs1:/tmp/cvs-serv3994/libraries/xmlweb/src/main/net/sourceforge/ejtools/xml/taglib Modified Files: XslApplyTag.java Log Message: Pretty print source code Index: XslApplyTag.java =================================================================== RCS file: /cvsroot/ejtools/libraries/xmlweb/src/main/net/sourceforge/ejtools/xml/taglib/XslApplyTag.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** XslApplyTag.java 25 Apr 2002 20:15:25 -0000 1.2 --- XslApplyTag.java 30 Apr 2002 21:08:17 -0000 1.3 *************** *** 1,12 **** package net.sourceforge.ejtools.xml.taglib; ! import java.beans.beancontext.*; ! import java.io.*; ! import java.util.*; ! import javax.servlet.http.HttpSession; ! import javax.servlet.jsp.*; ! import javax.servlet.jsp.tagext.*; ! import javax.xml.transform.*; ! import javax.xml.transform.stream.*; /** --- 1,11 ---- package net.sourceforge.ejtools.xml.taglib; ! import java.io.StringReader; ! import javax.servlet.jsp.JspException; ! import javax.servlet.jsp.tagext.BodyTagSupport; ! import javax.xml.transform.Transformer; ! import javax.xml.transform.TransformerFactory; ! import javax.xml.transform.stream.StreamResult; ! import javax.xml.transform.stream.StreamSource; /** *************** *** 67,71 **** } ! return (EVAL_BODY_TAG); } --- 66,70 ---- } ! return (EVAL_BODY_BUFFERED); } |