public class CPAProperties extends AbstractProperties
Modifier and Type | Field and Description |
---|---|
static String |
CACHE_FACTORIES
Property listing all available
Cache implementations
(org.castor.cache.Factories). |
static String |
DEFAULT_TIMEZONE
Property name of default timezone in castor.properties.
|
static String |
INITIALIZE_AT_LOAD
Property telling if database should be initialized when loading.
|
static String |
KEYGENERATOR_FACTORIES
Property listing all the available key genence factories.
|
static String |
LOB_BUFFER_SIZE
Property name of LOB buffer size in castor.properties.
|
static String |
MSSQL_ANSI_COMPLIANT
Property specifying whether to use ANSI-compliant SQL for MS SQL Server.
|
static String |
PERSISTENCE_FACTORIES
Property listing all the available persistence factories.
|
static String |
TRANSACTION_MANAGER_FACTORIES
Property listing all the available
TransactionManagerFactory
implementations (org.castor.transactionmanager.Factories). |
static String |
TRANSACTION_MANAGER_INIT
Property telling if TransactionManager should be initialized at registration.
|
static String |
TX_SYNCHRONIZABLE
Property listing all the available
TxSynchronizable
implementations (org.exolab.castor.persit.TxSynchronizable). |
static String |
TYPE_CONVERTORS
Property listing all available
TypeConvertor
implementations (org.castor.cpa.persistence.TypeConvertors). |
static String |
USE_JDBC_PROXIES
Property specifying whether JDBC proxy classes should be used
|
static String |
USE_JDBC30
Property specifying whether JDBC 3.0-specific features should be used,
such as e.g.
|
Constructor and Description |
---|
CPAProperties(AbstractProperties parent)
Construct properties with given parent.
|
Modifier and Type | Method and Description |
---|---|
static AbstractProperties |
getInstance()
Deprecated.
Don't limit your applications flexibility by using static properties. Use
your own properties instance created with one of the newInstance() methods
instead.
|
static AbstractProperties |
newInstance()
Factory method for a default CPA properties instance.
|
static AbstractProperties |
newInstance(ClassLoader app,
ClassLoader domain)
Factory method for a CPA properties instance that uses the specified class loaders.
|
get, getApplicationClassLoader, getBoolean, getBoolean, getClass, getClassArray, getDomainClassLoader, getInteger, getInteger, getObject, getObjectArray, getString, getString, getStringArray, loadDefaultProperties, loadUserProperties, put, remove
public static final String CACHE_FACTORIES
Cache
implementations
(org.castor.cache.Factories).public static final String TYPE_CONVERTORS
TypeConvertor
implementations (org.castor.cpa.persistence.TypeConvertors).public static final String TRANSACTION_MANAGER_FACTORIES
TransactionManagerFactory
implementations (org.castor.transactionmanager.Factories).public static final String TRANSACTION_MANAGER_INIT
public static final String INITIALIZE_AT_LOAD
public static final String DEFAULT_TIMEZONE
public static final String KEYGENERATOR_FACTORIES
public static final String LOB_BUFFER_SIZE
public static final String PERSISTENCE_FACTORIES
public static final String TX_SYNCHRONIZABLE
TxSynchronizable
implementations (org.exolab.castor.persit.TxSynchronizable).public static final String USE_JDBC30
org.castor.jdo.use.jdbc30.
public static final String USE_JDBC_PROXIES
org.exolab.castor.persist.useProxies.
public static final String MSSQL_ANSI_COMPLIANT
org.exolab.castor.jdo.sqlserver.ansi-compliant
public CPAProperties(AbstractProperties parent)
parent
- Parent properties.public static AbstractProperties getInstance()
public static AbstractProperties newInstance()
public static AbstractProperties newInstance(ClassLoader app, 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.Copyright © 2013. All rights reserved.