Author: jason.greene(a)jboss.com
Date: 2008-10-27 14:39:16 -0400 (Mon, 27 Oct 2008)
New Revision: 7018
Modified:
core/trunk/src/main/java/org/jboss/cache/config/parsing/XmlConfigurationParser2x.java
Log:
Make this stuff accessible to POJO Cache
Modified:
core/trunk/src/main/java/org/jboss/cache/config/parsing/XmlConfigurationParser2x.java
===================================================================
---
core/trunk/src/main/java/org/jboss/cache/config/parsing/XmlConfigurationParser2x.java 2008-10-27
17:33:57 UTC (rev 7017)
+++
core/trunk/src/main/java/org/jboss/cache/config/parsing/XmlConfigurationParser2x.java 2008-10-27
18:39:16 UTC (rev 7018)
@@ -250,7 +250,7 @@
}
}
- private static BuddyReplicationConfig parseBuddyReplicationConfig(Element element)
+ public static BuddyReplicationConfig parseBuddyReplicationConfig(Element element)
{
BuddyReplicationConfig brc = new BuddyReplicationConfig();
brc.setEnabled(XmlConfigHelper.readBooleanContents(element,
"buddyReplicationEnabled"));
@@ -299,7 +299,7 @@
return brc;
}
- private static CacheLoaderConfig parseCacheLoaderConfig(Element element)
+ public static CacheLoaderConfig parseCacheLoaderConfig(Element element)
{
CacheLoaderConfig clc = new CacheLoaderConfig();
clc.setPassivation(XmlConfigHelper.readBooleanContents(element,
"passivation"));