Package org.exist.collections

Examples of org.exist.collections.CollectionConfiguration


            org.exist.dom.DocumentImpl targetDoc) {
        this.broker      = broker;
        this.transaction = transaction;
        this.doc         = doc;
        this.targetDoc   = targetDoc;
        final CollectionConfiguration config = targetDoc.getCollection().getConfiguration(broker);
        if (config != null) {
            this.indexSpec = config.getIndexConfiguration();
        }
    }
View Full Code Here


        final Collection collection = broker.getCollection(uri);

        //initialize configurations watcher trigger
        if(collection != null) {
            final CollectionConfigurationManager manager = getConfigurationManager();
            final CollectionConfiguration collConf = manager.getOrCreateCollectionConfiguration(broker, collection);

            final DocumentTriggerProxy triggerProxy = new DocumentTriggerProxy(ConfigurationDocumentTrigger.class); //, collection.getURI());
            collConf.documentTriggers().add(triggerProxy);
        }
    }
View Full Code Here

TOP

Related Classes of org.exist.collections.CollectionConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.