jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Inger, Matthew" <In...@Synygy.com>
Subject Suggestions for new tag library
Date Tue, 16 Nov 2004 20:44:17 GMT
Has any thought been given into create a tag library for JMX?
It would be useful to have tags like the following:


	<jmx:connector
uri="service:jmx:rmi://localhost/jndi/rmi://localhost:9999/service">
	   <jmx:invoke object=":type=MyObjectType" method="someMethod"
var="result" scope="${page.REQUEST_SCOPE}">
	          <jmx:arg signature="java.lang.String" value="someValue" />
	   </jmx:invoke>

	   <jmx:get-attribute object=":type=MyObjectType"
name="someAttribute"
	                              var="attResult"
scope="${page.REQUEST_SCOPE}" />
	</jmx:connector>

	<c:out value="${result}" />
	<c:out value="${attResult}" />


Of course, this might not be the optimal way to deal with the arguments and
signature
arrays, but that's up for debate.

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


Mime
View raw message