1 package org.apache.ojb.broker.util.configuration; 2 3 17 18 import org.apache.ojb.broker.util.logging.Logger; 19 20 30 public interface Configuration 31 { 32 33 37 public void setLogger(Logger loggerInstance); 38 39 48 public boolean getBoolean(String key, boolean defaultValue); 49 50 62 public Class getClass(String key, Class defaultValue, Class assignable); 63 64 77 public Class getClass(String key, Class defaultValue, Class [] assignables); 78 79 88 public Class getClass(String key, Class defaultValue); 89 90 99 public int getInteger(String key, int defaultValue); 100 101 109 public String getString(String key, String defaultValue); 110 111 122 public String [] getStrings(String key, String defaultValue, String seperators); 123 124 134 public String [] getStrings(String key, String defaultValue); 135 } 136 | Popular Tags |