[jboss-cvs] JBossCache/src/org/jboss/cache/config ...
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/config Configuration.java
Log:
Removed TreeCache dependency on ServiceMBeanSupport
Revision Changes Path
1.17 +20 -0 JBossCache/src/org/jboss/cache/config/Configuration.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Configuration.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/config/Configuration.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- Configuration.java 6 Sep 2006 14:45:41 -0000 1.16
+++ Configuration.java 6 Sep 2006 15:30:54 -0000 1.17
@@ -79,6 +79,8 @@
private CacheMode cacheMode = CacheMode.LOCAL;
private boolean inactiveOnStartup = false;
+ private String serviceName;
+
private long initialStateRetrievalTimeout = 10000;
/**
@@ -498,6 +500,24 @@
this.muxServiceName = serviceName;
}
+ /**
+ * Retrieves the JMX service name to bind the cache to, if any.
+ */
+ public String getServiceName()
+ {
+ return serviceName;
+ }
+
+ /**
+ * Sets the JMX service name to bind the cache to.
+ *
+ * @param serviceName
+ */
+ public void setServiceName(String serviceName)
+ {
+ this.serviceName = serviceName;
+ }
+
public boolean equals(Object o)
{
if (this == o) return true;
More information about the jboss-cvs-commits
mailing list