List<String> matchingMBeanObjectNames(String agentId, String partialObjectName, int limit) throws Exception { ConnectedAgent connectedAgent = connectedAgents.get(agentId); if (connectedAgent == null) { throw new AgentNotConnectedException(); } return connectedAgent.matchingMBeanObjectNames(partialObjectName, limit); }