Yes, take a look at the "className" attribute found on some of the elements
like <forward> and <action> there you can do "some" extension of the config.
Not sure to the extent you are describing.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2003 6:30 AM
To: [EMAIL PROTECTED]
Subject: Struts & JMX


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to