org.jboss.hibernate.jbc.cacheprovider
Class OptimisticJndiBoundTreeCacheProvider
java.lang.Object
org.hibernate.cache.AbstractJndiBoundCacheProvider
org.jboss.hibernate.jbc.cacheprovider.JndiBoundTreeCacheProvider
org.jboss.hibernate.jbc.cacheprovider.OptimisticJndiBoundTreeCacheProvider
- All Implemented Interfaces:
- org.hibernate.cache.CacheProvider
Deprecated. JndiBoundTreeCacheProvider supports both optimistic and pessimistic
cache configurations.
public class OptimisticJndiBoundTreeCacheProvider
- extends JndiBoundTreeCacheProvider
Trivial JndiBoundTreeCacheProvider subclass that logs a warning in
prepare if the underlying JBoss Cache
is not configured for optimistic locking. Like the superclass,
will provide working Cache implementations whether JBoss Cache is
configured for optimistic locking or not; the only added behavior
is the logging of the warning if the JBoss Cache configuration doesn't
match the intent implied by the use of this class.
- Author:
- Galder Zamarreno, Brian Stansberry
| Methods inherited from class org.hibernate.cache.AbstractJndiBoundCacheProvider |
getCache, release, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OptimisticJndiBoundTreeCacheProvider
public OptimisticJndiBoundTreeCacheProvider()
- Deprecated.
prepare
public void prepare(Properties properties)
throws org.hibernate.cache.CacheException
- Deprecated.
- Overrides:
prepare in class JndiBoundTreeCacheProvider
- Throws:
org.hibernate.cache.CacheException
Copyright © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.