* @param opStringName The opstring name
* @return The primary DeployAdmin for the opstring, or null
* if not found
*/
public DeployAdmin getPrimaryDeployAdmin(final String opStringName) {
DeployAdmin primary = null;
ProvisionMonitor.PeerInfo[] peers = provisionMonitorPeer.getBackupInfo();
for (ProvisionMonitor.PeerInfo peer : peers) {
ProvisionMonitor peerMon = peer.getService();
try {
DeployAdmin dAdmin = (DeployAdmin) peerMon.getAdmin();
if(dAdmin.hasDeployed(opStringName)) {
OperationalStringManager mgr = dAdmin.getOperationalStringManager(opStringName);
if (mgr.isManaging()) {
primary = dAdmin;
break;
}
}