if (aCluster instanceof SimpleTcpCluster) {
// Store nested <Listener> elements
LifecycleListener listeners[] = ((SimpleTcpCluster)cluster).findLifecycleListeners();
storeElementArray(aWriter, indent, listeners);
// Store nested <ClusterListener> elements
ClusterListener mlisteners[] = ((SimpleTcpCluster)cluster).findClusterListeners();
List<ClusterListener> clusterListeners = new ArrayList<>();
for (ClusterListener clusterListener : mlisteners) {
if (clusterListener != deployer) {
clusterListeners.add(clusterListener);
}