[jboss-cvs] JBossCache/src/org/jboss/cache/jmx ...
Brian Stansberry
brian.stansberry at jboss.com
Wed May 23 01:21:45 EDT 2007
User: bstansberry
Date: 07/05/23 01:21:45
Modified: src/org/jboss/cache/jmx LegacyConfiguration.java
Log:
Add getClusterConfig
Javadoc
Revision Changes Path
1.2 +21 -2 JBossCache/src/org/jboss/cache/jmx/LegacyConfiguration.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: LegacyConfiguration.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/jmx/LegacyConfiguration.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- LegacyConfiguration.java 11 May 2007 22:41:13 -0000 1.1
+++ LegacyConfiguration.java 23 May 2007 05:21:45 -0000 1.2
@@ -32,7 +32,7 @@
* Legacy configuration attributes from JBC 1.x.
*
* @author <a href="brian.stansberry at jboss.com">Brian Stansberry</a>
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
public interface LegacyConfiguration
{
@@ -86,6 +86,12 @@
*/
void setClusterProperties(String cluster_props);
+ /**
+ * Retrieves the cache loader configuration element
+ *
+ * @return whatever was passed to {@link #setCacheLoaderConfiguration(Element)}
+ * or <code>null</code> if nothing was
+ */
Element getCacheLoaderConfiguration();
void setCacheLoaderConfiguration(Element cache_loader_config);
@@ -98,6 +104,10 @@
void setSyncRollbackPhase(boolean sync_rollback_phase);
+ /**
+ * @return whatever was passed to {@link #setEvictionPolicyConfig(Element)}
+ * or <code>null</code> if nothing was
+ */
Element getEvictionPolicyConfig();
/**
@@ -106,6 +116,14 @@
void setEvictionPolicyConfig(Element config);
/**
+ * Gets the JGroups protocol stack config in W3C DOM Element form.
+ *
+ * @return the protocol stack, or <code>null</code> if it was not
+ * set via {@link #setClusterConfig(Element)}
+ */
+ Element getClusterConfig();
+
+ /**
* Convert a list of elements to the JG property string
*/
void setClusterConfig(Element config);
@@ -272,9 +290,10 @@
void setBuddyReplicationConfig(Element config);
/**
- * Retrieves the buddy replication cofiguration element
+ * Retrieves the buddy replication configuration element
*
- * @return config
+ * @return whatever was passed to {@link #setBuddyReplicationConfig(Element)}
+ * or <code>null</code> if nothing was
*/
Element getBuddyReplicationConfig();
More information about the jboss-cvs-commits
mailing list