|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XMLPersisterFactory
An interface to XML specific Persister factories. The
corresponding Persister implementation is
XMLPersister.
The XML configuration is loaded from a property file by using the following syntax:
## # One or more repsitory connection keys. # connection.key = 'key' connection.key = root ## # The default key to apply. # default.key = 'key' default.key = root ## # The path to the XML mapping file. # 'key'.mapping = 'path' root.mapping = tammi/root/castormapping.xml ## # The path to the XML repository record. # 'key'.repository = 'path' root.repository = tammi/root/castorrepository.rxml ## # The initial capacity of the repository. # 'key'.capacity = 'capacity' ## # The record length of the repository. # 'key'.record.length = 'reclen'
| Field Summary | |
|---|---|
static String |
CAPACITY_PROPERTY_SUFFIX
The capacity property suffix. |
static String |
CONNECTION_KEY_PROPERTY
The connection key property. |
static String |
DEFAULT_KEY_PROPERTY
The default key property. |
static String |
MAPPING_PROPERTY_SUFFIX
The mapping property suffix. |
static String |
RECORD_LENGTH_PROPERTY_SUFFIX
The record length property suffix. |
static String |
REPOSITORY_PROPERTY_SUFFIX
The repository property suffix. |
| Method Summary | |
|---|---|
String |
getDefaultConnectionKey()
Gets the key of the default connection. |
void |
setDefaultConnectionKey(String key)
Sets the key of the default connection. |
| Methods inherited from interface org.norther.tammi.core.base.ObjectFactory |
|---|
getInstance, getInstance, getInstance, getInstance, isLoaderSupported |
| Methods inherited from interface org.norther.tammi.core.config.Configurable |
|---|
addProperty, addProperty, clearProperties, containsProperty, getConfigKey, getProperties, getProperty, getPropertyFilePath, indexOfProperty, propertyMap, propertyMap, removeProperty, removeProperty, setConfigKey, setProperties, setProperty, setPropertyFilePath, setPropertyFilePath, storeProperties |
| Methods inherited from interface org.norther.tammi.core.cache.KeyCacheClient |
|---|
cacheKeySet, clearCaches, getCache, removeCache |
| Methods inherited from interface org.norther.tammi.core.cache.CacheClient |
|---|
clearCached, expireCached, expireFraction, getCache, isCachingDisabled, removeCache, setCachingDisabled |
| Methods inherited from interface org.norther.tammi.core.base.Refreshable |
|---|
getRefreshed, refresh |
| Methods inherited from interface org.norther.tammi.core.base.Startable |
|---|
isStarted, start, stop |
| Field Detail |
|---|
static final String CONNECTION_KEY_PROPERTY
static final String DEFAULT_KEY_PROPERTY
static final String MAPPING_PROPERTY_SUFFIX
static final String REPOSITORY_PROPERTY_SUFFIX
static final String CAPACITY_PROPERTY_SUFFIX
static final String RECORD_LENGTH_PROPERTY_SUFFIX
| Method Detail |
|---|
String getDefaultConnectionKey()
getDefaultConnectionKey in interface PersisterFactoryvoid setDefaultConnectionKey(String key)
setDefaultConnectionKey in interface PersisterFactorykey - the key of the default connection.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||