Package org.exist.xmldb

Examples of org.exist.xmldb.FullXmldbURI


    public static Configuration parse(final Configurable instance, final DBBroker broker,
            final Collection collection, final XmldbURI fileURL) throws ConfigurationException {
       
        Configuration conf = null;
        final FullXmldbURI key = getFullURI(broker.getBrokerPool(), collection.getURI().append(fileURL));
        conf = hotConfigs.get(key);
        if (conf != null) {
            return conf;
        }
View Full Code Here


        if (document == null) {
            return null;
        }
       
        Configuration conf;
        final FullXmldbURI key = getFullURI(document.getDatabase(), document.getURI());
       
        conf = hotConfigs.get(key);
        if (conf != null) {
            return conf;
        }
View Full Code Here

        final String data = writer.toString();
        if (data == null || data.length() == 0) {
            return null;
        }
       
        FullXmldbURI fullURI = null;
        final BrokerPool pool = broker.getBrokerPool();
        final TransactionManager transact = pool.getTransactionManager();
        Txn txn = null;
        LOG.info("Storing configuration " + collection.getURI() + "/" + uri);
        final Subject currentUser = broker.getSubject();
View Full Code Here

        }
    }

    public static synchronized void clear(final Database db) {
        for (final Entry<FullXmldbURI, Configuration> entry : hotConfigs.entrySet()) {
            final FullXmldbURI uri = entry.getKey();
            if (uri.getInstanceName().equals(db.getId())) {
                final Configuration conf = entry.getValue();
                if (conf instanceof ConfigurationImpl) {
                    ((ConfigurationImpl) conf).configuredObjectReference = null;
                }
            }
View Full Code Here

TOP

Related Classes of org.exist.xmldb.FullXmldbURI

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.