HHH-4028 - Move current cache-jbosscache2 module content to cache-jbosscache

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17024 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Steve Ebersole 2009-07-07 17:39:21 +00:00
parent 374fed2b84
commit e36b0c677e
6 changed files with 20 additions and 20 deletions

View File

@ -32,13 +32,13 @@ import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.hibernate.cache.jbc2.JBossCacheRegionFactory;
import org.hibernate.cache.jbc2.SharedJBossCacheRegionFactory;
import org.hibernate.cache.jbc2.builder.SharedCacheInstanceManager;
import org.hibernate.cache.jbc.JBossCacheRegionFactory;
import org.hibernate.cache.jbc.SharedJBossCacheRegionFactory;
import org.hibernate.cache.jbc.builder.SharedCacheInstanceManager;
import org.hibernate.cfg.Configuration;
import org.hibernate.cfg.Environment;
import org.hibernate.cfg.Settings;
import org.hibernate.test.tm.jbc2.BatchModeTransactionManagerLookup;
import org.hibernate.test.tm.jbc.BatchModeTransactionManagerLookup;
/**
* Utilities for cache testing.

View File

@ -146,7 +146,7 @@ TimestampsRegion buildTimestampsRegion(String regionName,
<para>As part of its startup process, the region factory delegates
responsibility for providing JBoss Cache instances to an
implementation of the
<literal>org.hibernate.cache.jbc2.CacheInstanceManager</literal>
<literal>org.hibernate.cache.jbc.CacheInstanceManager</literal>
interface. The region factory separately requests a JBoss Cache
instance for entities, one for collections, one for queries and one
for timestamps. Whether the <literal>CacheInstanceManager</literal>

View File

@ -795,7 +795,7 @@
Provide a set of named JBoss Cache configurations in an XML
file (or just use the default set included in the
<literal>jbc2-configs.xml</literal> file found in the
<literal>org.hibernate.cache.jbc2.builder</literal> package
<literal>org.hibernate.cache.jbc.builder</literal> package
in <literal>hibernate-jbosscache2.jar</literal>).
</para>
</listitem>
@ -871,7 +871,7 @@
Provide a set of named JGroups configurations in an XML file
(or just use the default set included in the
<literal>jgroups-stacks.xml</literal> file found in the
<literal>org.hibernate.cache.jbc2.builder</literal> package
<literal>org.hibernate.cache.jbc.builder</literal> package
in the <literal>hibernate-jbosscache2.jar</literal>).
</para>
</listitem>

View File

@ -88,8 +88,8 @@
configuration option.
</para>
<programlisting><![CDATA[hibernate.cache.region.factory_class=
org.hibernate.cache.jbc2.MultiplexedJBossCacheRegionFactory]]></programlisting>
<programlisting><![CDATA[<![CDATA[hibernate.cache.region.factory_class=
org.hibernate.cache.jbc.MultiplexedJBossCacheRegionFactory]]>]]></programlisting>
<para>
To determine the correct factory class, you must decide
@ -130,7 +130,7 @@
<variablelist>
<varlistentry>
<term><literal>org.hibernate.cache.jbc2.SharedJBossCacheRegionFactory</literal></term>
<term><literal>org.hibernate.cache.jbc.SharedJBossCacheRegionFactory</literal></term>
<listitem>
<para>
Instantiates a single JBoss Cache instance for use with all
@ -139,7 +139,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><literal>org.hibernate.cache.jbc2.JndiSharedJBossCacheRegionFactory</literal></term>
<term><literal>org.hibernate.cache.jbc.JndiSharedJBossCacheRegionFactory</literal></term>
<listitem>
<para>
Uses a single JBoss Cache instance for all cache data types.
@ -151,7 +151,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><literal>org.hibernate.cache.jbc2.MultiplexedJBossCacheRegionFactory</literal></term>
<term><literal>org.hibernate.cache.jbc.MultiplexedJBossCacheRegionFactory</literal></term>
<listitem>
<para>
Supports using multiple JBoss Cache instances with different
@ -163,7 +163,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><literal>org.hibernate.cache.jbc2.JndiMultiplexedJBossCacheRegionFactory</literal></term>
<term><literal>org.hibernate.cache.jbc.JndiMultiplexedJBossCacheRegionFactory</literal></term>
<listitem>
<para>
Functions like <literal>JndiMultiplexedJBossCacheRegionFactory</literal>,
@ -342,10 +342,10 @@
just configure the defaults, with query caching enabled:
</para>
<programlisting><![CDATA[hibernate.cache.use_second_level_cache=true
<programlisting><![CDATA[<![CDATA[hibernate.cache.use_second_level_cache=true
hibernate.cache.use_query_cache=true
hibernate.cache.region.factory_class=
org.hibernate.cache.jbc2.MultiplexedJBossCacheRegionFactory]]></programlisting>
org.hibernate.cache.jbc.MultiplexedJBossCacheRegionFactory]]>]]></programlisting>
<para>
You would end up using two JBoss Cache instances:
@ -976,7 +976,7 @@ hibernate.cache.region.factory_class=
<para>
The <literal>jgroups-stacks.xml</literal> file found in the
<literal>org.hibernate.cache.jbc2.builder</literal> package
<literal>org.hibernate.cache.jbc.builder</literal> package
in the <literal>hibernate-jbosscache2.jar</literal> provides a good
set of standard JGroups configurations; these should be suitable for
most needs. If you need to create your own configuration set, we

View File

@ -98,7 +98,7 @@
is the group communication library used by JBoss Cache for intra-cluster
communication.</para></footnote>, need to be on the classpath. The
<literal>hibernate-jbosscache2.jar</literal> includes standard
configuration files in the <literal>org.hibernate.cache.jbc2.builder</literal>
configuration files in the <literal>org.hibernate.cache.jbc.builder</literal>
package. The <literal>jbc2-configs.xml</literal> file is for JBoss
Cache and the <literal>jgroups-stacks.xml</literal> file is for JGroups.
See <xref linkend="jbc-config"/> and <xref linkend="jgroups-config"/>
@ -161,8 +161,8 @@
Second Level Cache implementation:
</para>
<programlisting><![CDATA[hibernate.cache.region.factory_class=
org.hibernate.cache.jbc2.MultiplexedJBossCacheRegionFactory]]></programlisting>
<programlisting><![CDATA[<![CDATA[hibernate.cache.region.factory_class=
org.hibernate.cache.jbc.MultiplexedJBossCacheRegionFactory]]>]]></programlisting>
<para>
There are a number of values that can be provided for the

View File

@ -732,7 +732,7 @@ Cat fritz = (Cat) iter.next();]]></programlisting>
</row>
<row>
<entry>JBoss Cache 2</entry>
<entry><literal>org.hibernate.cache.jbc2.JBossCacheRegionFactory</literal></entry>
<entry><literal>org.hibernate.cache.jbc.JBossCacheRegionFactory</literal></entry>
<entry>clustered (ip multicast), transactional</entry>
<entry>yes (replication or invalidation)</entry>
<entry>yes (clock sync req.)</entry>