Remember that a partition is represented by an MBean (ClusterPartition). So the only way to list your partitions is to have all ClusterPartition MBeans reside in the same *domain*, and then enumerate them according to domain, e.g.
You could run an MBean query with "jboss.cache:service=ClusterPartition*".
So there isn't a way different from the JMX console? My target is to create a method that return a vector of partitions_name which input host belongs.