当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 hibernate API Documentation 英文版文档
DeployedTreeCacheProvider (JBoss Hibernate API) - JBoss 4.0.1 sp1 hibernate API Documentation 英文版文档
org.jboss.hibernate.cache
Class DeployedTreeCacheProvider
java.lang.Object
org.jboss.hibernate.cache.DeployedTreeCacheProvider
- All Implemented Interfaces:
- net.sf.hibernate.cache.CacheProvider
- public class DeployedTreeCacheProvider
- extends Object
- implements net.sf.hibernate.cache.CacheProvider
A Hibernate CacheProvider implementation which knows how to
obtain a deployed JBossCache accessible via JNDI to be
used as the backing store.
- Version:
- $Revision: 1.1.2.2 $
- Author:
- Steve Ebersole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAMESPACE_PROP_NAME
public static final String NAMESPACE_PROP_NAME
- See Also:
- Constant Field Values
DeployedTreeCacheProvider
public DeployedTreeCacheProvider()
buildCache
public net.sf.hibernate.cache.Cache buildCache(String name,
Properties properties)
throws net.sf.hibernate.cache.CacheException
- Called by Hibernate in order to build the given named cache "region".
- Specified by:
buildCache
in interface net.sf.hibernate.cache.CacheProvider
- Parameters:
name
- The cache "region" name.properties
- The configuration properties.
- Returns:
- The constructed Cache wrapper around the jndi-deployed TreeCache.
- Throws:
net.sf.hibernate.cache.CacheException
- Generally indicates a problem locating the TreeCache.
nextTimestamp
public long nextTimestamp()
- Specified by:
nextTimestamp
in interface net.sf.hibernate.cache.CacheProvider
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.