public static Agent getAgent(AgentConfig config) throws AdminException {
    return new AgentImpl((AgentConfigImpl) config);
  }
Creates an unstarted GemFire JMX administration agent with the given configuration.

@param config the configuration with which to create the GemFire JMX administration agent
@return an unstarted GemFire JMX administration agent

@throws AdminException if the agent cannot be created
@see Agent#start
geode-core/src/main/java/org/apache/geode/admin/jmx/AgentFactory.java