http://jira.jboss.com/jira/browse/JBAS-3030 (Lifecycle issue)
http://jira.jboss.com/jira/browse/JBAS-3032 (Inject into DetachedHANamingService)
http://jira.jboss.com/jira/browse/JBAS-3032 (Inject into HAServiceMBeanSupport; bit more complicated)
I'm *speculating* the JMX query had something to do w/ HAPartition being an artifact created by ClusterPartition, rather than being something directly specified in cluster-service.xml. Or perhaps this all predates "depends optional-attribute-name". But now there's no reason not to inject ClusterPartition and retrieve the HAPartition from it.