port));
}
// TODO: get nodeagent to alter, ** need to verify code when dtd is finalized ???
NodeAgents controllers = ServerBeansFactory.getDomainBean(configContext).getNodeAgents();
NodeAgent controller = controllers.getNodeAgentByName(nodeAgentName);
// Alter proper rendezvousProperties
ElementProperty rendezvousProperty=controller.getElementPropertyByName(RENDEZVOUS_PROPERTY_NAME);
if (rendezvousProperty != null) {
controller.removeElementProperty(rendezvousProperty);
}
rendezvousProperty=new ElementProperty();
rendezvousProperty.setName(RENDEZVOUS_PROPERTY_NAME);
rendezvousProperty.setValue(rendezvousOccurred.toString());
controller.addElementProperty(rendezvousProperty);
// add/alter proper JmxConnector
JmxConnector connector=controller.getJmxConnector();
// alter/add attribute information
connector.setAddress(host);
connector.setPort(port);
connector.setProtocol(protocol);