You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ke...@apache.org on 2005/12/20 21:13:33 UTC
svn commit: r358088 - in /geronimo/trunk/applications/jmxdebug/src:
java/org/apache/geronimo/jmxdebug/web/velocity/ServletLogger.java
webapp/mbeaninfo.vm
Author: kevan
Date: Tue Dec 20 12:13:29 2005
New Revision: 358088
URL: http://svn.apache.org/viewcvs?rev=358088&view=rev
Log:
Fixed ServletLogger so that Velocity won't attempt to create a velocity.log file in current directory. Also fixed Velocity errors being caused by non-existent 'getReturnType()' method (even though html was commented out...) I enabled MBean Operations while I was at it.
Modified:
geronimo/trunk/applications/jmxdebug/src/java/org/apache/geronimo/jmxdebug/web/velocity/ServletLogger.java
geronimo/trunk/applications/jmxdebug/src/webapp/mbeaninfo.vm
Modified: geronimo/trunk/applications/jmxdebug/src/java/org/apache/geronimo/jmxdebug/web/velocity/ServletLogger.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/jmxdebug/src/java/org/apache/geronimo/jmxdebug/web/velocity/ServletLogger.java?rev=358088&r1=358087&r2=358088&view=diff
==============================================================================
--- geronimo/trunk/applications/jmxdebug/src/java/org/apache/geronimo/jmxdebug/web/velocity/ServletLogger.java (original)
+++ geronimo/trunk/applications/jmxdebug/src/java/org/apache/geronimo/jmxdebug/web/velocity/ServletLogger.java Tue Dec 20 12:13:29 2005
@@ -28,7 +28,7 @@
*
* @version $Rev$ $Date$
*/
-public class ServletLogger {
+public class ServletLogger implements LogSystem {
private ServletContext servletContext = null;
private static final String PREFIX = " Velocity ";
Modified: geronimo/trunk/applications/jmxdebug/src/webapp/mbeaninfo.vm
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/jmxdebug/src/webapp/mbeaninfo.vm?rev=358088&r1=358087&r2=358088&view=diff
==============================================================================
--- geronimo/trunk/applications/jmxdebug/src/webapp/mbeaninfo.vm (original)
+++ geronimo/trunk/applications/jmxdebug/src/webapp/mbeaninfo.vm Tue Dec 20 12:13:29 2005
@@ -25,7 +25,7 @@
</tr>
</table>
-<h3>Attributes</h3>
+<h3>MBean Attributes</h3>
<table>
@@ -47,7 +47,6 @@
#end
</table>
-<!--
<h3>MBean Operations</h3>
@@ -55,15 +54,16 @@
<tr>
<th>Name</th>
- <th>Return Type</th>
+ <th>MethodName</th>
+ <th>Parameters</th>
</tr>
#foreach($i in $beanInfo.getOperationInfo())
<tr>
<td>$i.getName()</td>
- <td>$i.getReturnType()</td>
+ <td>$i.getMethodName()</td>
+ <td>$i.getParameterList()</td>
</tr>
#end
</table>
--->