this.staticApplications = new ArrayList<AppInfo>();
List<Link> metadataSet = hostConf.getLinks().get("metadata");
Link metadata = metadataSet==null ? null : metadataSet.size()>0 ? metadataSet.get(0) : null;
List<Link> autoconfList = hostConf.getLinks().get("autoconf");
this.resourceManager = new ResourceManager(getLogger(),hostConf.getLinks());
this.context.getAttributes().put(ResourceManager.ATTR, resourceManager);
// TODO: make the expiration configurable
client = context.getClientDispatcher();
if (autoconfList!=null && autoconfList.size()>0) {
autoConf = autoconfList.get(autoconfList.size()-1);