|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exist.collections.CollectionConfigurationManager
Manages index configurations. Index configurations are stored in a collection
hierarchy below /db/system/config. CollectionConfigurationManager is called
by Collection to retrieve the
CollectionConfiguration instance for a given collection.
| Field Summary | |
static java.lang.String |
CONFIG_COLLECTION
|
| Constructor Summary | |
CollectionConfigurationManager(DBBroker broker)
|
|
| Method Summary | |
void |
addConfiguration(Txn transaction,
DBBroker broker,
Collection collection,
java.lang.String config)
Add a new collection configuration. |
protected CollectionConfiguration |
getConfiguration(DBBroker broker,
Collection collection)
Retrieve the collection configuration instance for the given collection. |
protected void |
invalidate(java.lang.String collectionPath)
Called by the collection cache if a collection is removed from the cache. |
protected void |
invalidateAll(java.lang.String collectionPath)
Notify the manager that a collection.xconf file has changed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String CONFIG_COLLECTION
| Constructor Detail |
public CollectionConfigurationManager(DBBroker broker)
throws EXistException
| Method Detail |
public void addConfiguration(Txn transaction,
DBBroker broker,
Collection collection,
java.lang.String config)
throws CollectionConfigurationException
broker - collection - the collection to which the configuration applies.config - the xconf document as a string.
CollectionConfigurationException
protected CollectionConfiguration getConfiguration(DBBroker broker,
Collection collection)
throws CollectionConfigurationException
broker - collection -
CollectionConfigurationExceptionprotected void invalidateAll(java.lang.String collectionPath)
collectionPath - protected void invalidate(java.lang.String collectionPath)
collectionPath -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||