throws IOException, ConfigurationException {
proxyPreparer = (ProxyPreparer)config.getEntry(CLI.CONFIG_COMPONENT,
"proxyPreparer",
ProxyPreparer.class,
new BasicProxyPreparer());
adminProxyPreparer = (ProxyPreparer)config.getEntry(CLI.CONFIG_COMPONENT,
"adminProxyPreparer",
ProxyPreparer.class,
new BasicProxyPreparer());
int serviceInfoPoolSize = (Integer) config.getEntry(CLI.CONFIG_COMPONENT, "serviceInfoPoolSize", int.class, 5);
serviceInfoFetchPool = Executors.newFixedThreadPool(serviceInfoPoolSize);
DiscoveryManagementPool discoPool = DiscoveryManagementPool.getInstance();
DiscoveryManagement discoMgr = discoPool.getDiscoveryManager("cli", groups, locators, null, config);