Examples of SailWrapper


Examples of org.openrdf.sail.helpers.SailWrapper

        final KiWiStore sail = new KiWiStore(config);
        KiWiTransactionalSail tsail = new KiWiTransactionalSail(sail);
        rsail = new KiWiReasoningSail(tsail, new ReasoningConfiguration());

        Sail wsail = new SailWrapper(rsail) {
            @Override
            public void shutDown() throws SailException {
                rsail.getEngine().shutdown(true);

                try {
View Full Code Here

Examples of org.openrdf.sail.helpers.SailWrapper

        this.kiwiConfig = kiwiConfig;
    }
   
    @Override
    protected Sail createSail() throws SailException {
        Sail store = new SailWrapper(new KiWiStore(kiwiConfig)) {
            @Override
            public void shutDown() throws SailException {
                try {
                    ((KiWiStore)getBaseSail()).getPersistence().dropDatabase();
                } catch (SQLException e) {
                    fail("SQL exception while deleting database");
                }

                super.shutDown();
            }
        };
        store.initialize();
        return store;
    }
View Full Code Here

Examples of org.openrdf.sail.helpers.SailWrapper

        this.kiwiConfig = kiwiConfig;
    }
   
    @Override
    protected Sail createSail() throws SailException {
        Sail store = new SailWrapper(new KiWiStore(kiwiConfig)) {
            @Override
            public void shutDown() throws SailException {
                try {
                    ((KiWiStore)getBaseSail()).getPersistence().dropDatabase();
                } catch (SQLException e) {
View Full Code Here

Examples of org.openrdf.sail.helpers.SailWrapper

     * @see org.openrdf.repository.RepositoryConnectionTest#createRepository()
     */
    @Override
    protected Repository createRepository() throws Exception {
        config.setDefaultContext(null);
        Sail store = new SailWrapper(new KiWiStore(config)) {
            @Override
            public void shutDown() throws SailException {
                try {
                    ((KiWiStore)getBaseSail()).getPersistence().dropDatabase();
                } catch (SQLException e) {
View Full Code Here

Examples of org.openrdf.sail.helpers.SailWrapper

        final KiWiStore sail = new KiWiStore(config);
        KiWiTransactionalSail tsail = new KiWiTransactionalSail(sail);
        rsail = new KiWiReasoningSail(tsail, new ReasoningConfiguration());

        Sail wsail = new SailWrapper(rsail) {
            @Override
            public void shutDown() throws SailException {
                rsail.getEngine().shutdown(true);

                try {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.