You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by "Inger, Matthew" <In...@Synygy.com> on 2004/11/16 21:44:17 UTC

Suggestions for new tag library

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