[jboss-cvs] JBossAS SVN: r76359 - trunk/cluster/src/resources/jboss-cache-manager.sar/META-INF.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Jul 29 05:59:41 EDT 2008
Author: adrian at jboss.org
Date: 2008-07-29 05:59:41 -0400 (Tue, 29 Jul 2008)
New Revision: 76359
Added:
trunk/cluster/src/resources/jboss-cache-manager.sar/META-INF/jboss-cache-manager-jboss-beans.xml
Removed:
trunk/cluster/src/resources/jboss-cache-manager.sar/META-INF/jboss-cache-manager-beans.xml
Log:
[JBAS-5803] beans.xml -> jboss-beans.xml
Deleted: trunk/cluster/src/resources/jboss-cache-manager.sar/META-INF/jboss-cache-manager-beans.xml
===================================================================
--- trunk/cluster/src/resources/jboss-cache-manager.sar/META-INF/jboss-cache-manager-beans.xml 2008-07-29 09:58:47 UTC (rev 76358)
+++ trunk/cluster/src/resources/jboss-cache-manager.sar/META-INF/jboss-cache-manager-beans.xml 2008-07-29 09:59:41 UTC (rev 76359)
@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<deployment xmlns="urn:jboss:bean-deployer:2.0">
-
- <!-- Factory/registry for JBoss Cache and PojoCache instances used in the AS -->
- <bean name="CacheManager" class="org.jboss.ha.cachemanager.CacheManager">
-
- <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.cache:service=CacheManager", exposedInterface=org.jboss.ha.cachemanager.CacheManagerMBean.class, registerDirectly=true)</annotation>
-
- <!-- This doesn't seem to work, so the service binds itself for now
- <annotation>@org.jboss.aop.microcontainer.aspects.jndi.JndiBinding(name="java:CacheManager")</annotation>
- -->
- <property name="jndiName">java:CacheManager</property>
-
- <property name="configurationRegistry">
- <bean name="CacheConfigurationRegistry" class="org.jboss.ha.cachemanager.DependencyInjectedConfigurationRegistry">
- <property name="configResource">META-INF/jboss-cache-configs.xml</property>
- </bean>
- </property>
-
- <property name="channelFactory"><inject bean="JChannelFactory"/></property>
-
- <!-- Aliases for cache names. Allows caches to be shared across different client types -->
- <property name="configAliases">
- <map keyClass="java.lang.String" valueClass="java.lang.String">
- <!-- Use the HAPartition cache for ClusteredSSO caching -->
- <entry>
- <key>clustered-sso</key>
- <value>ha-partition</value>
- </entry>
- <!-- Handle the legacy name for the EJB3 SFSB cache -->
- <entry>
- <key>jboss.cache:service=EJB3SFSBClusteredCache</key>
- <value>sfsb-cache</value>
- </entry>
- <!-- Handle the legacy name for the EJB3 Entity cache -->
- <entry>
- <key>jboss.cache:service=EJB3EntityTreeCache</key>
- <value>pessimistic-shared</value>
- </entry>
- </map>
- </property>
-
- <!-- Start these caches as part of the start of this CacheManager
- <property name="eagerStartCaches">
- <set>
- <value>ha-partition</value>
- </set>
- </property>
- -->
-
- </bean>
-
-</deployment>
\ No newline at end of file
Copied: trunk/cluster/src/resources/jboss-cache-manager.sar/META-INF/jboss-cache-manager-jboss-beans.xml (from rev 76358, trunk/cluster/src/resources/jboss-cache-manager.sar/META-INF/jboss-cache-manager-beans.xml)
===================================================================
--- trunk/cluster/src/resources/jboss-cache-manager.sar/META-INF/jboss-cache-manager-jboss-beans.xml (rev 0)
+++ trunk/cluster/src/resources/jboss-cache-manager.sar/META-INF/jboss-cache-manager-jboss-beans.xml 2008-07-29 09:59:41 UTC (rev 76359)
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<deployment xmlns="urn:jboss:bean-deployer:2.0">
+
+ <!-- Factory/registry for JBoss Cache and PojoCache instances used in the AS -->
+ <bean name="CacheManager" class="org.jboss.ha.cachemanager.CacheManager">
+
+ <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.cache:service=CacheManager", exposedInterface=org.jboss.ha.cachemanager.CacheManagerMBean.class, registerDirectly=true)</annotation>
+
+ <!-- This doesn't seem to work, so the service binds itself for now
+ <annotation>@org.jboss.aop.microcontainer.aspects.jndi.JndiBinding(name="java:CacheManager")</annotation>
+ -->
+ <property name="jndiName">java:CacheManager</property>
+
+ <property name="configurationRegistry">
+ <bean name="CacheConfigurationRegistry" class="org.jboss.ha.cachemanager.DependencyInjectedConfigurationRegistry">
+ <property name="configResource">META-INF/jboss-cache-configs.xml</property>
+ </bean>
+ </property>
+
+ <property name="channelFactory"><inject bean="JChannelFactory"/></property>
+
+ <!-- Aliases for cache names. Allows caches to be shared across different client types -->
+ <property name="configAliases">
+ <map keyClass="java.lang.String" valueClass="java.lang.String">
+ <!-- Use the HAPartition cache for ClusteredSSO caching -->
+ <entry>
+ <key>clustered-sso</key>
+ <value>ha-partition</value>
+ </entry>
+ <!-- Handle the legacy name for the EJB3 SFSB cache -->
+ <entry>
+ <key>jboss.cache:service=EJB3SFSBClusteredCache</key>
+ <value>sfsb-cache</value>
+ </entry>
+ <!-- Handle the legacy name for the EJB3 Entity cache -->
+ <entry>
+ <key>jboss.cache:service=EJB3EntityTreeCache</key>
+ <value>pessimistic-shared</value>
+ </entry>
+ </map>
+ </property>
+
+ <!-- Start these caches as part of the start of this CacheManager
+ <property name="eagerStartCaches">
+ <set>
+ <value>ha-partition</value>
+ </set>
+ </property>
+ -->
+
+ </bean>
+
+</deployment>
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list