informationXML = InformationXMLHolder.getInstance(); directoryXML = new DirectoryXMLHolder(); shareXML = new ShareXMLHolder();
    private ApplejuiceFassade() {        logger = Logger.getLogger(getClass());        try {            //load XMLs            modifiedXML = ModifiedXMLHolder.getInstance();            DataUpdateInformer downloadInformer = new DataUpdateInformer(DataUpdateListener.DOWNLOAD_CHANGED){                protected Object getContentObject() {                    return modifiedXML.getDownloads();                }            };            informer.put(Integer.toString(downloadInformer.getDataUpdateListenerType()), downloadInformer);            DataUpdateInformer searchInformer = new DataUpdateInformer(DataUpdateListener.SEARCH_CHANGED){                protected Object getContentObject() {                    return modifiedXML.getSearchs();                }            };            informer.put(Integer.toString(searchInformer.getDataUpdateListenerType()), searchInformer);            DataUpdateInformer serverInformer = new DataUpdateInformer(DataUpdateListener.SERVER_CHANGED){                protected Object getContentObject() {                    return modifiedXML.getServer();                }            };            informer.put(Integer.toString(serverInformer.getDataUpdateListenerType()), serverInformer);            DataUpdateInformer uploadInformer = new DataUpdateInformer(DataUpdateListener.UPLOAD_CHANGED){                protected Object getContentObject() {                    return modifiedXML.getUploads();                }            };            informer.put(Integer.toString(uploadInformer.getDataUpdateListenerType()), uploadInformer);            DataUpdateInformer shareInformer = new DataUpdateInformer(DataUpdateListener.SHARE_CHANGED){                protected Object getContentObject() {                    return shareXML.getShare();                }            };            informer.put(Integer.toString(shareInformer.getDataUpdateListenerType()), shareInformer);            DataUpdateInformer networkInformer = new DataUpdateInformer(DataUpdateListener.NETINFO_CHANGED){                protected Object getContentObject() {                    return modifiedXML.getNetworkInfo();                }            };            informer.put(Integer.toString(networkInformer.getDataUpdateListenerType()), networkInformer);            DataUpdateInformer speedInformer = new DataUpdateInformer(DataUpdateListener.SPEED_CHANGED){                protected Object getContentObject() {                    return modifiedXML.getSpeeds();                }            };            informer.put(Integer.toString(speedInformer.getDataUpdateListenerType()), speedInformer);            DataUpdateInformer informationInformer = new DataUpdateInformer(DataUpdateListener.INFORMATION_CHANGED){                protected Object getContentObject() {                    return modifiedXML.getInformation();                }            };            informer.put(Integer.toString(informationInformer.getDataUpdateListenerType()), informationInformer);            informationXML = InformationXMLHolder.getInstance();            directoryXML = new DirectoryXMLHolder();            shareXML = new ShareXMLHolder();        }        catch (Exception e) {            if (logger.isEnabledFor(Level.ERROR)) {                logger.error(ERROR_MESSAGE, e);            }        }    }