// params.put( GatewayConfigImpl.NAMENODE_ADDRESS, config.getNameNodeAddress() );
// params.put( GatewayConfigImpl.TEMPLETON_ADDRESS, config.getTempletonAddress() );
// params.put( GatewayConfigImpl.SHIRO_CONFIG_FILE, config.getShiroConfigFile() );
// Create the global context handler.
contexts = new ContextHandlerCollection();
// A map to keep track of current deployments by cluster name.
deployments = new ConcurrentHashMap<String, WebAppContext>();
// Determine the socket address and check availability.