package com.fitbank.bpm.client; import org.apache.commons.configuration.Configuration; import com.fitbank.common.logger.FitbankLogger; import com.fitbank.common.properties.PropertiesHandler; /** * Lee las propiedades de "fitbpm" * * @author FitBank */ public final class BPMProperties extends PropertiesHandler { public static Configuration getConfig() { return getConfig("fitbpm"); } // private static BPMProperties instance = null; @SuppressWarnings("deprecation") private BPMProperties() { super("fitbpm"); } /** * @return La instancia * * @deprecated Usar mejor getConfig() */ @Deprecated public static synchronized BPMProperties getInstance() { if (instance == null) { instance = new BPMProperties(); } return instance; } @Override @Deprecated @SuppressWarnings("deprecation") public boolean getBooleanValue(String key) { try { return super.getBooleanValue(key); } catch (Exception ex) { FitbankLogger.getLogger().debug("Error al cargar propiedad " + key, ex); return false; } } // }