struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Marco.Mistr...@nokia.com>
Subject Struts & JMX
Date Fri, 06 Jun 2003 10:30:01 GMT
Hi all,
	i have written an app that uses MBean for management.
i need to register them at startup time, so in a way i can use
struts plugins.
but i would be more interested to know how to extend the struts config
file in order to declare the mbean that i use, so that at startup time
all those mbean will be created and registered with the MBean server.
So, i m looking for a way to do teh exact behaviour as plugin, but instead
of declaring
<plug-in className="....">

write something like
<jmxagent classname="...."
  <mbean classname="...."
       objectName="...."
  </mbean>
</jmxagent>


(jmx agent above is needed in order to connect to mbeanserver. so, jmxagent
would be the plugin, and all mbean below will be created and registered with the
agent)


anyone has a clue on how to extend the struts config file?

regards
	marco


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


Mime
View raw message