Package org.fcrepo.server.storage.lowlevel

Examples of org.fcrepo.server.storage.lowlevel.ILowlevelStorage


            startStatus(m_now);
            m_context =
                    ReadOnlyContext.getContext("utility", "fedoraAdmin", "", /* null, */
                    ReadOnlyContext.DO_OP);

            ILowlevelStorage llstore =
                    (ILowlevelStorage) m_server
                            .getModule("org.fcrepo.server.storage.lowlevel.ILowlevelStorage");
            try {
                llstore.rebuildObject();
                llstore.rebuildDatastream();
            } catch (LowlevelStorageException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            }

View Full Code Here


                try {
                    // looks good, so init the rebuilder
                    m_rebuilder.start(m_options);

                    // add each object in llstore
                    ILowlevelStorage llstore =
                            (ILowlevelStorage) getServer().getModule(
                                    llstoreInterface);
                    if (llstore == null) {
                        logger.error("No module/bean definition for " +
                                llstoreInterface);
                    } else {
                        logger.info("Loaded bean/module " + llstoreInterface +
                                " with impl " + llstore.getClass().getName());
                    }
                    Iterator<String> pids = ((IListable) llstore).listObjects();
                    int total = 0;
                    int errors = 0;
                    DODeserializer deser = new FOXML1_1DODeserializer();
View Full Code Here

TOP

Related Classes of org.fcrepo.server.storage.lowlevel.ILowlevelStorage

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.