ojb.broker.util
Class PersistenceBrokerFactoryConfiguration

java.lang.Object
  |
  +--ojb.broker.util.BaseConfiguration
        |
        +--ojb.broker.util.PersistenceBrokerFactoryConfiguration

public class PersistenceBrokerFactoryConfiguration
extends BaseConfiguration

This class contains the runtime configuration of the OJB system. This Configuration is read in only once at application startup. Changes to the OJB.properties file during execution are not reflected back into the application!


Field Summary
 
Fields inherited from class ojb.broker.util.BaseConfiguration
filename, properties
 
Constructor Summary
PersistenceBrokerFactoryConfiguration()
           
 
Method Summary
 java.lang.Class getConnectionFactoryClass()
           
 boolean getIgnoreAutoCommitExceptions()
           
 java.lang.Class getLockManagerClass()
           
 java.lang.Class getLockMapClass()
           
 java.lang.Class getLoggerClass()
           
 java.lang.String getLoggerConfigFile()
           
 java.lang.String getLogLevel(java.lang.String loggerName)
           
 java.lang.Class getObjectCacheClass()
           
 java.lang.Class getOqlCollectionClass()
           
 java.lang.Class getPersistenceBrokerClass()
           
 java.lang.Class getPersistentFieldClass()
           
 java.lang.String getRepositoryFilename()
           
 java.lang.Class getSequenceManagerClass()
           
 int getSequenceManagerGrabSize()
           
 java.lang.String[] getServers()
           
 boolean islockAssociationAsWrites()
           
 boolean isServerUsed()
           
protected  void load()
          loads the configuration
 
Methods inherited from class ojb.broker.util.BaseConfiguration
getBoolean, getClass, getClass, getClass, getInteger, getString, getStrings, getStrings, setFilename
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistenceBrokerFactoryConfiguration

public PersistenceBrokerFactoryConfiguration()
Method Detail

getLoggerConfigFile

public java.lang.String getLoggerConfigFile()

getLogLevel

public java.lang.String getLogLevel(java.lang.String loggerName)

islockAssociationAsWrites

public boolean islockAssociationAsWrites()

getIgnoreAutoCommitExceptions

public boolean getIgnoreAutoCommitExceptions()

isServerUsed

public boolean isServerUsed()

getRepositoryFilename

public java.lang.String getRepositoryFilename()

getServers

public java.lang.String[] getServers()

getSequenceManagerClass

public java.lang.Class getSequenceManagerClass()

getObjectCacheClass

public java.lang.Class getObjectCacheClass()

getConnectionFactoryClass

public java.lang.Class getConnectionFactoryClass()

getLockManagerClass

public java.lang.Class getLockManagerClass()

getSequenceManagerGrabSize

public int getSequenceManagerGrabSize()

getOqlCollectionClass

public java.lang.Class getOqlCollectionClass()

getLockMapClass

public java.lang.Class getLockMapClass()

getLoggerClass

public java.lang.Class getLoggerClass()

getPersistentFieldClass

public java.lang.Class getPersistentFieldClass()

getPersistenceBrokerClass

public java.lang.Class getPersistenceBrokerClass()

load

protected void load()
loads the configuration

Overrides:
load in class BaseConfiguration


Authors: Thomas Mahler and others. (C) 2000, 2001.
All rights reserved. Published under the Gnu Public License.
http://objectbridge.sourceforge.net
Version: 0.8.375, 2002-04-04