|
SolarMetric Kodo JDO 3.3.5 generated on August 31 2005 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.solarmetric.conf.ConfigurationImpl | +--kodo.conf.JDOConfigurationImpl
Implementation of the JDOConfiguration
interface.
On construction, the class will attempt to locate a default properties
file called kodo.properties
located at any top level token
of the CLASSPATH. See the ConfigurationImpl
class description
for details.
ConfigurationImpl
, Serialized FormFields inherited from class com.solarmetric.conf.ConfigurationImpl |
logFactory |
Fields inherited from interface com.solarmetric.conf.Configuration |
ATTRIBUTE_ALLOWED_VALUES, ATTRIBUTE_CATEGORY, ATTRIBUTE_ORDER, ATTRIBUTE_TYPE |
Fields inherited from interface java.beans.BeanInfo |
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
Constructor Summary | |
JDOConfigurationImpl()
Default constructor. |
|
JDOConfigurationImpl(boolean loadDefaults)
Constructor. |
Method Summary | |
void |
close()
Free the resources used by this object. |
protected com.solarmetric.license.Capabilities |
createCapabilities()
Create a new Capabilities for this license type. |
AggregateListener[] |
getAggregateListenerInstances()
Return the query function listeners. |
String |
getAggregateListeners()
A ','-separted list of the plugin strings of the query AggregateListener s to use. |
String |
getClassResolver()
The plugin string for the ClassResolver to use for custom
class loading. |
ClassResolver |
getClassResolverInstance()
The ClassResolver to use. |
RuntimeException |
getConfigurationException(String msg,
Throwable cause)
Return an appropriate exception indicating a configuration error. |
Log |
getConfigurationLog()
Return the log to use for configuration messages. |
String |
getConnection2DriverName()
Class name of the non-XA connection driver. |
String |
getConnection2Password()
The password for the non-XA data store connection. |
String |
getConnection2Properties()
These properties provide any additional information needed to establish non-XA connections. |
String |
getConnection2URL()
The URL for the non-XA data store connection. |
String |
getConnection2UserName()
The user name for the non-XA data store connection. |
String |
getConnectionDriverName()
Class name of the connection driver. |
Object |
getConnectionFactory()
The connection factory, possibly from JNDI. |
Object |
getConnectionFactory2()
The non-XA connection factory. |
String |
getConnectionFactory2Name()
The name for the second data store connection factory. |
String |
getConnectionFactory2Properties()
Configuration properties for the non-XA connection factory. |
String |
getConnectionFactoryName()
The name for the data store connection factory. |
String |
getConnectionFactoryProperties()
Configuration properties for the connection factory. |
String |
getConnectionPassword()
The password for the data store connection. |
String |
getConnectionProperties()
These properties provide any additional information needed to establish connections. |
String |
getConnectionRetainMode()
Specifies the behavior of the persistence manager with respect to data store connections. |
int |
getConnectionRetainModeConstant()
Return the connection retain mode as one of the following symbolic constants: KodoPersistenceManager.CONN_RETAIN_PM
KodoPersistenceManager.CONN_RETAIN_TRANS
KodoPersistenceManager.CONN_RETAIN_DEMAND
|
String |
getConnectionURL()
The URL for the data store connection. |
String |
getConnectionUserName()
The user name for the data store connection. |
boolean |
getCopyObjectIds()
Whether to copy identity objects before returning them to client code. |
String |
getDataCache()
The DataCache to use for level-2 data store caching. |
DataCache[] |
getDataCacheInstances()
Return the data caches specified in the DataCache plugin list string. |
DataCacheManager |
getDataCacheManager()
The data cache manager manages this configuration's cache instances. |
int |
getDataCacheTimeout()
Default data cache timeout. |
boolean |
getDynamicDataStructs()
Return whether to generate dynamic data structures where possible for cache and runtime usage. |
String |
getEagerFetchMode()
Specifies the default eager fetch mode to use. |
int |
getEagerFetchModeConstant()
Return the eager fetch mode as one of the following symbolic constants: FetchConfiguration.EAGER_NONE
FetchConfiguration.EAGER_JOIN
FetchConfiguration.EAGER_PARALLEL
|
protected int |
getEvaluationCapabilities()
|
com.solarmetric.profile.ExecutionContextNameProvider |
getExecutionContextNameProviderInstance()
Get the ExecutionContextNameProvider instance. |
int |
getFetchBatchSize()
Get the size of the batch that will be pre-selected when accessing elements in a query or relationship. |
String |
getFetchGroups()
Returns a list of fetch groups with which all PersistenceManager objects obtained from a
PersistenceManagerFactory should be configured. |
String[] |
getFetchGroupsList()
The separated list of fetch groups. |
FilterListener[] |
getFilterListenerInstances()
Return the query filter listeners. |
String |
getFilterListeners()
A ','-separted list of the plugin strings of the query FilterListener s to use. |
String |
getFlushBeforeQueries()
Returns whether or not Kodo should automatically flush modifications to the data store before executing queries. |
int |
getFlushBeforeQueriesConstant()
Returns one of FetchConfiguration.QUERY_FLUSH_TRUE ,
FetchConfiguration.QUERY_FLUSH_FALSE , or
FetchConfiguration.QUERY_FLUSH_WITH_CONNECTION , as determined
by parsing the string returned by getFlushBeforeQueries() . |
boolean |
getIgnoreCache()
The default IgnoreCache setting for all PersistenceManager instances obtained from this factory. |
String |
getInverseManager()
The plugin to use for managing inverse relations. |
com.solarmetric.license.License |
getLicense()
Return the license for the set license key. |
String |
getLicenseKey()
The license key for Kodo. |
String |
getLockManager()
The plugin to use for datastore lock management. |
int |
getLockTimeout()
The time to wait for an object lock in milliseconds, or -1 for no timeout. |
String |
getLog()
Get the log configuration string to use. |
LogFactory |
getLogFactory()
The log factory. |
String |
getManagedRuntime()
The plugin string for the ManagedRuntime to use for managed
environments. |
ManagedRuntime |
getManagedRuntimeInstance()
The plugin to use for integrating with a managed runtime. |
String |
getManagementConfiguration()
Get the ManagementConfiguration plugin string. |
javax.management.MBeanServer |
getMBeanServer()
Get the MBeanServer instance associated with this configuration. |
String |
getMetaDataLoader()
Get the MetaDataLoader implementation to use |
JDOMetaDataRepository |
getMetaDataRepository()
The metadata repository of managed class information. |
boolean |
getMultithreaded()
The default Multithreaded setting for all PersistenceManager instances obtained from this factory. |
boolean |
getNontransactionalRead()
The default NontransactionalRead setting for all PersistenceManager instances obtained from this factory. |
boolean |
getNontransactionalWrite()
The default NontransactionalWrite setting for all PersistenceManager instances obtained from this factory. |
String |
getObjectLookupMode()
Specifies the behavior of the persistence manager during PersistenceManager#getObjectById with the validate parameter
set to false. |
int |
getObjectLookupModeConstant()
Return the object lookup mode as one of these constants: KodoPersistenceManager.LOOKUP_CHECK
KodoPersistenceManager.LOOKUP_HOLLOW
|
boolean |
getOptimistic()
The default Optimistic setting for all PersistenceManager instances obtained from this factory. |
String |
getOrphanedKeyAction()
The action to take when an orphaned key is detected. |
OrphanedKeyAction |
getOrphanedKeyActionInstance()
The action to take when an orphaned key is detected. |
String |
getPersistenceManagerFactoryClass()
The PersistenceManagerFactory class name. |
String |
getPersistenceManagerImpl()
The plugin string of the PersistenceManagerImpl extension to
create. |
String |
getPersistenceManagerServer()
Plugin string describing whether and how this factory will act as a server to remote persistence managers. |
Transport |
getPersistenceManagerServerInstance()
The transport layer for remote persistence manager clients. |
String |
getPersistentClasses()
A ','-separted list of the class names of persistent types to register each time a persistence manager is obtained. |
String[] |
getPersistentClassesList()
The separated persistent class names. |
protected String |
getProductName()
Return the product name. |
kodo.profile.KodoProfilingAgent |
getProfilingAgentInstance()
Get the KodoProfilingAgent instance associated with this configuration. |
String |
getProxyManager()
The plugin string for the ProxyManager to use for second
class object proxies. |
ProxyManager |
getProxyManagerInstance()
The ProxyManager to use. |
String |
getQueryCache()
The plugin to use for level-2 data store query caching. |
String |
getQueryCompilationCache()
The plugin to use for caching of query compilation data. |
Map |
getQueryCompilationCacheInstance()
Return the Map to use in caching query compilation
data using the configured plugin settings. |
QueryMetaDataRepository |
getQueryMetaDataRepository()
The repository of named query information. |
String |
getReadLockLevel()
The default read lock level to use during non-optimistic transactions. |
int |
getReadLockLevelConstant()
The numeric read lock level. |
RemoteCommitEventManager |
getRemoteCommitEventManager()
The remote event manager that manages this configuration's remote event listeners. |
String |
getRemoteCommitProvider()
The plugin to use for remote commit notification. |
boolean |
getRestoreMutableValues()
Whether mutable second class objects are restored on rollback. |
boolean |
getRestoreValues()
The default RestoreValues setting for all PersistenceManager instances obtained from this factory. |
boolean |
getRetainValues()
The default RetainValues setting for all PersistenceManager instances obtained from this factory. |
boolean |
getRetainValuesInOptimistic()
Whether to allow nontransactional instances to retain their values when modified in an optimistic transaction. |
boolean |
getRetryClassRegistration()
Whether to warn and defer registration instead of throwing an exception when a registered persistent class cannot be processed. |
StreamDecorator[] |
getStreamDecorators()
The stream decorators to use with the persistence manager server. |
String |
getSubclassFetchMode()
Specifies the default subclass fetch mode to use. |
int |
getSubclassFetchModeConstant()
Return the subclass fetch mode as one of the following symbolic constants: FetchConfiguration.EAGER_NONE
FetchConfiguration.EAGER_JOIN
FetchConfiguration.EAGER_PARALLEL
|
KodoTimeWatchManager |
getTimeWatchManager()
Get the TimeWatch Watchable for this configuration. |
String |
getTransactionMode()
Specifies the behavior of the transaction model. |
String |
getWriteLockLevel()
The default write lock level to use during non-optimistic transactions. |
int |
getWriteLockLevelConstant()
The numeric write lock level. |
protected boolean |
isInvalidProperty(String propName)
Returns true if the specified property name should raise a warning if it is not found in the list of known properties. |
boolean |
isTransactionModeManaged()
Return whether managed transactions are being used. |
DataCache |
newDataCacheInstance()
Return a new data cache instance using the configured plugin settings. |
InverseManager |
newInverseManagerInstance()
Return a new inverse manager instance using the configured plugin settings. |
LockManager |
newLockManagerInstance()
Return a new lock manager instance using the configured plugin settings. |
JDOMetaDataGenerator |
newMetaDataGenerator()
Create a new JDOMetaDataGenerator appropriate for use
in the current environment. |
MetaDataLoader |
newMetaDataLoader()
Create a new MetaDataLoader instance for a parser to use |
PersistenceManagerImpl |
newPersistenceManagerImplInstance()
Create a new persistence manager instance with the configured plugin data. |
QueryCache |
newQueryCacheInstance()
Return a new query cache instance using the configured plugin settings. |
RemoteCommitProvider |
newRemoteCommitProviderInstance()
Create a remote commit provider from the configured plugin. |
void |
setAggregateListeners(AggregateListener[] listeners)
Set the query function listeners. |
void |
setAggregateListeners(String aggregateListeners)
A ','-separted list of the plugin strings of the query AggregateListener s to use. |
void |
setClassResolver(ClassResolver classResolver)
The ClassResolver to use. |
void |
setClassResolver(String classResolver)
The plugin string for the ClassResolver to use for custom
class loading. |
void |
setClassResolverInstance(ClassResolver classResolver)
|
void |
setConnection2DriverName(String driverName)
Class name of the non-XA connection driver. |
void |
setConnection2Password(String connection2Password)
The password for the non-XA data store connection. |
void |
setConnection2Properties(String connection2Properties)
These properties provide any additional information needed to establish non-XA connections. |
void |
setConnection2URL(String connection2URL)
The URL for the non-XA data store connection. |
void |
setConnection2UserName(String connection2UserName)
The user name for the non-XA data store connection. |
void |
setConnectionDriverName(String driverName)
Class name of the connection driver. |
void |
setConnectionFactory(Object connectionFactory)
The connection factory. |
void |
setConnectionFactory2(Object factory)
The non-XA connection factory. |
void |
setConnectionFactory2Name(String connectionFactory2Name)
The name for the second data store connection factory. |
void |
setConnectionFactory2Properties(String connectionFactory2Properties)
Configuration properties for the non-XA connection factory. |
void |
setConnectionFactoryName(String connectionFactoryName)
The name for the data store connection factory. |
void |
setConnectionFactoryProperties(String connectionFactoryProperties)
Configuration properties for the connection factory. |
void |
setConnectionPassword(String connectionPassword)
The password for the data store connection. |
void |
setConnectionProperties(String connectionProperties)
These properties provide any additional information needed to establish connections. |
void |
setConnectionRetainMode(int connectionRetainMode)
Set the connection retain mode as one of the following symbolic constants: KodoPersistenceManager.CONN_RETAIN_PM
KodoPersistenceManager.CONN_RETAIN_TRANS
KodoPersistenceManager.CONN_RETAIN_DEMAND
|
void |
setConnectionRetainMode(String connectionRetainMode)
Specifies the behavior of the persistence manager with respect to data store connections. |
void |
setConnectionURL(String connectionURL)
The URL for the data store connection. |
void |
setConnectionUserName(String connectionUserName)
The user name for the data store connection. |
void |
setCopyObjectIds(boolean copy)
Whether to copy identity objects before returning them to client code. |
void |
setCopyObjectIds(Boolean copy)
Whether to copy identity objects before returning them to client code. |
void |
setDataCache(String dataCache)
The DataCache to use for level-2 data store caching. |
void |
setDataCacheManager(DataCacheManager dataCacheManager)
The data cache manager manages this configuration's cache instances. |
void |
setDataCacheTimeout(int dataCacheTimeout)
Default data cache timeout. |
void |
setDataCacheTimeout(Integer dataCacheTimeout)
Wrapper for JCA usage of setDataCacheTimeout(int) . |
void |
setDynamicDataStructs(boolean dynamic)
Set whether to generate dynamic data structures where possible for cache and runtime usage. |
void |
setDynamicDataStructs(Boolean dynamic)
Wrapper for JCA usage of setDynamicDataStructs(boolean) . |
void |
setEagerFetchMode(int eagerFetchMode)
Set the eager fetch mode as one of the following symbolic constants: FetchConfiguration.EAGER_NONE
FetchConfiguration.EAGER_JOIN
FetchConfiguration.EAGER_PARALLEL
|
void |
setEagerFetchMode(String eagerFetchMode)
Specifies the default eager fetch mode to use. |
void |
setFetchBatchSize(int fetchBatchSize)
Set the size of the batch that will be pre-selected when accessing elements in a query or relationship. |
void |
setFetchBatchSize(Integer fetchBatchSize)
Wrapper for JCA usage of setFetchBatchSize(int) . |
void |
setFetchGroups(String fetchGroups)
Sets a list of fetch groups with which all PersistenceManager objects obtained from a
PersistenceManagerFactory should be configured. |
void |
setFetchGroups(String[] fetchGroups)
The separated list of fetch groups. |
void |
setFilterListeners(FilterListener[] listeners)
Set the query filter listeners. |
void |
setFilterListeners(String filterListeners)
A ','-separted list of the plugin strings of the query FilterListener s to use. |
void |
setFlushBeforeQueries(int flush)
Set to one of FetchConfiguration.QUERY_FLUSH_TRUE ,
FetchConfiguration.QUERY_FLUSH_FALSE , or
FetchConfiguration.QUERY_FLUSH_WITH_CONNECTION . |
void |
setFlushBeforeQueries(String flush)
Sets whether or not Kodo should automatically flush modifications to the data store before executing queries. |
void |
setIgnoreCache(boolean ignoreCache)
The default IgnoreCache setting for all PersistenceManager instances obtained from this factory. |
void |
setIgnoreCache(Boolean ignoreCache)
Wrapper for JCA usage of setIgnoreCache(boolean) . |
void |
setInverseManager(String inverseManager)
The plugin to use for managing inverse relations. |
void |
setLicenseKey(String licenseKey)
The license key for Kodo. |
void |
setLockManager(String lockManager)
The plugin to use for datastore lock management. |
void |
setLockTimeout(int timeout)
The time to wait for an object lock in milliseconds, or -1 for no timeout. |
void |
setLockTimeout(Integer timeout)
Wrapper for JCA usage of setLockTimeout(int) . |
void |
setLog(String log)
Set the log plugin string to use. |
void |
setManagedRuntime(ManagedRuntime managedRuntime)
The plugin to use for integrating with a managed runtime. |
void |
setManagedRuntime(String managedRuntime)
The plugin string for the ManagedRuntime to use for managed
environments. |
void |
setManagementConfiguration(String managementConfiguration)
Set the ManagementConfiguration plugin string. |
void |
setMetaDataLoader(String loader)
Set the MetaDataLoader implementation to use |
void |
setMetaDataRepository(JDOMetaDataRepository metaRepos)
The metadata repository of managed class information. |
void |
setMultithreaded(boolean multithreaded)
The default Multithreaded setting for all PersistenceManager instances obtained from this factory. |
void |
setMultithreaded(Boolean multithreaded)
Wrapper for JCA usage of setMultithreaded(boolean) . |
void |
setNontransactionalRead(boolean nontransactionalRead)
The default NontransactionalRead setting for all PersistenceManager instances obtained from this factory. |
void |
setNontransactionalRead(Boolean nontransactionalRead)
Wrapper for JCA usage of setNontransactionalRead(boolean) . |
void |
setNontransactionalWrite(boolean nontransactionalWrite)
The default NontransactionalWrite setting for all PersistenceManager instances obtained from this factory. |
void |
setNontransactionalWrite(Boolean nontransactionalWrite)
Wrapper for JCA usage of setNontransactionalWrite(boolean) . |
void |
setObjectLookupMode(int objectLookupMode)
Return the object lookup mode as one of these constants: KodoPersistenceManager.LOOKUP_CHECK
KodoPersistenceManager.LOOKUP_HOLLOW
|
void |
setObjectLookupMode(String objectLookupMode)
Specifies the behavior of the persistence manager during PersistenceManager#getObjectById with the validate parameter
set to false. |
void |
setOptimistic(boolean optimistic)
The default Optimistic setting for all PersistenceManager instances obtained from this factory. |
void |
setOptimistic(Boolean optimistic)
Wrapper for JCA usage of setOptimistic(boolean) . |
void |
setOrphanedKeyAction(String action)
The action to take when an orphaned key is detected. |
void |
setPersistenceManagerFactoryClass(String pmFactoryClass)
The PersistenceManagerFactory class name. |
void |
setPersistenceManagerImpl(String persistenceManager)
The plugin string of the PersistenceManagerImpl extension to
create. |
void |
setPersistenceManagerServer(String pmServer)
Plugin string describing whether and how this factory will act as a server to remote persistence managers. |
void |
setPersistenceManagerServer(Transport pmServer)
The transport layer for remote persistence manager clients. |
void |
setPersistentClasses(String persistentClasses)
A ','-separted list of the class names of persistent types to register each time a persistence manager is obtained. |
void |
setPersistentClasses(String[] persistentClasses)
The separated persistent class names. |
void |
setProxyManager(ProxyManager proxyManager)
The ProxyManager to use. |
void |
setProxyManager(String proxyManager)
The plugin string for the ProxyManager to use for second
class object proxies. |
void |
setQueryCache(String queryCache)
The plugin to use for level-2 data store query caching. |
void |
setQueryCompilationCache(String queryCompilationCache)
The plugin to use for caching of query compilation data. |
void |
setQueryMetaDataRepository(QueryMetaDataRepository queryRepos)
The repository of named query information. |
void |
setReadLockLevel(int level)
The numeric read lock level. |
void |
setReadLockLevel(String level)
The default read lock level to use during non-optimistic transactions. |
void |
setRemoteCommitEventManager(RemoteCommitEventManager remoteEventManager)
The remote event manager that manages this configuration's remote event listeners. |
void |
setRemoteCommitProvider(String remoteCommitProvider)
The plugin to use for remote commit notification. |
void |
setRestoreMutableValues(boolean restore)
Whether mutable second class objects are restored on rollback. |
void |
setRestoreMutableValues(Boolean restore)
JCA wrapper for setRestoreMutableValues(boolean) . |
void |
setRestoreValues(boolean restoreValues)
The default RestoreValues setting for all PersistenceManager instances obtained from this factory. |
void |
setRestoreValues(Boolean restoreValues)
Wrapper for JCA usage of setRestoreValues(boolean) . |
void |
setRetainValues(boolean retainValues)
The default RetainValues setting for all PersistenceManager instances obtained from this factory. |
void |
setRetainValues(Boolean retainValues)
Wrapper for JCA usage of setRetainValues(boolean) . |
void |
setRetainValuesInOptimistic(boolean retain)
Whether to allow nontransactional instances to retain their values when modified in an optimistic transaction. |
void |
setRetainValuesInOptimistic(Boolean retain)
JCA wrapper for setRetainValuesInOptimistic(boolean) . |
void |
setRetryClassRegistration(boolean retry)
Whether to warn and defer registration instead of throwing an exception when a registered persistent class cannot be processed. |
void |
setRetryClassRegistration(Boolean retry)
Wrapper for JCA usage of setRetryClassRegistration(boolean) . |
void |
setStreamDecorators(StreamDecorator[] streamDecs)
The stream decorators to use with the persistence manager server. |
void |
setSubclassFetchMode(int subclassFetchMode)
Set the subclass fetch mode as one of the following symbolic constants: FetchConfiguration.EAGER_NONE
FetchConfiguration.EAGER_JOIN
FetchConfiguration.EAGER_PARALLEL
|
void |
setSubclassFetchMode(String subclassFetchMode)
Specifies the default subclass fetch mode to use. |
void |
setTransactionMode(String transactionMode)
Specifies the behavior of the transaction model. |
void |
setTransactionModeManaged(boolean managed)
Set whether managed transactions are being used. |
void |
setWriteLockLevel(int level)
The numeric write lock level. |
void |
setWriteLockLevel(String level)
The default write lock level to use during non-optimistic transactions. |
Collection |
supportedOptions()
Return the set of JDO and Kodo option strings supported by this runtime. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.solarmetric.conf.Configuration |
addPropertyChangeListener, fromProperties, getLog, getValue, getValues, hasJava5, isFrozen, removePropertyChangeListener, setFrozen, setLogFactory, toProperties |
Methods inherited from interface java.beans.BeanInfo |
getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors |
Field Detail |
protected Object connectionFactory
protected Object connectionFactory2
protected ProxyManager proxyManager
protected FilterListener[] filterListeners
protected AggregateListener[] aggregateListeners
protected JDOMetaDataRepository metaRepos
protected QueryMetaDataRepository queryRepos
protected ClassResolver classResolver
protected com.solarmetric.license.License license
protected ManagedRuntime managedRuntime
protected RemoteCommitEventManager remoteEventManager
protected Transport pmServer
protected StreamDecorator[] streamDecs
protected KodoTimeWatchManager timeWatchManager
protected javax.management.MBeanServer mbeanServer
protected DataCacheManager dataCacheManager
protected DataCache[] dataCaches
protected Map queryCompilationCache
protected kodo.profile.KodoProfilingAgent profilingAgent
protected ManagementConfiguration managementConfig
protected OrphanedKeyAction orphanedKeyAction
protected final StringValue licenseKey
protected final PluginValue classResolverPlugin
protected final PluginValue pmPlugin
protected final PluginListValue dataCachePlugins
protected final IntValue dataCacheTimeout
protected final PluginValue queryCachePlugin
protected final PluginValue queryCompilationCachePlugin
protected final BooleanValue dynamicDataStructs
protected final PluginValue remoteProviderPlugin
protected final TransportValue pmServerPlugin
protected final PluginValue managedRuntimePlugin
protected final BooleanValue transactionMode
protected final IntValue connectionRetainMode
protected final IntValue objectLookupMode
protected final IntValue eagerFetchMode
protected final IntValue subclassFetchMode
protected final IntValue fetchBatchSize
protected final StringListValue fetchGroups
protected final IntValue flushBeforeQueries
protected final IntValue lockTimeout
protected final IntValue readLockLevel
protected final IntValue writeLockLevel
protected final BooleanValue restoreMutableValues
protected final BooleanValue retainValuesInOptimistic
protected final BooleanValue copyObjectIds
protected final PluginListValue filterListenerPlugins
protected final PluginListValue aggregateListenerPlugins
protected final StringListValue persistentClasses
protected final BooleanValue retryClassRegistration
protected final PluginValue proxyManagerPlugin
protected final StringValue connectionProperties
protected final StringValue connectionFactoryProperties
protected final StringValue connection2UserName
protected final StringValue connection2Password
protected final StringValue connection2URL
protected final StringValue connection2DriverName
protected final StringValue connection2Properties
protected final StringValue connectionFactory2Properties
protected final PluginValue pmFactoryPlugin
protected final BooleanValue optimistic
protected final BooleanValue retainValues
protected final BooleanValue restoreValues
protected final BooleanValue ignoreCache
protected final BooleanValue nontransactionalRead
protected final BooleanValue nontransactionalWrite
protected final BooleanValue multithreaded
protected final StringValue connectionUserName
protected final StringValue connectionPassword
protected final StringValue connectionURL
protected final StringValue connectionDriverName
protected final StringValue connectionFactoryName
protected final StringValue connectionFactory2Name
protected final PluginValue managementConfigPlugin
protected final PluginValue lockManagerPlugin
protected final PluginValue inverseManagerPlugin
protected final PluginValue orphanedKeyPlugin
protected final PluginValue logFactoryPlugin
protected final PluginValue metaDataLoaderPlugin
Constructor Detail |
public JDOConfigurationImpl()
kodo.properties
resource.public JDOConfigurationImpl(boolean loadDefaults)
loadDefaults
- whether to attempt to load the default
kodo.properties
resourceMethod Detail |
protected String getProductName()
ConfigurationImpl
solarmetric
.getProductName
in class ConfigurationImpl
com.solarmetric.conf.ConfigurationImpl
ConfigurationImpl.loadDefaults()
public Collection supportedOptions()
JDOConfiguration
supportedOptions
in interface JDOConfiguration
public void setLicenseKey(String licenseKey)
JDOConfiguration
setLicenseKey
in interface JDOConfiguration
public String getLicenseKey()
JDOConfiguration
getLicenseKey
in interface JDOConfiguration
public com.solarmetric.license.License getLicense()
JDOConfiguration
getLicense
in interface JDOConfiguration
protected int getEvaluationCapabilities()
protected com.solarmetric.license.Capabilities createCapabilities()
Capabilities
for this license type.public void setClassResolver(String classResolver)
JDOConfiguration
ClassResolver
to use for custom
class loading. Defaults to a spec-complicant resolution algorithm.setClassResolver
in interface JDOConfiguration
public String getClassResolver()
JDOConfiguration
ClassResolver
to use for custom
class loading. Defaults to a spec-complicant resolution algorithm.getClassResolver
in interface JDOConfiguration
public void setClassResolver(ClassResolver classResolver)
JDOConfiguration
ClassResolver
to use.setClassResolver
in interface JDOConfiguration
public ClassResolver getClassResolverInstance()
JDOConfiguration
ClassResolver
to use.getClassResolverInstance
in interface JDOConfiguration
public void setClassResolverInstance(ClassResolver classResolver)
public void setPersistenceManagerImpl(String persistenceManager)
JDOConfiguration
PersistenceManagerImpl
extension to
create.setPersistenceManagerImpl
in interface JDOConfiguration
public String getPersistenceManagerImpl()
JDOConfiguration
PersistenceManagerImpl
extension to
create.getPersistenceManagerImpl
in interface JDOConfiguration
public PersistenceManagerImpl newPersistenceManagerImplInstance()
JDOConfiguration
newPersistenceManagerImplInstance
in interface JDOConfiguration
public void setDataCache(String dataCache)
JDOConfiguration
DataCache
to use for level-2 data store caching.setDataCache
in interface JDOConfiguration
public String getDataCache()
JDOConfiguration
DataCache
to use for level-2 data store caching.getDataCache
in interface JDOConfiguration
public DataCache[] getDataCacheInstances()
JDOConfiguration
getDataCacheInstances
in interface JDOConfiguration
public DataCache newDataCacheInstance()
JDOConfiguration
newDataCacheInstance
in interface JDOConfiguration
public void setDataCacheTimeout(int dataCacheTimeout)
JDOConfiguration
setDataCacheTimeout
in interface JDOConfiguration
public void setDataCacheTimeout(Integer dataCacheTimeout)
JDOConfiguration
JDOConfiguration.setDataCacheTimeout(int)
.setDataCacheTimeout
in interface JDOConfiguration
public int getDataCacheTimeout()
JDOConfiguration
getDataCacheTimeout
in interface JDOConfiguration
public void setQueryCache(String queryCache)
JDOConfiguration
setQueryCache
in interface JDOConfiguration
public String getQueryCache()
JDOConfiguration
getQueryCache
in interface JDOConfiguration
public QueryCache newQueryCacheInstance()
JDOConfiguration
newQueryCacheInstance
in interface JDOConfiguration
public void setQueryCompilationCache(String queryCompilationCache)
JDOConfiguration
setQueryCompilationCache
in interface JDOConfiguration
public String getQueryCompilationCache()
JDOConfiguration
getQueryCompilationCache
in interface JDOConfiguration
public Map getQueryCompilationCacheInstance()
JDOConfiguration
Map
to use in caching query compilation
data using the configured plugin settings.getQueryCompilationCacheInstance
in interface JDOConfiguration
public boolean getDynamicDataStructs()
JDOConfiguration
getDynamicDataStructs
in interface JDOConfiguration
public void setDynamicDataStructs(boolean dynamic)
JDOConfiguration
setDynamicDataStructs
in interface JDOConfiguration
public void setDynamicDataStructs(Boolean dynamic)
JDOConfiguration
JDOConfiguration.setDynamicDataStructs(boolean)
.setDynamicDataStructs
in interface JDOConfiguration
public void setLockManager(String lockManager)
JDOConfiguration
setLockManager
in interface JDOConfiguration
public String getLockManager()
JDOConfiguration
getLockManager
in interface JDOConfiguration
public LockManager newLockManagerInstance()
JDOConfiguration
newLockManagerInstance
in interface JDOConfiguration
public void setInverseManager(String inverseManager)
JDOConfiguration
setInverseManager
in interface JDOConfiguration
public String getInverseManager()
JDOConfiguration
getInverseManager
in interface JDOConfiguration
public InverseManager newInverseManagerInstance()
JDOConfiguration
newInverseManagerInstance
in interface JDOConfiguration
public void setOrphanedKeyAction(String action)
JDOConfiguration
setOrphanedKeyAction
in interface JDOConfiguration
public String getOrphanedKeyAction()
JDOConfiguration
getOrphanedKeyAction
in interface JDOConfiguration
public OrphanedKeyAction getOrphanedKeyActionInstance()
JDOConfiguration
getOrphanedKeyActionInstance
in interface JDOConfiguration
public void setRemoteCommitProvider(String remoteCommitProvider)
JDOConfiguration
setRemoteCommitProvider
in interface JDOConfiguration
public String getRemoteCommitProvider()
JDOConfiguration
getRemoteCommitProvider
in interface JDOConfiguration
public RemoteCommitProvider newRemoteCommitProviderInstance()
JDOConfiguration
newRemoteCommitProviderInstance
in interface JDOConfiguration
public void setPersistenceManagerServer(String pmServer)
JDOConfiguration
setPersistenceManagerServer
in interface JDOConfiguration
public String getPersistenceManagerServer()
JDOConfiguration
getPersistenceManagerServer
in interface JDOConfiguration
public Transport getPersistenceManagerServerInstance()
JDOConfiguration
getPersistenceManagerServerInstance
in interface JDOConfiguration
public void setPersistenceManagerServer(Transport pmServer)
JDOConfiguration
setPersistenceManagerServer
in interface JDOConfiguration
public StreamDecorator[] getStreamDecorators()
JDOConfiguration
getStreamDecorators
in interface JDOConfiguration
public void setStreamDecorators(StreamDecorator[] streamDecs)
JDOConfiguration
setStreamDecorators
in interface JDOConfiguration
public void setTransactionMode(String transactionMode)
JDOConfiguration
local
: Perform transaction operations locally.managed
: Use managed environment's global
transactions.setTransactionMode
in interface JDOConfiguration
public String getTransactionMode()
JDOConfiguration
local
: Perform transaction operations locally.managed
: Use managed environment's global
transactions.getTransactionMode
in interface JDOConfiguration
public void setTransactionModeManaged(boolean managed)
JDOConfiguration
setTransactionModeManaged
in interface JDOConfiguration
public boolean isTransactionModeManaged()
JDOConfiguration
isTransactionModeManaged
in interface JDOConfiguration
public void setManagedRuntime(String managedRuntime)
JDOConfiguration
ManagedRuntime
to use for managed
environments.setManagedRuntime
in interface JDOConfiguration
public String getManagedRuntime()
JDOConfiguration
ManagedRuntime
to use for managed
environments.getManagedRuntime
in interface JDOConfiguration
public void setManagedRuntime(ManagedRuntime managedRuntime)
JDOConfiguration
setManagedRuntime
in interface JDOConfiguration
public ManagedRuntime getManagedRuntimeInstance()
JDOConfiguration
getManagedRuntimeInstance
in interface JDOConfiguration
public void setProxyManager(String proxyManager)
JDOConfiguration
ProxyManager
to use for second
class object proxies.setProxyManager
in interface JDOConfiguration
public String getProxyManager()
JDOConfiguration
ProxyManager
to use for second
class object proxies.getProxyManager
in interface JDOConfiguration
public void setProxyManager(ProxyManager proxyManager)
JDOConfiguration
ProxyManager
to use.setProxyManager
in interface JDOConfiguration
public ProxyManager getProxyManagerInstance()
JDOConfiguration
ProxyManager
to use.getProxyManagerInstance
in interface JDOConfiguration
public void setConnectionProperties(String connectionProperties)
JDOConfiguration
setConnectionProperties
in interface JDOConfiguration
public String getConnectionProperties()
JDOConfiguration
getConnectionProperties
in interface JDOConfiguration
public void setConnectionFactoryProperties(String connectionFactoryProperties)
JDOConfiguration
setConnectionFactoryProperties
in interface JDOConfiguration
public String getConnectionFactoryProperties()
JDOConfiguration
getConnectionFactoryProperties
in interface JDOConfiguration
public void setConnection2UserName(String connection2UserName)
JDOConfiguration
setConnection2UserName
in interface JDOConfiguration
public String getConnection2UserName()
JDOConfiguration
getConnection2UserName
in interface JDOConfiguration
public void setConnection2Password(String connection2Password)
JDOConfiguration
setConnection2Password
in interface JDOConfiguration
public String getConnection2Password()
JDOConfiguration
getConnection2Password
in interface JDOConfiguration
public void setConnection2URL(String connection2URL)
JDOConfiguration
setConnection2URL
in interface JDOConfiguration
public String getConnection2URL()
JDOConfiguration
getConnection2URL
in interface JDOConfiguration
public void setConnection2DriverName(String driverName)
JDOConfiguration
setConnection2DriverName
in interface JDOConfiguration
public String getConnection2DriverName()
JDOConfiguration
getConnection2DriverName
in interface JDOConfiguration
public void setConnection2Properties(String connection2Properties)
JDOConfiguration
setConnection2Properties
in interface JDOConfiguration
public String getConnection2Properties()
JDOConfiguration
getConnection2Properties
in interface JDOConfiguration
public void setConnectionFactory2Properties(String connectionFactory2Properties)
JDOConfiguration
setConnectionFactory2Properties
in interface JDOConfiguration
public String getConnectionFactory2Properties()
JDOConfiguration
getConnectionFactory2Properties
in interface JDOConfiguration
public void setPersistenceManagerFactoryClass(String pmFactoryClass)
JDOConfiguration
PersistenceManagerFactory
class name.setPersistenceManagerFactoryClass
in interface JDOConfiguration
public String getPersistenceManagerFactoryClass()
JDOConfiguration
PersistenceManagerFactory
class name.getPersistenceManagerFactoryClass
in interface JDOConfiguration
public void setOptimistic(boolean optimistic)
JDOConfiguration
setOptimistic
in interface JDOConfiguration
public void setOptimistic(Boolean optimistic)
JDOConfiguration
JDOConfiguration.setOptimistic(boolean)
.setOptimistic
in interface JDOConfiguration
public boolean getOptimistic()
JDOConfiguration
getOptimistic
in interface JDOConfiguration
public void setRetainValues(boolean retainValues)
JDOConfiguration
setRetainValues
in interface JDOConfiguration
public void setRetainValues(Boolean retainValues)
JDOConfiguration
JDOConfiguration.setRetainValues(boolean)
.setRetainValues
in interface JDOConfiguration
public boolean getRetainValues()
JDOConfiguration
getRetainValues
in interface JDOConfiguration
public void setRestoreValues(boolean restoreValues)
JDOConfiguration
setRestoreValues
in interface JDOConfiguration
public void setRestoreValues(Boolean restoreValues)
JDOConfiguration
JDOConfiguration.setRestoreValues(boolean)
.setRestoreValues
in interface JDOConfiguration
public boolean getRestoreValues()
JDOConfiguration
getRestoreValues
in interface JDOConfiguration
public void setIgnoreCache(boolean ignoreCache)
JDOConfiguration
setIgnoreCache
in interface JDOConfiguration
public void setIgnoreCache(Boolean ignoreCache)
JDOConfiguration
JDOConfiguration.setIgnoreCache(boolean)
.setIgnoreCache
in interface JDOConfiguration
public boolean getIgnoreCache()
JDOConfiguration
getIgnoreCache
in interface JDOConfiguration
public void setNontransactionalRead(boolean nontransactionalRead)
JDOConfiguration
setNontransactionalRead
in interface JDOConfiguration
public void setNontransactionalRead(Boolean nontransactionalRead)
JDOConfiguration
JDOConfiguration.setNontransactionalRead(boolean)
.setNontransactionalRead
in interface JDOConfiguration
public boolean getNontransactionalRead()
JDOConfiguration
getNontransactionalRead
in interface JDOConfiguration
public void setNontransactionalWrite(boolean nontransactionalWrite)
JDOConfiguration
setNontransactionalWrite
in interface JDOConfiguration
public void setNontransactionalWrite(Boolean nontransactionalWrite)
JDOConfiguration
JDOConfiguration.setNontransactionalWrite(boolean)
.setNontransactionalWrite
in interface JDOConfiguration
public boolean getNontransactionalWrite()
JDOConfiguration
getNontransactionalWrite
in interface JDOConfiguration
public void setMultithreaded(boolean multithreaded)
JDOConfiguration
setMultithreaded
in interface JDOConfiguration
public void setMultithreaded(Boolean multithreaded)
JDOConfiguration
JDOConfiguration.setMultithreaded(boolean)
.setMultithreaded
in interface JDOConfiguration
public boolean getMultithreaded()
JDOConfiguration
getMultithreaded
in interface JDOConfiguration
public void setConnectionUserName(String connectionUserName)
JDOConfiguration
setConnectionUserName
in interface JDOConfiguration
public String getConnectionUserName()
JDOConfiguration
getConnectionUserName
in interface JDOConfiguration
public void setConnectionPassword(String connectionPassword)
JDOConfiguration
setConnectionPassword
in interface JDOConfiguration
public String getConnectionPassword()
JDOConfiguration
getConnectionPassword
in interface JDOConfiguration
public void setConnectionURL(String connectionURL)
JDOConfiguration
setConnectionURL
in interface JDOConfiguration
public String getConnectionURL()
JDOConfiguration
getConnectionURL
in interface JDOConfiguration
public void setConnectionDriverName(String driverName)
JDOConfiguration
setConnectionDriverName
in interface JDOConfiguration
public String getConnectionDriverName()
JDOConfiguration
getConnectionDriverName
in interface JDOConfiguration
public void setConnectionFactoryName(String connectionFactoryName)
JDOConfiguration
setConnectionFactoryName
in interface JDOConfiguration
public String getConnectionFactoryName()
JDOConfiguration
getConnectionFactoryName
in interface JDOConfiguration
public void setConnectionFactory(Object connectionFactory)
JDOConfiguration
setConnectionFactory
in interface JDOConfiguration
public Object getConnectionFactory()
JDOConfiguration
getConnectionFactory
in interface JDOConfiguration
public void setConnectionFactory2Name(String connectionFactory2Name)
JDOConfiguration
setConnectionFactory2Name
in interface JDOConfiguration
public String getConnectionFactory2Name()
JDOConfiguration
getConnectionFactory2Name
in interface JDOConfiguration
public void setConnectionFactory2(Object factory)
JDOConfiguration
setConnectionFactory2
in interface JDOConfiguration
public Object getConnectionFactory2()
JDOConfiguration
getConnectionFactory2
in interface JDOConfiguration
public void setEagerFetchMode(String eagerFetchMode)
JDOConfiguration
parallel
unless the query is by-oid. Possible values are:
none
: When querying for an object, do not try to
select for related objects at the same time.join
: When querying for objects, also select for
1-1 relations in the configured fetch groups using joins.parallel
: When querying for objects, also select for
both 1-1 relations using joins and to-many relations using batched
selects.setEagerFetchMode
in interface JDOConfiguration
public String getEagerFetchMode()
JDOConfiguration
parallel
unless the query is by-oid. Possible values are:
none
: When querying for an object, do not try to
select for related objects at the same time.join
: When querying for objects, also select for
1-1 relations in the configured fetch groups using joins.parallel
: When querying for objects, also select for
both 1-1 relations using joins and to-many relations using batched
selects.getEagerFetchMode
in interface JDOConfiguration
public void setEagerFetchMode(int eagerFetchMode)
JDOConfiguration
setEagerFetchMode
in interface JDOConfiguration
public int getEagerFetchModeConstant()
JDOConfiguration
getEagerFetchModeConstant
in interface JDOConfiguration
public void setSubclassFetchMode(String subclassFetchMode)
JDOConfiguration
join
unless the query is by-oid. Possible values are:
none
: Only select base class data.join
: Select both base class and all possible subclass
data using joins.parallel
: Select for each possible subclass
separately.setSubclassFetchMode
in interface JDOConfiguration
public String getSubclassFetchMode()
JDOConfiguration
join
unless the query is by-oid. Possible values are:
none
: Only select base class data.join
: Select both base class and all possible subclass
data using joins.parallel
: Select for each possible subclass
separately.getSubclassFetchMode
in interface JDOConfiguration
public void setSubclassFetchMode(int subclassFetchMode)
JDOConfiguration
setSubclassFetchMode
in interface JDOConfiguration
public int getSubclassFetchModeConstant()
JDOConfiguration
getSubclassFetchModeConstant
in interface JDOConfiguration
public void setFetchBatchSize(int fetchBatchSize)
JDOConfiguration
setFetchBatchSize
in interface JDOConfiguration
public void setFetchBatchSize(Integer fetchBatchSize)
JDOConfiguration
JDOConfiguration.setFetchBatchSize(int)
.setFetchBatchSize
in interface JDOConfiguration
public int getFetchBatchSize()
JDOConfiguration
getFetchBatchSize
in interface JDOConfiguration
public void setFetchGroups(String fetchGroups)
JDOConfiguration
PersistenceManager
objects obtained from a
PersistenceManagerFactory
should be configured.setFetchGroups
in interface JDOConfiguration
public String getFetchGroups()
JDOConfiguration
PersistenceManager
objects obtained from a
PersistenceManagerFactory
should be configured.getFetchGroups
in interface JDOConfiguration
public String[] getFetchGroupsList()
JDOConfiguration
getFetchGroupsList
in interface JDOConfiguration
public void setFetchGroups(String[] fetchGroups)
JDOConfiguration
setFetchGroups
in interface JDOConfiguration
public void setFlushBeforeQueries(String flush)
JDOConfiguration
setFlushBeforeQueries
in interface JDOConfiguration
public String getFlushBeforeQueries()
JDOConfiguration
getFlushBeforeQueries
in interface JDOConfiguration
public void setFlushBeforeQueries(int flush)
JDOConfiguration
FetchConfiguration.QUERY_FLUSH_TRUE
,
FetchConfiguration.QUERY_FLUSH_FALSE
, or
FetchConfiguration.QUERY_FLUSH_WITH_CONNECTION
.setFlushBeforeQueries
in interface JDOConfiguration
public int getFlushBeforeQueriesConstant()
JDOConfiguration
FetchConfiguration.QUERY_FLUSH_TRUE
,
FetchConfiguration.QUERY_FLUSH_FALSE
, or
FetchConfiguration.QUERY_FLUSH_WITH_CONNECTION
, as determined
by parsing the string returned by JDOConfiguration.getFlushBeforeQueries()
.getFlushBeforeQueriesConstant
in interface JDOConfiguration
public void setLockTimeout(int timeout)
JDOConfiguration
setLockTimeout
in interface JDOConfiguration
public void setLockTimeout(Integer timeout)
JDOConfiguration
JDOConfiguration.setLockTimeout(int)
.setLockTimeout
in interface JDOConfiguration
public int getLockTimeout()
JDOConfiguration
getLockTimeout
in interface JDOConfiguration
public void setReadLockLevel(String level)
JDOConfiguration
read
.setReadLockLevel
in interface JDOConfiguration
public String getReadLockLevel()
JDOConfiguration
read
.getReadLockLevel
in interface JDOConfiguration
public void setReadLockLevel(int level)
JDOConfiguration
setReadLockLevel
in interface JDOConfiguration
public int getReadLockLevelConstant()
JDOConfiguration
getReadLockLevelConstant
in interface JDOConfiguration
public void setWriteLockLevel(String level)
JDOConfiguration
write
.setWriteLockLevel
in interface JDOConfiguration
public String getWriteLockLevel()
JDOConfiguration
write
.getWriteLockLevel
in interface JDOConfiguration
public void setWriteLockLevel(int level)
JDOConfiguration
setWriteLockLevel
in interface JDOConfiguration
public int getWriteLockLevelConstant()
JDOConfiguration
getWriteLockLevelConstant
in interface JDOConfiguration
public boolean getRestoreMutableValues()
JDOConfiguration
javax.jdo.RestoreValues
property must also
be set to true for second class values to be restored. Defaults to
false.getRestoreMutableValues
in interface JDOConfiguration
public void setRestoreMutableValues(boolean restore)
JDOConfiguration
javax.jdo.RestoreValues
property must also
be set to true for second class values to be restored. Defaults to
false.setRestoreMutableValues
in interface JDOConfiguration
public void setRestoreMutableValues(Boolean restore)
JDOConfiguration
JDOConfiguration.setRestoreMutableValues(boolean)
.setRestoreMutableValues
in interface JDOConfiguration
public boolean getRetainValuesInOptimistic()
JDOConfiguration
javax.jdo.option.RetainValues
property must also be
set to true for this property to take effect. Defaults to false.getRetainValuesInOptimistic
in interface JDOConfiguration
public void setRetainValuesInOptimistic(boolean retain)
JDOConfiguration
javax.jdo.option.RetainValues
property must also be
set to true for this property to take effect. Defaults to false.setRetainValuesInOptimistic
in interface JDOConfiguration
public void setRetainValuesInOptimistic(Boolean retain)
JDOConfiguration
JDOConfiguration.setRetainValuesInOptimistic(boolean)
.setRetainValuesInOptimistic
in interface JDOConfiguration
public boolean getCopyObjectIds()
JDOConfiguration
getCopyObjectIds
in interface JDOConfiguration
public void setCopyObjectIds(boolean copy)
JDOConfiguration
setCopyObjectIds
in interface JDOConfiguration
public void setCopyObjectIds(Boolean copy)
JDOConfiguration
setCopyObjectIds
in interface JDOConfiguration
public void setConnectionRetainMode(String connectionRetainMode)
JDOConfiguration
persistence-manager
: Each persistence manager obtains
a single connection and uses it until the persistence manager is
closed.transaction
: A connection is obtained when each
transaction begines (optimistic or datastore), and is released
when the transaction completes.on-demand
: Connections are obtained only when needed.
This is the default mode. It is equivalent to the previous option
when datastore transactions are used. For optimistic transactions,
though, it means that a connection will be retained only for
the duration of the data store commit process.setConnectionRetainMode
in interface JDOConfiguration
public String getConnectionRetainMode()
JDOConfiguration
persistence-manager
: Each persistence manager obtains
a single connection and uses it until the persistence manager is
closed.transaction
: A connection is obtained when each
transaction begins (optimistic or datastore), and is released
when the transaction completes.on-demand
: Connections are obtained only when needed.
This is the default mode. It is equivalent to the previous option
when datastore transactions are used. For optimistic transactions,
though, it means that a connection will be retained only for
the duration of the data store commit process.getConnectionRetainMode
in interface JDOConfiguration
public void setConnectionRetainMode(int connectionRetainMode)
JDOConfiguration
KodoPersistenceManager.CONN_RETAIN_PM
KodoPersistenceManager.CONN_RETAIN_TRANS
KodoPersistenceManager.CONN_RETAIN_DEMAND
setConnectionRetainMode
in interface JDOConfiguration
public int getConnectionRetainModeConstant()
JDOConfiguration
KodoPersistenceManager.CONN_RETAIN_PM
KodoPersistenceManager.CONN_RETAIN_TRANS
KodoPersistenceManager.CONN_RETAIN_DEMAND
getConnectionRetainModeConstant
in interface JDOConfiguration
public void setObjectLookupMode(String objectLookupMode)
JDOConfiguration
PersistenceManager.getObjectById(java.lang.Object, boolean)
with the validate parameter
set to false. Possible values are:
check
: Ensure that a database record for the given
oid exists, and load all fetch group fields.hollow
: Return a hollow object.setObjectLookupMode
in interface JDOConfiguration
public String getObjectLookupMode()
JDOConfiguration
PersistenceManager.getObjectById(java.lang.Object, boolean)
with the validate parameter
set to false. Possible values are:
check
: Ensure that a database record for the given
oid exists, and load all fetch group fields.hollow
: Return a hollow object.getObjectLookupMode
in interface JDOConfiguration
public void setObjectLookupMode(int objectLookupMode)
JDOConfiguration
setObjectLookupMode
in interface JDOConfiguration
public int getObjectLookupModeConstant()
JDOConfiguration
getObjectLookupModeConstant
in interface JDOConfiguration
public void setFilterListeners(String filterListeners)
JDOConfiguration
FilterListener
s to use.setFilterListeners
in interface JDOConfiguration
public String getFilterListeners()
JDOConfiguration
FilterListener
s to use.getFilterListeners
in interface JDOConfiguration
public void setFilterListeners(FilterListener[] listeners)
JDOConfiguration
setFilterListeners
in interface JDOConfiguration
public FilterListener[] getFilterListenerInstances()
JDOConfiguration
getFilterListenerInstances
in interface JDOConfiguration
public void setAggregateListeners(String aggregateListeners)
JDOConfiguration
AggregateListener
s to use.setAggregateListeners
in interface JDOConfiguration
public String getAggregateListeners()
JDOConfiguration
AggregateListener
s to use.getAggregateListeners
in interface JDOConfiguration
public void setAggregateListeners(AggregateListener[] listeners)
JDOConfiguration
setAggregateListeners
in interface JDOConfiguration
public AggregateListener[] getAggregateListenerInstances()
JDOConfiguration
getAggregateListenerInstances
in interface JDOConfiguration
public void setPersistentClasses(String persistentClasses)
JDOConfiguration
setPersistentClasses
in interface JDOConfiguration
public String getPersistentClasses()
JDOConfiguration
getPersistentClasses
in interface JDOConfiguration
public void setPersistentClasses(String[] persistentClasses)
JDOConfiguration
setPersistentClasses
in interface JDOConfiguration
public String[] getPersistentClassesList()
JDOConfiguration
getPersistentClassesList
in interface JDOConfiguration
public void setRetryClassRegistration(boolean retry)
JDOConfiguration
false
.setRetryClassRegistration
in interface JDOConfiguration
public void setRetryClassRegistration(Boolean retry)
JDOConfiguration
JDOConfiguration.setRetryClassRegistration(boolean)
.setRetryClassRegistration
in interface JDOConfiguration
public boolean getRetryClassRegistration()
JDOConfiguration
false
.getRetryClassRegistration
in interface JDOConfiguration
public void setMetaDataRepository(JDOMetaDataRepository metaRepos)
JDOConfiguration
setMetaDataRepository
in interface JDOConfiguration
public JDOMetaDataRepository getMetaDataRepository()
JDOConfiguration
getMetaDataRepository
in interface JDOConfiguration
public JDOMetaDataGenerator newMetaDataGenerator()
JDOConfiguration
JDOMetaDataGenerator
appropriate for use
in the current environment.newMetaDataGenerator
in interface JDOConfiguration
public void setQueryMetaDataRepository(QueryMetaDataRepository queryRepos)
JDOConfiguration
setQueryMetaDataRepository
in interface JDOConfiguration
public QueryMetaDataRepository getQueryMetaDataRepository()
JDOConfiguration
getQueryMetaDataRepository
in interface JDOConfiguration
public void setDataCacheManager(DataCacheManager dataCacheManager)
JDOConfiguration
setDataCacheManager
in interface JDOConfiguration
public DataCacheManager getDataCacheManager()
JDOConfiguration
getDataCacheManager
in interface JDOConfiguration
public void setRemoteCommitEventManager(RemoteCommitEventManager remoteEventManager)
JDOConfiguration
setRemoteCommitEventManager
in interface JDOConfiguration
public RemoteCommitEventManager getRemoteCommitEventManager()
JDOConfiguration
getRemoteCommitEventManager
in interface JDOConfiguration
public void setManagementConfiguration(String managementConfiguration)
JDOConfiguration
setManagementConfiguration
in interface JDOConfiguration
public String getManagementConfiguration()
JDOConfiguration
getManagementConfiguration
in interface JDOConfiguration
public javax.management.MBeanServer getMBeanServer()
JDOConfiguration
getMBeanServer
in interface JDOConfiguration
public KodoTimeWatchManager getTimeWatchManager()
JDOConfiguration
getTimeWatchManager
in interface JDOConfiguration
public com.solarmetric.profile.ExecutionContextNameProvider getExecutionContextNameProviderInstance()
JDOConfiguration
getExecutionContextNameProviderInstance
in interface JDOConfiguration
public kodo.profile.KodoProfilingAgent getProfilingAgentInstance()
JDOConfiguration
getProfilingAgentInstance
in interface JDOConfiguration
public void setLog(String log)
JDOConfiguration
setLog
in interface JDOConfiguration
public String getLog()
JDOConfiguration
getLog
in interface JDOConfiguration
public LogFactory getLogFactory()
Configuration
getLogFactory
in interface Configuration
getLogFactory
in class ConfigurationImpl
public void setMetaDataLoader(String loader)
JDOConfiguration
MetaDataLoader
implementation to usesetMetaDataLoader
in interface JDOConfiguration
public String getMetaDataLoader()
JDOConfiguration
MetaDataLoader
implementation to usegetMetaDataLoader
in interface JDOConfiguration
public MetaDataLoader newMetaDataLoader()
JDOConfiguration
MetaDataLoader
instance for a parser to usenewMetaDataLoader
in interface JDOConfiguration
public void close()
Configuration
close
in interface Configuration
close
in class ConfigurationImpl
protected boolean isInvalidProperty(String propName)
ConfigurationImpl
isInvalidProperty
in class ConfigurationImpl
public Log getConfigurationLog()
Configuration
getConfigurationLog
in interface Configuration
getConfigurationLog
in class ConfigurationImpl
public RuntimeException getConfigurationException(String msg, Throwable cause)
Configuration
getConfigurationException
in interface Configuration
getConfigurationException
in class ConfigurationImpl
|
SolarMetric Kodo JDO 3.3.5 generated on August 31 2005 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |