Package org.eclipse.rdf4j.spring


package org.eclipse.rdf4j.spring

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 Rdf4JDao), assumed to be under com.example.your.app , are autodetected.

 invalid input: '&#64'Configuration
 invalid input: '&#64'Import(Rdf4JConfig.class)
 invalid input: '&#64'ComponentScan(
         value = "com.example.your.app",
         includeFilters =
                 invalid input: '&#64'ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, classes = Rdf4JDao.class)
 invalid input: '&#64'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:

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