|
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 |
Defines the properties necessary to configure runtime properties and
connect to a data source. There is a 1-1 relation between a configuration
and a PersistenceManagerFactory
.
All setter methods that take primitive parameters also have wrapper setter with the appropriate primitive wrapper. This is so the interface can be in accordance with the J2EE Connector Architecture.
Configuration
Field Summary | |
static String |
LOG_DATACACHE
Name of logger for messages from the data cache: kodo.DataCache . |
static String |
LOG_ENHANCE
Name of logger for enhancement-related messages: kodo.Enhance . |
static String |
LOG_METADATA
Name of logger for JDO metadata-related messages: kodo.MetaData . |
static String |
LOG_QUERY
Name of logger for JDO query logging: kodo.Query . |
static String |
LOG_REMOTE
Name of logger for messages from the remote persistence manager system: kodo.Remote . |
static String |
LOG_RUNTIME
Name of logger for messages from the runtime system: kodo.Runtime . |
static String |
LOG_TOOL
Name of logger for messages from the development tools: kodo.Tool . |
static String |
OPTION_EMBEDDED_COLLECTION_RELATION
Kodo option for runtimes that support collections of embedded relations to other persistence capable objects. |
static String |
OPTION_EMBEDDED_MAP_RELATION
Kodo option for runtimes that support maps of embedded relations to other persistence capable objects. |
static String |
OPTION_EMBEDDED_RELATION
Kodo option for runtimes that support embedded relations to other persistence capable objects. |
static String |
OPTION_ID_APPLICATION
JDO option for runtimes that support application identity. |
static String |
OPTION_ID_DATASTORE
JDO option for runtimes that support application identity. |
static String |
OPTION_INC_FLUSH
Kodo option for runtimes that support incremental flushing. |
static String |
OPTION_NONTRANS_READ
JDO option for runtimes that support nontransactional reads. |
static String |
OPTION_NULL_COLLECTION
JDO option for runtimes that support null collection or map fields. |
static String |
OPTION_OPTIMISTIC
JDO option for runtimes that support optimistic transactions. |
static String |
OPTION_QUERY_JDOQL
JDO option for JDOQL Support. |
static String |
OPTION_QUERY_SQL
JDO option for SQL Support. |
static String |
OPTION_TYPE_ARRAY
JDO option for runtimes that support persistent array fields. |
static String |
OPTION_TYPE_COLLECTION
JDO option for runtimes that support persistent collection fields. |
static String |
OPTION_TYPE_MAP
JDO option for runtimes that support persistent map fields. |
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 |
Method Summary | |
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. |
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
|
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. |
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(java.lang.Object, boolean) 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. |
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. |
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 listeners)
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 |
setConnection2DriverName(String driverName)
Class name of the non-XA connection driver. |
void |
setConnection2Password(String connectionPassword)
The password for the non-XA data store connection. |
void |
setConnection2Properties(String props)
These properties provide any additional information needed to establish non-XA connections. |
void |
setConnection2URL(String connectionURL)
The URL for the non-XA data store connection. |
void |
setConnection2UserName(String connectionUserName)
The user name for the non-XA data store connection. |
void |
setConnectionDriverName(String driverName)
Class name of the connection driver. |
void |
setConnectionFactory(Object factory)
The connection factory. |
void |
setConnectionFactory2(Object factory)
The non-XA connection factory. |
void |
setConnectionFactory2Name(String cf2Name)
The name for the second data store connection factory. |
void |
setConnectionFactory2Properties(String props)
Configuration properties for the non-XA connection factory. |
void |
setConnectionFactoryName(String cfName)
The name for the data store connection factory. |
void |
setConnectionFactoryProperties(String props)
Configuration properties for the connection factory. |
void |
setConnectionPassword(String connectionPassword)
The password for the data store connection. |
void |
setConnectionProperties(String props)
These properties provide any additional information needed to establish connections. |
void |
setConnectionRetainMode(int mode)
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 mode)
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 manager)
The data cache manager manages this configuration's cache instances. |
void |
setDataCacheTimeout(int timeout)
Default data cache timeout. |
void |
setDataCacheTimeout(Integer timeout)
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 mode)
Specifies the default eager fetch mode to use. |
void |
setFetchBatchSize(int size)
Set the size of the batch that will be pre-selected when accessing elements in a query or relationship. |
void |
setFetchBatchSize(Integer size)
Wrapper for JCA usage of setFetchBatchSize(int) . |
void |
setFetchGroups(String groups)
Sets a list of fetch groups with which all PersistenceManager objects obtained from a
PersistenceManagerFactory should be configured. |
void |
setFetchGroups(String[] names)
The separated list of fetch groups. |
void |
setFilterListeners(FilterListener[] listeners)
Set the query filter listeners. |
void |
setFilterListeners(String listeners)
A ','-separted list of the plugin strings of the query FilterListener s to use. |
void |
setFlushBeforeQueries(int flushBeforeQueries)
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 inverse)
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 runtime)
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 mdRepos)
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 ntRead)
The default NontransactionalRead setting for all PersistenceManager instances obtained from this factory. |
void |
setNontransactionalRead(Boolean ntRead)
Wrapper for JCA usage of setNontransactionalRead(boolean) . |
void |
setNontransactionalWrite(boolean ntWrite)
The default NontransactionalWrite setting for all PersistenceManager instances obtained from this factory. |
void |
setNontransactionalWrite(Boolean ntWrite)
Wrapper for JCA usage of setNontransactionalWrite(boolean) . |
void |
setObjectLookupMode(int mode)
Return the object lookup mode as one of these constants: KodoPersistenceManager.LOOKUP_CHECK
KodoPersistenceManager.LOOKUP_HOLLOW
|
void |
setObjectLookupMode(String mode)
Specifies the behavior of the persistence manager during PersistenceManager.getObjectById(java.lang.Object, boolean) 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 pmClass)
The plugin string of the PersistenceManagerImpl extension to
create. |
void |
setPersistenceManagerServer(String server)
Plugin string describing whether and how this factory will act as a server to remote persistence managers. |
void |
setPersistenceManagerServer(Transport transport)
The transport layer for remote persistence manager clients. |
void |
setPersistentClasses(String classes)
A ','-separted list of the class names of persistent types to register each time a persistence manager is obtained. |
void |
setPersistentClasses(String[] names)
The separated persistent class names. |
void |
setProxyManager(ProxyManager manager)
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 qccache)
The plugin to use for caching of query compilation data. |
void |
setQueryMetaDataRepository(QueryMetaDataRepository qiRepos)
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 manager)
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 warn)
Whether to warn and defer registration instead of throwing an exception when a registered persistent class cannot be processed. |
void |
setRetryClassRegistration(Boolean warn)
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 mode)
Specifies the default subclass fetch mode to use. |
void |
setTransactionMode(String mode)
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 interface com.solarmetric.conf.Configuration |
addPropertyChangeListener, close, fromProperties, getConfigurationException, getConfigurationLog, getLog, getLogFactory, 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 |
public static final String LOG_METADATA
kodo.MetaData
.public static final String LOG_ENHANCE
kodo.Enhance
.public static final String LOG_RUNTIME
kodo.Runtime
.public static final String LOG_QUERY
kodo.Query
.public static final String LOG_REMOTE
kodo.Remote
.public static final String LOG_DATACACHE
kodo.DataCache
.public static final String LOG_TOOL
kodo.Tool
.public static final String OPTION_NONTRANS_READ
public static final String OPTION_OPTIMISTIC
public static final String OPTION_ID_APPLICATION
public static final String OPTION_ID_DATASTORE
public static final String OPTION_NULL_COLLECTION
public static final String OPTION_QUERY_JDOQL
public static final String OPTION_QUERY_SQL
public static final String OPTION_TYPE_COLLECTION
public static final String OPTION_TYPE_MAP
public static final String OPTION_TYPE_ARRAY
public static final String OPTION_EMBEDDED_RELATION
public static final String OPTION_EMBEDDED_COLLECTION_RELATION
public static final String OPTION_EMBEDDED_MAP_RELATION
public static final String OPTION_INC_FLUSH
Method Detail |
public Collection supportedOptions()
public String getLicenseKey()
public void setLicenseKey(String licenseKey)
public com.solarmetric.license.License getLicense()
public String getClassResolver()
ClassResolver
to use for custom
class loading. Defaults to a spec-complicant resolution algorithm.public void setClassResolver(String classResolver)
ClassResolver
to use for custom
class loading. Defaults to a spec-complicant resolution algorithm.public ClassResolver getClassResolverInstance()
ClassResolver
to use.public void setClassResolver(ClassResolver classResolver)
ClassResolver
to use.public String getPersistenceManagerImpl()
PersistenceManagerImpl
extension to
create.public void setPersistenceManagerImpl(String pmClass)
PersistenceManagerImpl
extension to
create.public PersistenceManagerImpl newPersistenceManagerImplInstance()
public String getDataCache()
DataCache
to use for level-2 data store caching.public void setDataCache(String dataCache)
DataCache
to use for level-2 data store caching.public DataCache[] getDataCacheInstances()
public DataCache newDataCacheInstance()
public int getDataCacheTimeout()
public void setDataCacheTimeout(int timeout)
public void setDataCacheTimeout(Integer timeout)
setDataCacheTimeout(int)
.public String getQueryCache()
public void setQueryCache(String queryCache)
public QueryCache newQueryCacheInstance()
public String getQueryCompilationCache()
public void setQueryCompilationCache(String qccache)
public Map getQueryCompilationCacheInstance()
Map
to use in caching query compilation
data using the configured plugin settings.public boolean getDynamicDataStructs()
public void setDynamicDataStructs(boolean dynamic)
public void setDynamicDataStructs(Boolean dynamic)
setDynamicDataStructs(boolean)
.public String getLockManager()
public void setLockManager(String lockManager)
public LockManager newLockManagerInstance()
public String getInverseManager()
public void setInverseManager(String inverse)
public InverseManager newInverseManagerInstance()
public String getOrphanedKeyAction()
public void setOrphanedKeyAction(String action)
public OrphanedKeyAction getOrphanedKeyActionInstance()
public String getRemoteCommitProvider()
public void setRemoteCommitProvider(String remoteCommitProvider)
public RemoteCommitProvider newRemoteCommitProviderInstance()
public String getTransactionMode()
local
: Perform transaction operations locally.managed
: Use managed environment's global
transactions.public void setTransactionMode(String mode)
local
: Perform transaction operations locally.managed
: Use managed environment's global
transactions.public boolean isTransactionModeManaged()
public void setTransactionModeManaged(boolean managed)
public String getManagedRuntime()
ManagedRuntime
to use for managed
environments.public void setManagedRuntime(String managedRuntime)
ManagedRuntime
to use for managed
environments.public ManagedRuntime getManagedRuntimeInstance()
public void setManagedRuntime(ManagedRuntime runtime)
public String getProxyManager()
ProxyManager
to use for second
class object proxies.public void setProxyManager(String proxyManager)
ProxyManager
to use for second
class object proxies.public ProxyManager getProxyManagerInstance()
ProxyManager
to use.public void setProxyManager(ProxyManager manager)
ProxyManager
to use.public String getConnectionProperties()
public void setConnectionProperties(String props)
public String getConnectionFactoryProperties()
public void setConnectionFactoryProperties(String props)
public String getConnection2UserName()
public void setConnection2UserName(String connectionUserName)
public String getConnection2Password()
public void setConnection2Password(String connectionPassword)
public String getConnection2URL()
public void setConnection2URL(String connectionURL)
public String getConnection2DriverName()
public void setConnection2DriverName(String driverName)
public String getConnection2Properties()
public void setConnection2Properties(String props)
public String getConnectionFactory2Properties()
public void setConnectionFactory2Properties(String props)
public boolean getCopyObjectIds()
public void setCopyObjectIds(boolean copy)
public void setCopyObjectIds(Boolean copy)
public String getPersistenceManagerFactoryClass()
PersistenceManagerFactory
class name.public void setPersistenceManagerFactoryClass(String pmFactoryClass)
PersistenceManagerFactory
class name.public boolean getOptimistic()
public void setOptimistic(boolean optimistic)
public void setOptimistic(Boolean optimistic)
setOptimistic(boolean)
.public boolean getRetainValues()
public void setRetainValues(boolean retainValues)
public void setRetainValues(Boolean retainValues)
setRetainValues(boolean)
.public boolean getRestoreValues()
public void setRestoreValues(boolean restoreValues)
public void setRestoreValues(Boolean restoreValues)
setRestoreValues(boolean)
.public boolean getIgnoreCache()
public void setIgnoreCache(boolean ignoreCache)
public void setIgnoreCache(Boolean ignoreCache)
setIgnoreCache(boolean)
.public boolean getNontransactionalRead()
public void setNontransactionalRead(boolean ntRead)
public void setNontransactionalRead(Boolean ntRead)
setNontransactionalRead(boolean)
.public boolean getNontransactionalWrite()
public void setNontransactionalWrite(boolean ntWrite)
public void setNontransactionalWrite(Boolean ntWrite)
setNontransactionalWrite(boolean)
.public boolean getMultithreaded()
public void setMultithreaded(boolean multithreaded)
public void setMultithreaded(Boolean multithreaded)
setMultithreaded(boolean)
.public String getConnectionUserName()
public void setConnectionUserName(String connectionUserName)
public String getConnectionPassword()
public void setConnectionPassword(String connectionPassword)
public String getConnectionURL()
public void setConnectionURL(String connectionURL)
public String getConnectionDriverName()
public void setConnectionDriverName(String driverName)
public String getConnectionFactoryName()
public void setConnectionFactoryName(String cfName)
public Object getConnectionFactory()
public void setConnectionFactory(Object factory)
public String getConnectionFactory2Name()
public void setConnectionFactory2Name(String cf2Name)
public Object getConnectionFactory2()
public void setConnectionFactory2(Object factory)
public String getEagerFetchMode()
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.public void setEagerFetchMode(String mode)
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.public int getEagerFetchModeConstant()
public void setEagerFetchMode(int eagerFetchMode)
public String getSubclassFetchMode()
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.public void setSubclassFetchMode(String mode)
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.public int getSubclassFetchModeConstant()
public void setSubclassFetchMode(int subclassFetchMode)
public int getFetchBatchSize()
public void setFetchBatchSize(int size)
public void setFetchBatchSize(Integer size)
setFetchBatchSize(int)
.public String getFetchGroups()
PersistenceManager
objects obtained from a
PersistenceManagerFactory
should be configured.public void setFetchGroups(String groups)
PersistenceManager
objects obtained from a
PersistenceManagerFactory
should be configured.public String[] getFetchGroupsList()
public void setFetchGroups(String[] names)
public String getFlushBeforeQueries()
public void setFlushBeforeQueries(String flush)
public int getFlushBeforeQueriesConstant()
FetchConfiguration.QUERY_FLUSH_TRUE
,
FetchConfiguration.QUERY_FLUSH_FALSE
, or
FetchConfiguration.QUERY_FLUSH_WITH_CONNECTION
, as determined
by parsing the string returned by getFlushBeforeQueries()
.public void setFlushBeforeQueries(int flushBeforeQueries)
FetchConfiguration.QUERY_FLUSH_TRUE
,
FetchConfiguration.QUERY_FLUSH_FALSE
, or
FetchConfiguration.QUERY_FLUSH_WITH_CONNECTION
.public int getLockTimeout()
public void setLockTimeout(int timeout)
public void setLockTimeout(Integer timeout)
setLockTimeout(int)
.public String getReadLockLevel()
read
.public void setReadLockLevel(String level)
read
.public int getReadLockLevelConstant()
public void setReadLockLevel(int level)
public String getWriteLockLevel()
write
.public void setWriteLockLevel(String level)
write
.public int getWriteLockLevelConstant()
public void setWriteLockLevel(int level)
public boolean getRestoreMutableValues()
javax.jdo.RestoreValues
property must also
be set to true for second class values to be restored. Defaults to
false.public void setRestoreMutableValues(boolean restore)
javax.jdo.RestoreValues
property must also
be set to true for second class values to be restored. Defaults to
false.public void setRestoreMutableValues(Boolean restore)
setRestoreMutableValues(boolean)
.public void setRetainValuesInOptimistic(boolean retain)
javax.jdo.option.RetainValues
property must also be
set to true for this property to take effect. Defaults to false.public boolean getRetainValuesInOptimistic()
javax.jdo.option.RetainValues
property must also be
set to true for this property to take effect. Defaults to false.public void setRetainValuesInOptimistic(Boolean retain)
setRetainValuesInOptimistic(boolean)
.public String getConnectionRetainMode()
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.public void setConnectionRetainMode(String mode)
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.public int getConnectionRetainModeConstant()
KodoPersistenceManager.CONN_RETAIN_PM
KodoPersistenceManager.CONN_RETAIN_TRANS
KodoPersistenceManager.CONN_RETAIN_DEMAND
public void setConnectionRetainMode(int mode)
KodoPersistenceManager.CONN_RETAIN_PM
KodoPersistenceManager.CONN_RETAIN_TRANS
KodoPersistenceManager.CONN_RETAIN_DEMAND
public String getObjectLookupMode()
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.public void setObjectLookupMode(String mode)
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.public int getObjectLookupModeConstant()
public void setObjectLookupMode(int mode)
public String getFilterListeners()
FilterListener
s to use.public void setFilterListeners(String listeners)
FilterListener
s to use.public FilterListener[] getFilterListenerInstances()
public void setFilterListeners(FilterListener[] listeners)
public String getAggregateListeners()
AggregateListener
s to use.public void setAggregateListeners(String listeners)
AggregateListener
s to use.public AggregateListener[] getAggregateListenerInstances()
public void setAggregateListeners(AggregateListener[] listeners)
public String getPersistentClasses()
public void setPersistentClasses(String classes)
public String[] getPersistentClassesList()
public void setPersistentClasses(String[] names)
public boolean getRetryClassRegistration()
false
.public void setRetryClassRegistration(boolean warn)
false
.public void setRetryClassRegistration(Boolean warn)
setRetryClassRegistration(boolean)
.public JDOMetaDataRepository getMetaDataRepository()
public void setMetaDataRepository(JDOMetaDataRepository mdRepos)
public QueryMetaDataRepository getQueryMetaDataRepository()
public void setQueryMetaDataRepository(QueryMetaDataRepository qiRepos)
public DataCacheManager getDataCacheManager()
public void setDataCacheManager(DataCacheManager manager)
public RemoteCommitEventManager getRemoteCommitEventManager()
public void setRemoteCommitEventManager(RemoteCommitEventManager manager)
public String getPersistenceManagerServer()
public void setPersistenceManagerServer(String server)
public Transport getPersistenceManagerServerInstance()
public void setPersistenceManagerServer(Transport transport)
public StreamDecorator[] getStreamDecorators()
public void setStreamDecorators(StreamDecorator[] streamDecs)
public String getManagementConfiguration()
public void setManagementConfiguration(String managementConfiguration)
public javax.management.MBeanServer getMBeanServer()
public KodoTimeWatchManager getTimeWatchManager()
public kodo.profile.KodoProfilingAgent getProfilingAgentInstance()
public com.solarmetric.profile.ExecutionContextNameProvider getExecutionContextNameProviderInstance()
public void setLog(String log)
public String getLog()
public void setMetaDataLoader(String loader)
MetaDataLoader
implementation to usepublic String getMetaDataLoader()
MetaDataLoader
implementation to usepublic MetaDataLoader newMetaDataLoader()
MetaDataLoader
instance for a parser to usepublic JDOMetaDataGenerator newMetaDataGenerator()
JDOMetaDataGenerator
appropriate for use
in the current environment.
|
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 |