public class CPAProperties extends AbstractProperties
Modifier and Type | Field and Description |
---|---|
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
|
static java.lang.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(java.lang.ClassLoader app,
java.lang.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 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
public CPAProperties(AbstractProperties parent)
parent
- Parent properties.public static AbstractProperties getInstance()
public static AbstractProperties newInstance()
public static AbstractProperties 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.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com