ejtools-cvs Mailing List for EJTools (Page 114)
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-19 07:12:14
|
Update of /cvsroot/ejtools/libraries/j2ee.icons/src/resources/toolbarButtonGraphics/development In directory usw-pr-cvs1:/tmp/cvs-serv26074 Added Files: Node24.gif Servlet16.gif Servlet24.gif URLResource16.gif URLResource24.gif WebModule16.gif WebModule24.gif Log Message: Initial Import --- NEW FILE: Node24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Servlet16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Servlet24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: URLResource16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: URLResource24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: WebModule16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: WebModule24.gif --- (This appears to be a binary file; contents omitted.) |
From: Laurent E. <let...@us...> - 2002-04-19 07:11:57
|
Update of /cvsroot/ejtools/libraries/j2ee.icons/src/resources/toolbarButtonGraphics/development In directory usw-pr-cvs1:/tmp/cvs-serv25872 Added Files: JavaMailResource16.gif JavaMailResource24.gif JNDIResource16.gif JNDIResource24.gif JVM16.gif JVM24.gif Node16.gif Log Message: Initial Import --- NEW FILE: JavaMailResource16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: JavaMailResource24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: JNDIResource16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: JNDIResource24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: JVM16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: JVM24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Node16.gif --- (This appears to be a binary file; contents omitted.) |
From: Laurent E. <let...@us...> - 2002-04-19 07:11:42
|
Update of /cvsroot/ejtools/libraries/j2ee.icons/src/resources/toolbarButtonGraphics/development In directory usw-pr-cvs1:/tmp/cvs-serv25724 Added Files: J2EEApplication16.gif J2EEApplication24.gif J2EEDomain16.gif J2EEDomain24.gif J2EEModule16.gif J2EEModule24.gif J2EEServer16.gif J2EEServer24.gif Log Message: Initial Import --- NEW FILE: J2EEApplication16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: J2EEApplication24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: J2EEDomain16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: J2EEDomain24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: J2EEModule16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: J2EEModule24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: J2EEServer16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: J2EEServer24.gif --- (This appears to be a binary file; contents omitted.) |
From: Laurent E. <let...@us...> - 2002-04-19 07:11:28
|
Update of /cvsroot/ejtools/libraries/j2ee.icons/src/resources/toolbarButtonGraphics/development In directory usw-pr-cvs1:/tmp/cvs-serv25524 Added Files: AppClientModule16.gif AppClientModule24.gif ClientAppModule16.gif ClientAppModule24.gif EJB16.gif EJB24.gif EJBModule16.gif EJBModule24.gif icons.html Log Message: Initial Import --- NEW FILE: AppClientModule16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: AppClientModule24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ClientAppModule16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ClientAppModule24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: EJB16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: EJB24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: EJBModule16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: EJBModule24.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icons.html --- <html> <head> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> </head> <body> <h3>Icons</h3> <table border="1"> <tbody> <tr> <td>Managed Object</td> <td>Taille 16</td> <td>Taille 24</td> <td>Origine</td> </tr> <tr> <td>J2EEDomain</td> <td><img border="0" src="J2EEDomain16.gif" width="16" height="16"></td> <td><img border="0" src="J2EEDomain24.gif" width="24" height="24"></td> <td>rename</td> </tr> <tr> <td>-- J2EEServer</td> <td><img border="0" src="J2EEServer16.gif" width="16" height="16"></td> <td><img border="0" src="J2EEServer24.gif" width="24" height="24"></td> <td>jlfgr</td> </tr> <tr> <td>---- J2EEApplication</td> <td><img border="0" src="J2EEApplication16.gif" width="16" height="16"></td> <td><img border="0" src="J2EEApplication24.gif" width="24" height="24"></td> <td>jlfgr</td> </tr> <tr> <td>------ AppClientModule</td> <td><img border="0" src="AppClientModule16.gif" width="16" height="16"></td> <td><img border="0" src="AppClientModule24.gif" width="24" height="24"></td> <td>rename</td> </tr> <tr> <td>------ EJBModule</td> <td><img border="0" src="EJBModule16.gif" width="16" height="16"></td> <td><img border="0" src="EJBModule24.gif" width="24" height="24"></td> <td>rename</td> </tr> <tr> <td>-------- EntityBean</td> <td><img border="0" src="EntityBean16.gif" width="16" height="16"></td> <td><img height="24" src="toolbarButtonGraphics/development/EnterpriseJavaBean24.gif" width="24"></td> <td>custom</td> </tr> <tr> <td>-------- StatefulSessionBean</td> <td><img border="0" src="StatefulSessionBean16.gif" width="16" height="16"></td> <td><img height="24" src="toolbarButtonGraphics/development/EnterpriseJavaBean24.gif" width="24"></td> <td>custom</td> </tr> <tr> <td>-------- StatelessSessionBean</td> <td><img border="0" src="StatelessSessionBean16.gif" width="16" height="16"></td> <td><img height="24" src="toolbarButtonGraphics/development/EnterpriseJavaBean24.gif" width="24"></td> <td>custom</td> </tr> <tr> <td>-------- MessageDrivenBean</td> <td><img border="0" src="MessageDrivenBean16.gif" width="16" height="16"></td> <td><img height="24" src="toolbarButtonGraphics/development/EnterpriseJavaBean24.gif" width="24"></td> <td>custom</td> </tr> <tr> <td>------ WebModule</td> <td><img border="0" src="WebModule16.gif" width="16" height="16"></td> <td><img border="0" src="WebModule24.gif" width="24" height="24"></td> <td>rename</td> </tr> <tr> <td>-------- Servlet</td> <td><img border="0" src="Servlet16.gif" width="16" height="16"></td> <td><img border="0" src="Servlet24.gif" width="24" height="24"></td> <td>rename</td> </tr> <tr> <td>------ ResourceAdapterModule</td> <td><img border="0" src="ResourceAdapterModule16.gif" width="16" height="16"></td> <td><img border="0" src="ResourceAdapterModule24.gif" width="24" height="24"></td> <td>custom</td> </tr> <tr> <td>-------- ResourceAdapter</td> <td><img border="0" src="ResourceAdapter16.gif" width="16" height="16"></td> <td><img border="0" src="ResourceAdapter24.gif" width="24" height="24"></td> <td>jlfgr</td> </tr> <tr> <td>---- JavaMailResource</td> <td><img border="0" src="JavaMailResource16.gif" width="16" height="16"></td> <td><img border="0" src="JavaMailResource24.gif" width="24" height="24"></td> <td>custom</td> </tr> <tr> <td>---- JCAResource</td> <td> </td> <td> </td> <td>jlfgr</td> </tr> <tr> <td>------ JCAConnectionFactory</td> <td> </td> <td> </td> <td>jlfgr</td> </tr> <tr> <td>---- JCAManagedConnectionFactory</td> <td> </td> <td> </td> <td>jlfgr</td> </tr> <tr> <td>---- JDBCResource</td> <td> </td> <td> </td> <td>jlfgr</td> </tr> <tr> <td>------ JDBCDataSource</td> <td> </td> <td> </td> <td>jlfgr</td> </tr> <tr> <td>---- JDBCDriver</td> <td> </td> <td> </td> <td>jlfgr</td> </tr> <tr> <td>---- JMSResource</td> <td> </td> <td> </td> <td>jlfgr</td> </tr> <tr> <td>---- JNDIResource</td> <td><img border="0" src="JNDIResource16.gif" width="16" height="16"></td> <td><img border="0" src="JNDIResource24.gif" width="24" height="24"></td> <td>rename</td> </tr> <tr> <td>---- JTAResource</td> <td> </td> <td> </td> <td>jlfgr</td> </tr> <tr> <td>---- RMI_IIOPResource</td> <td> </td> <td> </td> <td>jlfgr</td> </tr> <tr> <td>---- URLResource</td> <td><img border="0" src="URLResource16.gif" width="16" height="16"></td> <td><img border="0" src="URLResource24.gif" width="24" height="24"></td> <td>rename</td> </tr> <tr> <td>---- JVM</td> <td><img border="0" src="JVM16.gif" width="16" height="16"></td> <td><img border="0" src="JVM24.gif" width="24" height="24"></td> <td>custom</td> </tr> <tr> <td>---- Node</td> <td><img border="0" src="Node16.gif" width="16" height="16"></td> <td><img border="0" src="Node24.gif" width="24" height="24"></td> <td>rename</td> </tr> </tbody> </table> </body> </html> |
From: Laurent E. <let...@us...> - 2002-04-19 07:11:05
|
Update of /cvsroot/ejtools/libraries/j2ee.icons/src/resources/toolbarButtonGraphics/general In directory usw-pr-cvs1:/tmp/cvs-serv25293 Added Files: File16.gif Folder16.gif Log Message: Initial Import --- NEW FILE: File16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Folder16.gif --- (This appears to be a binary file; contents omitted.) |
From: Laurent E. <let...@us...> - 2002-04-19 07:10:53
|
Update of /cvsroot/ejtools/libraries/j2ee.icons/src/resources/toolbarButtonGraphics/development/jms In directory usw-pr-cvs1:/tmp/cvs-serv25107 Added Files: ByteMessage16.gif MapMessage16.gif Message16.gif ObjectMessage16.gif Queue16.gif StreamMessage16.gif TextMessage16.gif Topic16.gif Log Message: Initial Import --- NEW FILE: ByteMessage16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: MapMessage16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Message16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ObjectMessage16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Queue16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: StreamMessage16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: TextMessage16.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Topic16.gif --- (This appears to be a binary file; contents omitted.) |
From: Laurent E. <let...@us...> - 2002-04-19 07:07:52
|
Update of /cvsroot/ejtools/libraries/j2ee.icons/src/resources/toolbarButtonGraphics/development/jms In directory usw-pr-cvs1:/tmp/cvs-serv22890/jms Log Message: Directory /cvsroot/ejtools/libraries/j2ee.icons/src/resources/toolbarButtonGraphics/development/jms added to the repository |
From: Laurent E. <let...@us...> - 2002-04-19 07:07:35
|
Update of /cvsroot/ejtools/libraries/j2ee.icons/src/resources/toolbarButtonGraphics/general In directory usw-pr-cvs1:/tmp/cvs-serv22759/general Log Message: Directory /cvsroot/ejtools/libraries/j2ee.icons/src/resources/toolbarButtonGraphics/general added to the repository |
From: Laurent E. <let...@us...> - 2002-04-19 07:07:22
|
Update of /cvsroot/ejtools/libraries/j2ee.icons/src/resources/toolbarButtonGraphics/development In directory usw-pr-cvs1:/tmp/cvs-serv22628/development Log Message: Directory /cvsroot/ejtools/libraries/j2ee.icons/src/resources/toolbarButtonGraphics/development added to the repository |
From: Laurent E. <let...@us...> - 2002-04-19 07:07:09
|
Update of /cvsroot/ejtools/libraries/j2ee.icons/src/resources/toolbarButtonGraphics In directory usw-pr-cvs1:/tmp/cvs-serv22460/toolbarButtonGraphics Log Message: Directory /cvsroot/ejtools/libraries/j2ee.icons/src/resources/toolbarButtonGraphics added to the repository |
From: Laurent E. <let...@us...> - 2002-04-19 07:06:57
|
Update of /cvsroot/ejtools/libraries/j2ee.icons/src/resources/images In directory usw-pr-cvs1:/tmp/cvs-serv22298/images Log Message: Directory /cvsroot/ejtools/libraries/j2ee.icons/src/resources/images added to the repository |
From: Laurent E. <let...@us...> - 2002-04-19 07:06:22
|
Update of /cvsroot/ejtools/libraries/j2ee.icons/src/resources In directory usw-pr-cvs1:/tmp/cvs-serv21897/resources Log Message: Directory /cvsroot/ejtools/libraries/j2ee.icons/src/resources added to the repository |
From: Laurent E. <let...@us...> - 2002-04-19 07:06:10
|
Update of /cvsroot/ejtools/libraries/j2ee.icons/src/main In directory usw-pr-cvs1:/tmp/cvs-serv21745/main Log Message: Directory /cvsroot/ejtools/libraries/j2ee.icons/src/main added to the repository |
From: Laurent E. <let...@us...> - 2002-04-19 07:05:58
|
Update of /cvsroot/ejtools/libraries/j2ee.icons/src/etc In directory usw-pr-cvs1:/tmp/cvs-serv21598/etc Log Message: Directory /cvsroot/ejtools/libraries/j2ee.icons/src/etc added to the repository |
From: Laurent E. <let...@us...> - 2002-04-19 07:05:39
|
Update of /cvsroot/ejtools/libraries/j2ee.icons/src In directory usw-pr-cvs1:/tmp/cvs-serv21345/src Log Message: Directory /cvsroot/ejtools/libraries/j2ee.icons/src added to the repository |
From: Laurent E. <let...@us...> - 2002-04-19 07:05:21
|
Update of /cvsroot/ejtools/libraries/common In directory usw-pr-cvs1:/tmp/cvs-serv21118 Added Files: module.properties Log Message: Initial Import --- NEW FILE: module.properties --- version.major=1 version.minor=0 version.revision=0 version.tag=alpha module.name=common module.display.name=Common Library module.archive.name=ejtools.common module.package=net.sourceforge.ejtools.* module.javadoc.title=EJTools - Common Library |
From: Laurent E. <let...@us...> - 2002-04-19 07:05:20
|
Update of /cvsroot/ejtools/libraries/common/src/etc In directory usw-pr-cvs1:/tmp/cvs-serv21118/src/etc Added Files: default.mf Log Message: Initial Import --- NEW FILE: default.mf --- Specification-Title: @module.name@ @version.major@.@version.minor@.@version.revision@-@version.tag@ Specification-Version: @version.major@.@version.minor@.@version.revision@-@version.tag@ Specification-Vendor: EJTools Project Implementation-Title: @module.name@ @version.major@.@version.minor@.@version.revision@-@version.tag@ Implementation-Version: @version.major@.@version.minor@.@version.revision@-@version.tag@ Implementation-Vendor: EJTools Project |
From: Laurent E. <let...@us...> - 2002-04-19 07:05:05
|
Update of /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/util In directory usw-pr-cvs1:/tmp/cvs-serv20920 Added Files: JNDI.java LimitedStack.java Sort.java Log Message: Initial Import --- NEW FILE: JNDI.java --- package net.sourceforge.ejtools.util; import java.io.*; import java.rmi.*; import java.sql.*; import java.util.*; import javax.ejb.*; import javax.management.*; import javax.management.j2ee.*; import javax.naming.*; import javax.rmi.*; import javax.servlet.*; import javax.servlet.http.*; import javax.sql.*; import org.apache.log4j.*; /** * Description of the Class * * @author letiembl * @created 12 novembre 2001 */ public abstract class JNDI { /** Description of the Method */ public static void setJNDIProperties() { try { InputStream in = JNDI.class.getResourceAsStream("/jndi.properties"); if (in != null) { // Load the jndi properties file Properties props = new Properties(); props.load(in); in.close(); System.out.println("Setting System Properties"); // Set up the environment System.setProperty(Context.INITIAL_CONTEXT_FACTORY, props.getProperty(Context.INITIAL_CONTEXT_FACTORY)); System.setProperty(Context.URL_PKG_PREFIXES, props.getProperty(Context.URL_PKG_PREFIXES)); System.setProperty(Context.PROVIDER_URL, props.getProperty(Context.PROVIDER_URL)); } } catch (IOException ioe) { ioe.printStackTrace(); // Ignore it } } } --- NEW FILE: LimitedStack.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.util; import java.util.Stack; /** * Description of the Class * * @author laurent * @created 24 décembre 2001 * @todo Javadoc to complete */ public class LimitedStack extends Stack { private int maximumSize; /** Constructor for the LimitedStack object */ public LimitedStack() { this(10); } /** * Constructor for the LimitedStack object * * @param size Description of Parameter */ public LimitedStack(int size) { this.maximumSize = size; } /** * Description of the Method * * @param item Description of Parameter * @return Description of the Returned Value */ public Object push(Object item) { if (this.contains(item)) { this.remove(this.indexOf(item)); } else { if (this.size() >= this.maximumSize) { this.remove(0); } } return super.push(item); } } --- NEW FILE: Sort.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.util; import java.util.Collections; import java.util.Comparator; import java.util.Iterator; import java.util.Vector; /** * Description of the Class * * @author laurent * @created 24 décembre 2001 * @todo Javadoc to complete */ public abstract class Sort { /** * Gets the childrenByClass attribute of the Sort class * * @param enum Description of Parameter * @param c Description of Parameter * @return The childrenByClass value */ public static Iterator getChildrenByClass(Iterator enum, Class c) { Object obj; Vector v = new Vector(); while (enum.hasNext()) { if (c.isAssignableFrom((obj = enum.next()).getClass())) { v.addElement(obj); } } return v.iterator(); } /** * Description of the Method * * @param enum Description of Parameter * @return Description of the Returned Value */ public static Iterator sortByClass(Iterator enum) { Vector v = new Vector(); while (enum.hasNext()) { v.addElement(enum.next()); } Collections.sort(v, new Comparator() { public int compare(Object o1, Object o2) { return o1.getClass().getName().compareTo(o2.getClass().getName()); } public boolean equals(Object obj) { return true; // Ever called? } }); return v.iterator(); } /** * Description of the Method * * @param enum Description of Parameter * @return Description of the Returned Value */ public static Iterator sortByClassAndName(Iterator enum) { Vector v = new Vector(); while (enum.hasNext()) { v.addElement(enum.next()); } Collections.sort(v, new Comparator() { public int compare(Object o1, Object o2) { int ret = o1.getClass().getName().compareTo(o2.getClass().getName()); if (ret == 0) { ret = o1.toString().compareTo(o2.toString()); } return ret; } public boolean equals(Object obj) { return true; // Ever called? } }); return v.iterator(); } /** * Description of the Method * * @param enum Description of Parameter * @return Description of the Returned Value */ public static Iterator sortByName(Iterator enum) { Vector v = new Vector(); while (enum.hasNext()) { v.addElement(enum.next()); } Collections.sort(v, new Comparator() { public int compare(Object o1, Object o2) { return o1.toString().compareTo(o2.toString()); } public boolean equals(Object obj) { return true; // Ever called? } }); return v.iterator(); } } |
From: Laurent E. <let...@us...> - 2002-04-19 07:04:53
|
Update of /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/servlet/http In directory usw-pr-cvs1:/tmp/cvs-serv20740a/http Added Files: CharResponseWrapper.java StringResponseWrapper.java XSLFilter.java Log Message: Initial Import --- NEW FILE: CharResponseWrapper.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.sourceforge.ejtools.servlet.http; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; /** * Description of the Interface * * @author laurent * @created 11 avril 2002 */ public class CharResponseWrapper extends HttpServletResponseWrapper { protected CharArrayWriter output = null; public CharResponseWrapper(HttpServletResponse response) { super(response); output = new CharArrayWriter(); } public String toString() { return output.toString(); } public PrintWriter getWriter() { return new PrintWriter(output); } } --- NEW FILE: StringResponseWrapper.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.sourceforge.ejtools.servlet.http; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; /** * Description of the Interface * * @author laurent * @created 11 avril 2002 */ public class StringResponseWrapper extends HttpServletResponseWrapper { protected StringWriter output = null; public StringResponseWrapper(HttpServletResponse response) { super(response); output = new StringWriter(); } public String toString() { return output.toString(); } public PrintWriter getWriter() { return new PrintWriter(output); } } --- NEW FILE: XSLFilter.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.sourceforge.ejtools.servlet.http; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import javax.xml.transform.*; import javax.xml.transform.stream.*; /** * Description of the Interface * * @author laurent * @created 11 avril 2002 */ public class XSLFilter implements Filter { protected Transformer transformer = null; protected String contentType = null; protected FilterConfig config = null; public void init(FilterConfig config) throws ServletException { this.config = config; System.out.println("Acquiring parameters..."); this.contentType = config.getInitParameter("mime-type"); String styleSheet = config.getInitParameter("stylesheet"); System.out.println("Acquiring styletsheet " + styleSheet ); String stylePath = config.getServletContext().getRealPath(styleSheet); try { System.out.println("Compiling styletsheet " + stylePath); TransformerFactory tFactory = TransformerFactory.newInstance(); transformer = tFactory.newTransformer(new StreamSource(stylePath)); } catch (Exception e) { transformer = null; throw new ServletException(e.toString()); } } public void destroy() { this.config = null; } public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { StringResponseWrapper wrapper = new StringResponseWrapper((HttpServletResponse) response); chain.doFilter(request, wrapper); response.setContentType(contentType); PrintWriter out = response.getWriter(); StringReader reader = new StringReader(wrapper.toString()); Source source = new StreamSource(reader); try { StringWriter writer = new StringWriter(); StreamResult result = new StreamResult(writer); transformer.transform(source, result); response.setContentLength(writer.toString().length()); out.println(writer.toString()); } catch (Exception e) { out.println(e.toString()); out.println(wrapper.toString()); } } } |
From: Laurent E. <let...@us...> - 2002-04-19 07:04:38
|
Update of /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/jmx In directory usw-pr-cvs1:/tmp/cvs-serv20515 Added Files: MBeanAccessor.java ObjectNameFinder.java Log Message: Initial Import --- NEW FILE: MBeanAccessor.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.sourceforge.ejtools.jmx; import javax.management.*; /** * Description of the Interface * * @author laurent * @created 11 avril 2002 */ public interface MBeanAccessor { /** * Sets the attribute attribute of the MBeanAccessor object * * @param name The new attribute value * @param attribute The new attribute value */ public void setAttribute(ObjectName name, Attribute attribute); /** * Gets the mBeanInfo attribute of the MBeanAccessor object * * @return The mBeanInfo value */ public MBeanInfo getMBeanInfo(); /** * Gets the objectName attribute of the MBeanAccessor object * * @return The objectName value */ public ObjectName getObjectName(); /** * Gets the canonicalName attribute of the MBeanAccessor object * * @return The canonicalName value */ public String getCanonicalName(); /** * Gets the attribute attribute of the MBeanAccessor object * * @param name Description of the Parameter * @param attribute Description of the Parameter * @return The attribute value */ public Object getAttribute(ObjectName name, String attribute); /** * Description of the Method * * @param name Description of the Parameter * @param action Description of the Parameter * @param params Description of the Parameter * @param signatures Description of the Parameter * @return Description of the Return Value */ public Object invoke(ObjectName name, String action, Object[] params, String[] signatures); } --- NEW FILE: ObjectNameFinder.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.sourceforge.ejtools.jmx; /** * Description of the Interface * * @author laurent * @created 11 avril 2002 */ public interface ObjectNameFinder { /** * Description of the Method * * @param searchString Description of the Parameter */ public void searchObjectName(String objectName); } |
From: Laurent E. <let...@us...> - 2002-04-19 07:04:26
|
Update of /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/beans In directory usw-pr-cvs1:/tmp/cvs-serv20349 Added Files: Sort.java Log Message: Initial Import --- NEW FILE: Sort.java --- package net.sourceforge.ejtools.beans; import java.io.*; import java.net.*; import java.util.*; /** * Description of the Class * * @author laurent * @created 24 décembre 2001 */ public abstract class Sort { /** * Gets the childrenByClass attribute of the Sort class * * @param enum Description of Parameter * @param c Description of Parameter * @return The childrenByClass value */ public static Iterator getChildrenByClass(Iterator enum, Class c) { Object obj; Vector v = new Vector(); while (enum.hasNext()) { if (c.isAssignableFrom((obj = enum.next()).getClass())) { v.addElement(obj); } } return v.iterator(); } /** * Description of the Method * * @param enum Description of Parameter * @return Description of the Returned Value */ public static Iterator sortByClass(Iterator enum) { Vector v = new Vector(); while (enum.hasNext()) { v.addElement(enum.next()); } Collections.sort(v, new Comparator() { public int compare(Object o1, Object o2) { return o1.getClass().getName().compareTo(o2.getClass().getName()); } public boolean equals(Object obj) { return true; // Ever called? } }); return v.iterator(); } /** * Description of the Method * * @param enum Description of Parameter * @return Description of the Returned Value */ public static Iterator sortByClassAndName(Iterator enum) { Vector v = new Vector(); while (enum.hasNext()) { v.addElement(enum.next()); } Collections.sort(v, new Comparator() { public int compare(Object o1, Object o2) { int ret = o1.getClass().getName().compareTo(o2.getClass().getName()); if (ret == 0) { ret = o1.toString().compareTo(o2.toString()); } return ret; } public boolean equals(Object obj) { return true; // Ever called? } }); return v.iterator(); } /** * Description of the Method * * @param enum Description of Parameter * @return Description of the Returned Value */ public static Iterator sortByName(Iterator enum) { Vector v = new Vector(); while (enum.hasNext()) { v.addElement(enum.next()); } Collections.sort(v, new Comparator() { public int compare(Object o1, Object o2) { return o1.toString().compareTo(o2.toString()); } public boolean equals(Object obj) { return true; // Ever called? } }); return v.iterator(); } } |
From: Laurent E. <let...@us...> - 2002-04-19 07:03:49
|
Update of /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/servlet/http In directory usw-pr-cvs1:/tmp/cvs-serv19852/http Log Message: Directory /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/servlet/http added to the repository |
From: Laurent E. <let...@us...> - 2002-04-19 07:03:37
|
Update of /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/util In directory usw-pr-cvs1:/tmp/cvs-serv19700/util Log Message: Directory /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/util added to the repository |
From: Laurent E. <let...@us...> - 2002-04-19 07:03:26
|
Update of /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/servlet In directory usw-pr-cvs1:/tmp/cvs-serv19591/servlet Log Message: Directory /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/servlet added to the repository |
From: Laurent E. <let...@us...> - 2002-04-19 07:03:15
|
Update of /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/jmx In directory usw-pr-cvs1:/tmp/cvs-serv19464/jmx Log Message: Directory /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/jmx added to the repository |