[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-4329) Registering Seam components in JMX

Dilip Ramji (JIRA) jira-events at lists.jboss.org
Thu Nov 12 16:41:05 EST 2009

    [ https://jira.jboss.org/jira/browse/JBSEAM-4329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12494401#action_12494401 ] 

Dilip Ramji commented on JBSEAM-4329:

I'm running against JDK6u17 and the following line in your code does not compile:

        StandardMBean mbean = new StandardMBean(proxy, componentInterface);

        The constructor StandardMBean(Object, Class<?>) is undefined.

How do you get this to work?


> Registering Seam components in JMX
> ----------------------------------
>                 Key: JBSEAM-4329
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4329
>             Project: Seam
>          Issue Type: Feature Request
>            Reporter: Elias Ross
>             Fix For: 2.2.1.CR1
>         Attachments: SeamWrapper.java
> Seam's support for JMX is woefully lacking.
> Example problem: How does one make available a Seam component in JMX?
> Attached is a wrapper for exporting any Seam component using a Wrapper...It's a start, but this facility could be improved through better support in Seam.
> Things that need to be done in Seam:
> 1. Simple ways to access JMX: Configure the MBean server used by Seam, return the MBeanServer Seam uses, etc.
> 2. Converter for String->ObjectName.
> 3. Namespace for <jmx:>, so you can do
> <jmx:mbean-server agent-id="platform" create="false"/>
> <jmx:mbean name=":type=MBean" component="#{component}" />
> 4. Support for documented MBean attributes and operations. Maybe using JBoss's annotations?

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list