|
SolarMetric Kodo JDO 3.0.3 generated on February 20 2004 | ||||||||
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_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 . |
Fields inherited from interface com.solarmetric.conf.Configuration |
ATTRIBUTE_ALLOWED_VALUES, 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. |
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_FETCH_NONE
FetchConfiguration.EAGER_FETCH_SINGLE
FetchConfiguration.EAGER_FETCH_MULTIPLE
|
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 KodoQuery.FLUSH_TRUE ,
KodoQuery.FLUSH_FALSE , or
KodoQuery.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. |
com.solarmetric.license.License |
getLicense()
Return the license for the set license key. |
String |
getLicenseKey()
The license key for Kodo. |
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 |
getManagementServer()
Get the ManagementServer plugin string. |
String |
getManagementUI()
Get the ManagementUI plugin string. |
Manager |
getManagerInstance()
Get the Manager instance associated with this configuration. |
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. |
boolean |
getOptimistic()
The default Optimistic setting for all PersistenceManager instances obtained from this factory. |
String |
getPersistenceManagerFactoryClass()
The PersistenceManagerFactory class name. |
String |
getPersistenceManagerImpl()
The plugin string of the PersistenceManagerImpl extension to
create. |
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. |
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. |
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. |
KodoTimeWatchManager |
getTimeWatchManager()
Get the TimeWatch Watchable for this configuration. |
String |
getTransactionMode()
Specifies the behavior of the transaction model. |
boolean |
isTransactionModeManaged()
Return whether managed transactions are being used. |
DataCache |
newDataCacheInstance()
Return a new data cache instance using the configured plugin settings. |
FetchConfiguration |
newFetchConfigurationInstance()
Return a new fetch configuration configured with the proper defaults. |
PersistenceManagerImpl |
newPersistenceManagerImplInstance(String user,
String pass)
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 |
setEagerFetchMode(int eagerFetchMode)
Set the eager fetch mode as one of the following symbolic constants: FetchConfiguration.EAGER_FETCH_NONE
FetchConfiguration.EAGER_FETCH_SINGLE
FetchConfiguration.EAGER_FETCH_MULTIPLE
|
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 KodoQuery.FLUSH_TRUE ,
KodoQuery.FLUSH_FALSE , or
KodoQuery.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 |
setLicenseKey(String licenseKey)
The license key for Kodo. |
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 |
setManagementServer(String managementServer)
Set the ManagementServer plugin string. |
void |
setManagementUI(String managementUI)
Set the ManagementUI plugin string. |
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 |
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 |
setPersistenceManagerFactoryClass(String pmFactoryClass)
The PersistenceManagerFactory class name. |
void |
setPersistenceManagerImpl(String pmClass)
The plugin string of the PersistenceManagerImpl extension to
create. |
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 queryache)
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 |
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 |
setTransactionMode(String mode)
Specifies the behavior of the transaction model. |
void |
setTransactionModeManaged(boolean managed)
Set whether managed transactions are being used. |
Methods inherited from interface com.solarmetric.conf.Configuration |
close, fromProperties, getLog, getLogFactory, getValue, getValues, isCaching, isFrozen, setCaching, setFrozen, setLog, 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_DATACACHE
kodo.DataCache
.public static final String LOG_TOOL
kodo.Tool
.Method Detail |
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(String user, String pass)
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 queryache)
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 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()
multiple
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.single
: When querying for objects, also select for
1-1 relations in the configured fetch groups when efficient.multiple
: When querying for objects, also select for
all relations in the configured fetch groups when efficient.
public void setEagerFetchMode(String mode)
multiple
. Possible values are:
none
: When querying for an object, do not try to
select for related objects at the same time.single
: When querying for objects, also select for
1-1 relations in the configured fetch groups when efficient.multiple
: When querying for objects, also select for
all relations in the configured fetch groups when efficient.
public int getEagerFetchModeConstant()
FetchConfiguration.EAGER_FETCH_NONE
FetchConfiguration.EAGER_FETCH_SINGLE
FetchConfiguration.EAGER_FETCH_MULTIPLE
public void setEagerFetchMode(int eagerFetchMode)
FetchConfiguration.EAGER_FETCH_NONE
FetchConfiguration.EAGER_FETCH_SINGLE
FetchConfiguration.EAGER_FETCH_MULTIPLE
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()
KodoQuery.FLUSH_TRUE
,
KodoQuery.FLUSH_FALSE
, or
KodoQuery.FLUSH_WITH_CONNECTION
, as determined by parsing the
string returned by getFlushBeforeQueries()
.public void setFlushBeforeQueries(int flushBeforeQueries)
KodoQuery.FLUSH_TRUE
,
KodoQuery.FLUSH_FALSE
, or
KodoQuery.FLUSH_WITH_CONNECTION
.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 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 JDOMetaDataRepository getMetaDataRepository()
public void setMetaDataRepository(JDOMetaDataRepository mdRepos)
public DataCacheManager getDataCacheManager()
public void setDataCacheManager(DataCacheManager manager)
public RemoteCommitEventManager getRemoteCommitEventManager()
public void setRemoteCommitEventManager(RemoteCommitEventManager manager)
public FetchConfiguration newFetchConfigurationInstance()
public Manager getManagerInstance()
public void setManagementServer(String managementServer)
public String getManagementServer()
public void setManagementUI(String managementUI)
public String getManagementUI()
public KodoTimeWatchManager getTimeWatchManager()
|
SolarMetric Kodo JDO 3.0.3 generated on February 20 2004 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |