SystemPropertyConstants.INSTANCE_ROOT_PROPERTY) +
IAdminConstants.NODEAGENT_DOMAIN_XML_LOCATION;
ConfigContext configContext =
ConfigFactory.createConfigContext(domainXMLLocation);
if (configContext != null) {
Domain domain = ServerBeansFactory.getDomainBean(configContext);
if (domain != null) {
NodeAgents nodeAgents = domain.getNodeAgents();
if (nodeAgents != null) {
NodeAgent nodeAgent = nodeAgents.getNodeAgentByName(
System.getProperty(
SystemPropertyConstants.SERVER_NAME));
if (nodeAgent != null) {