Announcement Announcement Module
Collapse
No announcement yet.
JMX beans and prototypes Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • JMX beans and prototypes

    I know I can use the jmx exporter to expose spring managed singleton beans.

    How do I export prototypes (with unique mbean name) via spring?

    Dino

  • #2
    I haven't tried this example but have you looked at NamingStrategy interfaces? If you can't find the functionality in the existing support raise an issue on jira please.

    Comment


    • #3
      Originally posted by costin
      I haven't tried this example but have you looked at NamingStrategy interfaces? If you can't find the functionality in the existing support raise an issue on jira please.
      I'm looking at the implementation and there doesn't seem to be a way to add a new mbean instance at run-time. The MBeanExporter looks at the start-up bean definitions.


      Dino

      Comment


      • #4
        Dino,

        In Spring 2.0, MBeanExporter implements the MBeanExporterOperations interface which provides two mechanisms for registering MBeans at runtime using Spring's interface generation capabilities.

        Regards,

        Rob

        Comment

        Working...
        X