Package dk.brics.jwig.server.cache

Examples of dk.brics.jwig.server.cache.CacheInterceptor


    /**
     * Build the session factory from the data in the configuration. This method should be called
     * when all persistent classes are added to the configuration.
     */
    public static void buildSessionFactory() {
        configuration.setInterceptor(new CacheInterceptor());
        ServiceRegistry serviceRegistry = new ServiceRegistryBuilder().applySettings(configuration.getProperties()).buildServiceRegistry();
        sessionFactory = configuration.buildSessionFactory(serviceRegistry);
    }
View Full Code Here

TOP

Related Classes of dk.brics.jwig.server.cache.CacheInterceptor

Copyright © 2018 www.massapicom. 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.