
org.eclipse.rdf4j.spring.package-info Maven / Gradle / Ivy
/*******************************************************************************
* Copyright (c) 2021 Eclipse RDF4J contributors.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
/**
*
*
* Rdf4J-Spring
*
* Configures beans for Rdf4J access. Uses Spring's autoconfiguration mechanism at startup to determine which subsystems
* to use. The following example shows a spring configuration class enabling all features and using an in-memory
* repository. The DAO classes (subclasses of {@link org.eclipse.rdf4j.spring.dao.RDF4JDao Rdf4JDao}), assumed to be
* under com.example.your.app
*
, are autodetected.
*
*
*
* @Configuration
* @Import(Rdf4JConfig.class)
* @ComponentScan(
* value = "com.example.your.app",
* includeFilters =
* @ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, classes = Rdf4JDao.class)
* @TestPropertySource(
* properties = {
* "rdf4j.spring.repository.inmemory.enabled=true",
* "rdf4j.spring.pool.enabled=true",
* "rdf4j.spring.operationcache.enabled=true",
* "rdf4j.spring.operationlog.enabled=true",
* "rdf4j.spring.resultcache.enabled=true",
* "rdf4j.spring.tx.enabled=true",
* })
* public class Rdf4JStorageConfiguration {
*
* // beans, if any (you may not need any - all your DAOs could be autodetected and all other beans may
* // be configured elsewhere)
*
* }
*
*
*
* For more information on the subsystems, please refer to their package-infos:
*
*
* - {@link org.eclipse.rdf4j.spring.operationcache Rdf4J-Spring OperationCache}
*
- {@link org.eclipse.rdf4j.spring.operationlog Rdf4J-Spring OperationLog}
*
- {@link org.eclipse.rdf4j.spring.pool Rdf4J-Spring Pool}
*
- {@link org.eclipse.rdf4j.spring.repository Rdf4J-Spring Repository}
*
- {@link org.eclipse.rdf4j.spring.resultcache Rdf4J-Spring ResultCache}
*
- {@link org.eclipse.rdf4j.spring.tx Rdf4J-Spring Tx}
*
*
*
*
* This software has been developed in the project 'BIM-Interoperables Merkmalservice', funded by the Austrian Research
* Promotion Agency and Österreichische Bautechnik Veranstaltungs GmbH.
*
*
* @since 4.0.0
* @author Florian Kleedorfer
*/
package org.eclipse.rdf4j.spring;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy