org.exist.collections
Class CollectionConfigurationManager
java.lang.Object
org.exist.collections.CollectionConfigurationManager
- public class CollectionConfigurationManager
- extends java.lang.Object
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.
- Author:
- wolf
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFIG_COLLECTION
public static final java.lang.String CONFIG_COLLECTION
- See Also:
- Constant Field Values
CONFIG_COLLECTION_URI
public static final XmldbURI CONFIG_COLLECTION_URI
CollectionConfigurationManager
public CollectionConfigurationManager(DBBroker broker)
throws EXistException
addConfiguration
public void addConfiguration(Txn transaction,
DBBroker broker,
Collection collection,
java.lang.String config)
throws CollectionConfigurationException
- Add a new collection configuration. The XML document is passed as a string.
- Parameters:
broker
- collection
- the collection to which the configuration applies.config
- the xconf document as a String.
- Throws:
CollectionConfigurationException
Copyright (C) Wolfgang Meier. All rights reserved.