I want to inject ClusterPartitionMBean into an another MBean to pull out cluster related information.
But if I'm using
@Resource
ClusterPartitionMBean mBean;
it is returning
null
, Can anyone help me, in finding out how to use this bean to pull out the required information