Package org.apache.jackrabbit.oak.plugins.blob

Examples of org.apache.jackrabbit.oak.plugins.blob.BlobStoreConfiguration.addProperty()


     *             the exception
     */
    public static DataStoreBlobStore getBlobStore() throws Exception {
        BlobStoreConfiguration config =
                BlobStoreConfiguration.newInstance().loadFromSystemProps();
        config.addProperty(
                BlobStoreConfiguration.PROP_BLOB_STORE_PROVIDER, DataStoreBlobStore.class.getName());
        config.addProperty("path", PATH + "datastore");
        return (DataStoreBlobStore) BlobStoreHelper.create(config).orNull();
    }
}
View Full Code Here


    public static DataStoreBlobStore getBlobStore() throws Exception {
        BlobStoreConfiguration config =
                BlobStoreConfiguration.newInstance().loadFromSystemProps();
        config.addProperty(
                BlobStoreConfiguration.PROP_BLOB_STORE_PROVIDER, DataStoreBlobStore.class.getName());
        config.addProperty("path", PATH + "datastore");
        return (DataStoreBlobStore) BlobStoreHelper.create(config).orNull();
    }
}
View Full Code Here

     *             the exception
     */
    public static AbstractBlobStore getBlobStore() throws Exception {
        BlobStoreConfiguration config =
                BlobStoreConfiguration.newInstance().loadFromSystemProps();
        config.addProperty(
                BlobStoreConfiguration.PROP_BLOB_STORE_PROVIDER, CloudBlobStore.class.getName());
        return (AbstractBlobStore) BlobStoreHelper.create(config).orNull();
    }
}
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.