|
|||||||||
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 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 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(java.lang.ClassLoader app,
java.lang.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 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 CPAProperties(AbstractProperties parent)
parent
- Parent properties.Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |