Package org.hibernate.cache.jbc2

Examples of org.hibernate.cache.jbc2.SharedJBossCacheRegionFactory


     * Create a new OptimisticTransactionalAccess.
     *
     * @param region The region\ to which this is providing access
     */
    public OptimisticTransactionalAccess(EntityRegionImpl region) {
        super(region, new OptimisticTransactionalAccessDelegate(region));
    }
View Full Code Here


     * @param region The region to which this is providing access
     */
    public OptimisticTransactionalAccess(CollectionRegionImpl region) {
       
        // We use a different delegate than the non-optimistic superclass default
        super(region, new OptimisticTransactionalAccessDelegate(region));
    }
View Full Code Here

     * Create a new TransactionalAccess.
     *
     * @param region the region to which this provides access
     */
    public TransactionalAccess(CollectionRegionImpl region) {
        this(region, new TransactionalAccessDelegate(region));
    }
View Full Code Here

     * delegate to a class that encapsulates it
     */
    private final TransactionalAccessDelegate delegate;

    public TransactionalAccess(EntityRegionImpl region) {
        this(region, new TransactionalAccessDelegate(region));
    }
View Full Code Here

     * delegate to a class that encapsulates it
     */
    private final TransactionalAccessDelegate delegate;

    public TransactionalAccess(EntityRegionImpl region) {
        this(region, new TransactionalAccessDelegate(region));
    }
View Full Code Here

    /**
     * Create a new MultiplexedJBossCacheRegionFactory.
     *
     */
    public JndiMultiplexedJBossCacheRegionFactory() {
        super(new JndiMultiplexingCacheInstanceManager());
    }
View Full Code Here

    /**
     * Create a new MultiplexedJBossCacheRegionFactory.
     *
     */
    public JndiMultiplexedJBossCacheRegionFactory() {
        super(new JndiMultiplexingCacheInstanceManager());
    }
View Full Code Here

    /**
     * Create a new MultiplexedJBossCacheRegionFactory.
     *
     */
    public JndiSharedJBossCacheRegionFactory() {
        super(new JndiSharedCacheInstanceManager());
    }
View Full Code Here

    /**
     * Create a new MultiplexedJBossCacheRegionFactory.
     *
     */
    public MultiplexedJBossCacheRegionFactory() {
        super(new MultiplexingCacheInstanceManager());
    }
View Full Code Here

   
    public void testInjectedCacheInstanceManager() {

        Configuration cfg = CacheTestUtil.buildConfiguration("", JBossCacheRegionFactory.class, true, true);
       
        CacheInstanceManager cim = new MultiplexingCacheInstanceManager();
        JBossCacheRegionFactory regionFactory = new JBossCacheRegionFactory(cim);
       
        Settings settings = cfg.buildSettings();
        Properties properties = cfg.getProperties();
       
View Full Code Here

TOP

Related Classes of org.hibernate.cache.jbc2.SharedJBossCacheRegionFactory

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.