{
final ConfigContext configContext =
ApplicationServer.getServerContext().getConfigContext();
final Domain domain = ServerBeansFactory.getDomainBean(configContext);
final NodeAgents controllers = domain.getNodeAgents();
final NodeAgent controller = controllers.getNodeAgentByName(getNodeAgentName());
boolean rendezvousOccurred = true;
ElementProperty rendezvousProperty = null;
//It is an expected case for the controller to be null. In the case where we
//are unbinding from a node agent, the node controller element will already be
//removed before invoking synchronizeWithDAS via this proxy.
//Tested case where nodeagent has never rendezvoused and then it is deleted, works correctly
//with connection failure exception being thrown
if (controller != null) {
//See if a rendezvous has occurred
rendezvousProperty = controller.getElementPropertyByName(
IAdminConstants.RENDEZVOUS_PROPERTY_NAME);
rendezvousOccurred = new Boolean(rendezvousProperty.getValue()).booleanValue();
}
if (rendezvousOccurred) {