Package com.tonbeller.tbutils.res

Examples of com.tonbeller.tbutils.res.Resources


     * If no dataSource name is given, values for jdbcDriver etc are needed. If these
     * values are present, they are taken. Otherwise, they are looked up in the resources
     * with the keys "jdbc.driver", "jdbc.url", "jdbc.user" and "jdbc.password".
     */
    public void allowOverride(RequestContext context) {
      Resources res = context.getResources();

      // get default values
      setRole(getDefault(res, "mondrian.role", getRole()));
      setDynResolver(getDefault(res, "mondrian.dynResolver", getDynResolver()));
      setDynLocale(getDefault(res, "mondrian.dynLocale", getDynLocale()));
View Full Code Here

TOP

Related Classes of com.tonbeller.tbutils.res.Resources

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.