| java.lang.Object org.apache.ojb.broker.util.configuration.impl.ConfigurationAbstractImpl org.apache.ojb.broker.util.configuration.impl.OjbConfiguration
OJB_METADATA_FILE | final public static String OJB_METADATA_FILE(Code) | | Default filename of the OJB repository metadata file
|
OJB_PROPERTIES_FILE | final public static String OJB_PROPERTIES_FILE(Code) | | Default filename of the OJB properties file
|
OjbConfiguration | public OjbConfiguration()(Code) | | |
getMaxActive | public int getMaxActive()(Code) | | |
getMaxIdle | public int getMaxIdle()(Code) | | |
getMaxWaitMillis | public long getMaxWaitMillis()(Code) | | |
getMinEvictableIdleTimeMillis | public long getMinEvictableIdleTimeMillis()(Code) | | |
getObjectCacheClass | public Class getObjectCacheClass()(Code) | | |
getOqlCollectionClass | public Class getOqlCollectionClass()(Code) | | |
getPersistenceBrokerClass | public Class getPersistenceBrokerClass()(Code) | | |
getPersistentFieldClass | public Class getPersistentFieldClass()(Code) | | |
getProxyFactoryClass | public Class getProxyFactoryClass()(Code) | | Returns the class that will be used as the proxy factory.
The proxy factory class |
getRepositoryFilename | public String getRepositoryFilename()(Code) | | |
getSqlInLimit | public int getSqlInLimit()(Code) | | Returns the SQLInLimit.
int |
getTimeBetweenEvictionRunsMilli | public long getTimeBetweenEvictionRunsMilli()(Code) | | |
getWhenExhaustedAction | public byte getWhenExhaustedAction()(Code) | | |
load | protected void load()(Code) | | Loads the configuration from file "OBJ.properties". If the system
property "OJB.properties" is set, then the configuration in that file is
loaded. Otherwise, the file "OJB.properties" is tried. If that is also
unsuccessful, then the configuration is filled with default values.
|
lockAssociationAsWrites | public boolean lockAssociationAsWrites()(Code) | | |
setPersistentFieldClass | public void setPersistentFieldClass(Class persistentFieldClass)(Code) | | Sets the persistentFieldClass.
Parameters: persistentFieldClass - The persistentFieldClass to set |
setUseImplicitLocking | public void setUseImplicitLocking(boolean implicitLocking)(Code) | | |
useSerializedRepository | public boolean useSerializedRepository()(Code) | | |
Methods inherited from org.apache.ojb.broker.util.configuration.impl.ConfigurationAbstractImpl | public boolean getBoolean(String key, boolean defaultValue)(Code)(Java Doc) public byte getByte(String key, byte defaultValue)(Code)(Java Doc) public Class getClass(String key, Class defaultValue, Class[] assignables)(Code)(Java Doc) public Class getClass(String key, Class defaultValue, Class assignable)(Code)(Java Doc) public Class getClass(String key, Class defaultValue)(Code)(Java Doc) public int getInteger(String key, int defaultValue)(Code)(Java Doc) public long getLong(String key, long defaultValue)(Code)(Java Doc) public String getString(String key, String defaultValue)(Code)(Java Doc) public String[] getStrings(String key, String defaultValue, String seperators)(Code)(Java Doc) public String[] getStrings(String key, String defaultValue)(Code)(Java Doc) protected void load()(Code)(Java Doc) protected void setFilename(String name)(Code)(Java Doc) public void setLogger(Logger loggerInstance)(Code)(Java Doc)
|
|
|