[jbosscache-commits] JBoss Cache SVN: r5193 - core/trunk/src/main/resources/META-INF.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Tue Jan 22 13:05:44 EST 2008


Author: mircea.markus
Date: 2008-01-22 13:05:43 -0500 (Tue, 22 Jan 2008)
New Revision: 5193

Added:
   core/trunk/src/main/resources/META-INF/cacheserver-service-jmx.xml
   core/trunk/src/main/resources/META-INF/cacheserver-service-tcp.xml
Removed:
   core/trunk/src/main/resources/META-INF/tcp-cacheserver-service.xml
Log:
http://jira.jboss.com/jira/browse/JBCACHE-1269

Added: core/trunk/src/main/resources/META-INF/cacheserver-service-jmx.xml
===================================================================
--- core/trunk/src/main/resources/META-INF/cacheserver-service-jmx.xml	                        (rev 0)
+++ core/trunk/src/main/resources/META-INF/cacheserver-service-jmx.xml	2008-01-22 18:05:43 UTC (rev 5193)
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<server>
+
+   <classpath codebase="./lib" archives="jboss-cache.jar"/>
+
+   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
+          name="jboss.cache:service=TreeCache">
+
+      <depends>jboss:service=Naming</depends>
+      <depends>jboss:service=TransactionManager</depends>
+
+      <!-- Configure the TransactionManager -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.BatchModeTransactionManagerLookup
+      </attribute>
+
+
+      <!--
+          Node locking level : SERIALIZABLE
+                               REPEATABLE_READ (default)
+                               READ_COMMITTED
+                               READ_UNCOMMITTED
+                               NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+                           INVALIDATION_ASYNC
+                           INVALIDATION_SYNC
+      -->
+      <attribute name="CacheMode">LOCAL</attribute>
+
+      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
+           cluster in order to find each other.
+      -->
+      <attribute name="ClusterName">JBossCache-Cluster</attribute>
+
+      <!-- JGroups protocol stack properties NOT NEEDED since CacheMode is LOCAL -->
+
+      <!--
+         Indicate whether to use region based marshalling or not. Set this to true if you are running under a scoped
+         class loader, e.g., inside an application server. Default is "false".
+      -->
+      <attribute name="UseRegionBasedMarshalling">false</attribute>
+   </mbean>
+
+
+</server>

Copied: core/trunk/src/main/resources/META-INF/cacheserver-service-tcp.xml (from rev 5189, core/trunk/src/main/resources/META-INF/tcp-cacheserver-service.xml)
===================================================================
--- core/trunk/src/main/resources/META-INF/cacheserver-service-tcp.xml	                        (rev 0)
+++ core/trunk/src/main/resources/META-INF/cacheserver-service-tcp.xml	2008-01-22 18:05:43 UTC (rev 5193)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<server>
+
+   <classpath codebase="./lib" archives="jboss-cache.jar"/>
+
+   <mbean code="org.jboss.cache.loader.tcp.TcpCacheServer" name="jboss.cache:service=TcpCacheServer">
+      <depends optional-attribute-name="CacheJmxWrapper"
+               proxy-type="attribute">jboss.cache:service=TreeCache</depends>
+      <attribute name="BindAddress">${jboss.bind.address:localhost}</attribute>
+      <attribute name="Port">7500</attribute>
+   </mbean>
+
+</server>


Property changes on: core/trunk/src/main/resources/META-INF/cacheserver-service-tcp.xml
___________________________________________________________________
Name: svn:keywords
   + Author Date Id Revision
Name: svn:eol-style
   + native

Deleted: core/trunk/src/main/resources/META-INF/tcp-cacheserver-service.xml
===================================================================
--- core/trunk/src/main/resources/META-INF/tcp-cacheserver-service.xml	2008-01-22 17:56:08 UTC (rev 5192)
+++ core/trunk/src/main/resources/META-INF/tcp-cacheserver-service.xml	2008-01-22 18:05:43 UTC (rev 5193)
@@ -1,58 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<server>
-
-   <classpath codebase="./lib" archives="jboss-cache.jar"/>
-
-   <mbean code="org.jboss.cache.loader.tcp.TcpCacheServer" name="jboss.cache:service=TcpCacheServer">
-      <depends optional-attribute-name="CacheJmxWrapper"
-               proxy-type="attribute">jboss.cache:service=TreeCache</depends>
-      <attribute name="BindAddress">${jboss.bind.address:localhost}</attribute>
-      <attribute name="Port">7500</attribute>
-   </mbean>
-
-   <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
-          name="jboss.cache:service=TreeCache">
-
-      <depends>jboss:service=Naming</depends>
-      <depends>jboss:service=TransactionManager</depends>
-
-      <!-- Configure the TransactionManager -->
-      <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.BatchModeTransactionManagerLookup</attribute>
-
-
-      <!--
-          Node locking level : SERIALIZABLE
-                               REPEATABLE_READ (default)
-                               READ_COMMITTED
-                               READ_UNCOMMITTED
-                               NONE
-      -->
-      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
-
-      <!--
-           Valid modes are LOCAL
-                           REPL_ASYNC
-                           REPL_SYNC
-                           INVALIDATION_ASYNC
-                           INVALIDATION_SYNC
-      -->
-      <attribute name="CacheMode">LOCAL</attribute>
-
-      <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
-           cluster in order to find each other.
-      -->
-      <attribute name="ClusterName">JBossCache-Cluster</attribute>
-
-      <!-- JGroups protocol stack properties NOT NEEDED since CacheMode is LOCAL -->
-
-      <!--
-         Indicate whether to use region based marshalling or not. Set this to true if you are running under a scoped
-         class loader, e.g., inside an application server. Default is "false".
-      -->
-      <attribute name="UseRegionBasedMarshalling">false</attribute>
-   </mbean>
-   
-
-
-</server>




More information about the jbosscache-commits mailing list