[jboss-cvs] JBossCache/src/org/jboss/cache/util ...
Manik Surtani
msurtani at jboss.com
Wed Sep 6 11:30:55 EDT 2006
User: msurtani
Date: 06/09/06 11:30:55
Modified: src/org/jboss/cache/util MBeanConfigurator.java
Log:
Removed TreeCache dependency on ServiceMBeanSupport
Revision Changes Path
1.9 +3 -3 JBossCache/src/org/jboss/cache/util/MBeanConfigurator.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: MBeanConfigurator.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/util/MBeanConfigurator.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- MBeanConfigurator.java 6 Sep 2006 14:45:41 -0000 1.8
+++ MBeanConfigurator.java 6 Sep 2006 15:30:55 -0000 1.9
@@ -32,7 +32,7 @@
* JBoss cache management configurator
*
* @author Jerry Gauthier
- * @version $Id: MBeanConfigurator.java,v 1.8 2006/09/06 14:45:41 msurtani Exp $
+ * @version $Id: MBeanConfigurator.java,v 1.9 2006/09/06 15:30:55 msurtani Exp $
*/
public class MBeanConfigurator
{
@@ -57,7 +57,7 @@
Interceptor interceptor = null;
// get the cache's registration name
- String tmpName = cache.getServiceName() != null ? cache.getServiceName().toString() : null;
+ String tmpName = cache.getConfiguration().getServiceName();
if (tmpName == null)
{
tmpName = PREFIX + cache.getConfiguration().getClusterName();
@@ -122,7 +122,7 @@
Interceptor interceptor = null;
// get the cache's registration name
- String tmpName = cache.getServiceName() != null ? cache.getServiceName().toString() : null;
+ String tmpName = cache.getConfiguration().getServiceName();
if (tmpName == null)
{
tmpName = PREFIX + cache.getConfiguration().getClusterName();
More information about the jboss-cvs-commits
mailing list