[
https://jira.jboss.org/jira/browse/JBSEAM-4329?page=com.atlassian.jira.pl...
]
Elias Ross commented on JBSEAM-4329:
------------------------------------
Won't compile on JDK 1.6 since the signature says something like
StandardMBean(T instance, Class<T> class) {}
I think a cast of the second argument to Class should do it. Or maybe change up the
wrapper to use a <T> parameter? Doesn't really make sense though, to create a
Seam component with a type parameter that's never used I think.
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