|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.castor.core.util.AbstractProperties
org.castor.cpa.CPAProperties
public class CPAProperties
Properties of CPA modul.
| Field Summary | |
|---|---|
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 org.exolab.castor.persist.useProxies. |
static 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 | |
|---|---|
CPAProperties(AbstractProperties parent)
Construct properties with given parent. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.castor.core.util.AbstractProperties |
|---|
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 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
| Constructor Detail |
|---|
public CPAProperties(AbstractProperties parent)
parent - Parent properties.| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||