[
https://issues.jboss.org/browse/AS7-887?page=com.atlassian.jira.plugin.sy...
]
Eduardo Martins commented on AS7-887:
-------------------------------------
The attached pull enables deployments of MBeans implementing ServiceMBean, but wrt
ServiceMBeanSupport the situation is quite complicated:
- there is an old JBoss Logger exposed (as field and through method), converting to the
new Logger will automatically render any MBean that uses it incompatible
- requires org.jboss.mx.util.JBossNotificationBroadcasterSupport, which implementation
must be updated too, since it requires missing features
- has pojoX() and AS5 controllers exposed
- has a public method to get missing DeploymentInfo (which in turn needs
SARDeployerMBean)
- support of even older ServiceMBeanSupport depends on AS5 ServiceController
Obviously it's not impossible to reimplement any of the missing features, but the
class refactor should turn the a lot of the usages incompatible, and if it's not
compatible then why not promote the usage of AS7 Services instead...
Support legacy ServiceMBeans in SAR deployments
-----------------------------------------------
Key: AS7-887
URL:
https://issues.jboss.org/browse/AS7-887
Project: Application Server 7
Issue Type: Enhancement
Components: JMX
Reporter: Matt Drees
Assignee: Eduardo Martins
It looks like the current SAR deployment code (jboss-as-sar) will deploy simple MBeans
just fine. However, users may expect to be able to deploy older ServiceMBeans from
previous Jboss AS versions. Currently, attempting to do this results in a
ClassNotFoundException, since the org.jboss.system.ServiceMBean interface doesn't
exist anymore.
Ideally this would also involve supporting ServiceMBeans that extend
org.jboss.system.ServiceMBeanSupport, which also doesn't exist anymore.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira