|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.castor.core.util.Configuration
org.castor.cpa.CPAConfiguration
Castor configuration of CPA modul.
| Field Summary | |
static java.lang.String |
CACHE_FACTORIES
Property listing all available Cache implementations
(org.castor.cache.Factories). |
static java.lang.String |
DEFAULT_TIMEZONE
Property name of default timezone in castor.properties. |
static java.lang.String |
INITIALIZE_AT_LOAD
Property telling if database should be initialized when loading. |
static java.lang.String |
KEYGENERATOR_FACTORIES
Property listing all the available key genence factories. |
static java.lang.String |
LOB_BUFFER_SIZE
Property name of LOB buffer size in castor.properties. |
static java.lang.String |
MSSQL_ANSI_COMPLIANT
Property specifying whether to use ANSI-compliant SQL for MS SQL Server. |
static java.lang.String |
PERSISTENCE_FACTORIES
Property listing all the available persistence factories. |
static java.lang.String |
TRANSACTION_MANAGER_FACTORIES
Property listing all the available TransactionManagerFactory
implementations (org.castor.transactionmanager.Factories). |
static java.lang.String |
TRANSACTION_MANAGER_INIT
Property telling if TransactionManager should be initialized at registration. |
static java.lang.String |
TX_SYNCHRONIZABLE
Property listing all the available TxSynchronizable
implementations (org.exolab.castor.persit.TxSynchronizable). |
static java.lang.String |
TYPE_CONVERTORS
Property listing all available TypeConvertor
implementations (org.castor.cpa.persistence.TypeConvertors). |
static java.lang.String |
USE_JDBC_PROXIES
Property specifying whether JDBC proxy classes should be used org.exolab.castor.persist.useProxies. |
static java.lang.String |
USE_JDBC30
Property specifying whether JDBC 3.0-specific features should be used, such as e.g. the use of Statement.getGeneratedKeys() org.castor.jdo.use.jdbc30. |
| Constructor Summary | |
CPAConfiguration(org.castor.core.util.Configuration parent)
Construct a configuration with given parent. |
|
| Method Summary | |
static org.castor.core.util.Configuration |
getInstance()
Deprecated. Don't limit your applications flexibility by using a static configuration. Use your own configuration instance created with one of the newInstance() methods instead. |
static org.castor.core.util.Configuration |
newInstance()
Factory method for a default CPA configuration instance. |
static org.castor.core.util.Configuration |
newInstance(java.lang.ClassLoader app,
java.lang.ClassLoader domain)
Factory method for a CPA configuration instance that uses the specified class loaders. |
| Methods inherited from class org.castor.core.util.Configuration |
get, getApplicationClassLoader, getBoolean, getBoolean, getClass, getClassArray, getDomainClassLoader, getInteger, getInteger, getObject, getObjectArray, getString, getString, getStringArray, loadDefaultProperties, loadUserProperties, put, remove |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String CACHE_FACTORIES
Cache implementations
(org.castor.cache.Factories).
public static final java.lang.String TYPE_CONVERTORS
TypeConvertor
implementations (org.castor.cpa.persistence.TypeConvertors).
public static final java.lang.String TRANSACTION_MANAGER_FACTORIES
TransactionManagerFactory
implementations (org.castor.transactionmanager.Factories).
public static final java.lang.String TRANSACTION_MANAGER_INIT
public static final java.lang.String INITIALIZE_AT_LOAD
public static final java.lang.String DEFAULT_TIMEZONE
public static final java.lang.String KEYGENERATOR_FACTORIES
public static final java.lang.String LOB_BUFFER_SIZE
public static final java.lang.String PERSISTENCE_FACTORIES
public static final java.lang.String TX_SYNCHRONIZABLE
TxSynchronizable
implementations (org.exolab.castor.persit.TxSynchronizable).
public static final java.lang.String USE_JDBC30
org.castor.jdo.use.jdbc30.
public static final java.lang.String USE_JDBC_PROXIES
org.exolab.castor.persist.useProxies.
public static final java.lang.String MSSQL_ANSI_COMPLIANT
org.exolab.castor.jdo.sqlserver.ansi-compliant
| Constructor Detail |
public CPAConfiguration(org.castor.core.util.Configuration parent)
parent - Parent configuration.| Method Detail |
public static org.castor.core.util.Configuration getInstance()
public static org.castor.core.util.Configuration newInstance()
public static org.castor.core.util.Configuration newInstance(java.lang.ClassLoader app,
java.lang.ClassLoader domain)
app - Classloader to be used for all classes of Castor and its required libraries.domain - Classloader to be used for all domain objects.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||