[
https://jira.jboss.org/jira/browse/JBAS-6797?page=com.atlassian.jira.plug...
]
Brian Stansberry reassigned JBAS-6797:
--------------------------------------
Assignee: Brian Stansberry (was: Paul Ferraro)
Paul, I'm making other changes to these classes so I'll do this one too.
Remove HAServiceMBean callMethodOnPartition
-------------------------------------------
Key: JBAS-6797
URL:
https://jira.jboss.org/jira/browse/JBAS-6797
Project: JBoss Application Server
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Clustering
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Fix For: JBossAS-6.0.0.Alpha1
The callMethodOnPartition method does not belong in the general purpose HAServiceMBean
interface, which is meant to be an abstract interface that HA services extend.
Subinterfaces that wish to expose that method via JMX can, but exposing it by default is
not good OO practice, since it's function is something more logically done internally
to a service, not something exposed to external callers.
AbstractHAServiceMBeanSupport can still expose the method (as protected). It's
certainly a reasonable convenience method for subclasses.
Paul, I'm assigning this to you in case it has an implications for things like
HAService.
--
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