Package org.hibernate.boot.registry.selector

Examples of org.hibernate.boot.registry.selector.SimpleStrategyRegistrationImpl


  @SuppressWarnings("unchecked")
  public Iterable<StrategyRegistration> getStrategyRegistrations() {
    final List<StrategyRegistration> strategyRegistrations = new ArrayList<StrategyRegistration>();

    strategyRegistrations.add(
        new SimpleStrategyRegistrationImpl(
            RegionFactory.class,
            EhCacheRegionFactory.class,
            "ehcache",
            EhCacheRegionFactory.class.getName(),
            EhCacheRegionFactory.class.getSimpleName(),
            // legacy impl class name
            "org.hibernate.cache.EhCacheRegionFactory"
        )
    );

    strategyRegistrations.add(
        new SimpleStrategyRegistrationImpl(
            RegionFactory.class,
            SingletonEhCacheRegionFactory.class,
            "ehcache-singleton",
            SingletonEhCacheRegionFactory.class.getName(),
            SingletonEhCacheRegionFactory.class.getSimpleName(),
View Full Code Here

TOP

Related Classes of org.hibernate.boot.registry.selector.SimpleStrategyRegistrationImpl

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.