|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OJBPersisterFactory
An interface to org.apache.ojb.broker.PersistenceBroker
factories.
OJB specific implementation of Persister is produced when
requesting an OJBPersister instance.
The factory is configured through a property file as specified in OJB properties .
| Field Summary | |
|---|---|
static String |
EXT_INITIALIZER_CLASS_NAME
The connection initializer attribute. |
static String |
PERSISTER_CLASS_NAME
The persister class name. |
| Method Summary | |
|---|---|
Map |
classDescriptorMap()
Returns a map of defined class descriptors. |
Map |
connectionDescriptorMap()
Returns a map of defined connection descriptors. |
ClassDescriptor |
getClassDescriptor(String className)
Gets the class descriptor of the specified class from the repository. |
JdbcConnectionDescriptor |
getConnectionDescriptor()
Gets the default connection descriptor from the repository. |
JdbcConnectionDescriptor |
getConnectionDescriptor(String key)
Gets the connection descriptor of the specified connection from the repository. |
JdbcConnectionDescriptor |
getConnectionDescriptor(String key,
String user,
String pswd)
Gets the connection descriptor of the specified connection for the given user from the repository. |
String |
getConnectionPlatform(String key)
Gets the DB platform of the specified connection. |
FieldDescriptor |
getFieldDescriptor(String className,
String attribute)
Gets the field descriptor of the specified class and attribute from the repository. |
String |
getLoggingFilePath()
Gets the logging file path. |
void |
setLoggingFilePath(String path)
Sets the logging file path. |
| 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 EXT_INITIALIZER_CLASS_NAME
static final String PERSISTER_CLASS_NAME
| Method Detail |
|---|
JdbcConnectionDescriptor getConnectionDescriptor()
Note that the descriptor is cloned from the original one.
JdbcConnectionDescriptor getConnectionDescriptor(String key)
Note that the descriptor is cloned from the original one.
key - the key i.e. the alias name of the connection.
JdbcConnectionDescriptor getConnectionDescriptor(String key,
String user,
String pswd)
Note that the descriptor is cloned from the original one.
key - the key i.e. the alias name of the connection.user - the username of the connection.pswd - the password of the connection.
Map connectionDescriptorMap()
String getConnectionPlatform(String key)
key - the key i.e. the alias name of the connection.
ClassDescriptor getClassDescriptor(String className)
className - the name of the class.
Map classDescriptorMap()
FieldDescriptor getFieldDescriptor(String className,
String attribute)
className - the name of the class.attribute - the name of the attribute.
String getLoggingFilePath()
void setLoggingFilePath(String path)
path - a logging file path.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||