[jboss-jira] [JBoss JIRA] (AS7-887) Support legacy ServiceMBeans in SAR deployments
Eduardo Martins (JIRA)
jira-events at lists.jboss.org
Thu Jul 12 09:13:13 EDT 2012
[ https://issues.jboss.org/browse/AS7-887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705679#comment-12705679 ]
Eduardo Martins edited comment on AS7-887 at 7/12/12 9:12 AM:
--------------------------------------------------------------
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 incompatible quite a few of the usages, and if it's not compatible then why not promote the usage of AS7 Services instead...
was (Author: emmartins):
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
More information about the jboss-jira
mailing list