Class PooledRepositoryConnectionFactory

  • All Implemented Interfaces:
    RepositoryConnectionFactory, org.springframework.beans.factory.DisposableBean

    public class PooledRepositoryConnectionFactory
    extends Object
    implements org.springframework.beans.factory.DisposableBean, RepositoryConnectionFactory
    Uses the delegate factory to actually obtain connections and provides these connections, managing an internal pool.
    Since:
    4.0.0
    Author:
    Florian Kleedorfer
    • Constructor Detail

      • PooledRepositoryConnectionFactory

        public PooledRepositoryConnectionFactory​(RepositoryConnectionFactory delegateFactory,
                                                 org.apache.commons.pool2.impl.GenericObjectPoolConfig<org.eclipse.rdf4j.repository.RepositoryConnection> config)
    • Method Detail

      • destroy

        public void destroy()
                     throws Exception
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean
        Throws:
        Exception