[jboss-cvs] JBossCache/src/org/jboss/cache ...
Brian Stansberry
brian.stansberry at jboss.com
Fri Jan 12 17:59:00 EST 2007
User: bstansberry
Date: 07/01/12 17:59:00
Modified: src/org/jboss/cache CacheImpl.java
Log:
Restore basic putForExternalRead function so EJB3 can be tested
Revision Changes Path
1.26 +6 -4 JBossCache/src/org/jboss/cache/CacheImpl.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CacheImpl.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/CacheImpl.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- CacheImpl.java 11 Jan 2007 13:49:07 -0000 1.25
+++ CacheImpl.java 12 Jan 2007 22:59:00 -0000 1.26
@@ -98,7 +98,7 @@
* @author <a href="mailto:manik at jboss.org">Manik Surtani (manik at jboss.org)</a>
* @author Brian Stansberry
* @author Daniel Huang (dhuang at jboss.org)
- * @version $Id: CacheImpl.java,v 1.25 2007/01/11 13:49:07 msurtani Exp $
+ * @version $Id: CacheImpl.java,v 1.26 2007/01/12 22:59:00 bstansberry Exp $
* <p/>
* @see <a href="http://labs.jboss.com/portal/jbosscache/docs">JBossCache doc</a>
*/
@@ -4100,10 +4100,12 @@
public void putForExternalRead(Fqn fqn, Object key, Object value)
{
- throw new UnsupportedOperationException("Not yet implemented.");
// TODO Implement this method PROPERLY as per JBCACHE-848
- // getInvocationContext().getOptionOverrides().setFailSilently(true);
- // put(fqn, key, value);
+ // NOTE: DO NOT disable this method prior to JBCACHE-848 being
+ // completed. Imperfect as it is, the impl below at least allows
+ // basic EJB3 testing with JBC 2.0.0
+ getInvocationContext().getOptionOverrides().setFailSilently(true);
+ put(fqn, key, value);
}
public boolean isStarted()
More information about the jboss-cvs-commits
mailing list