[jboss-cvs] JBossCache/src-50/org/jboss/cache/pojo ...
Ben Wang
bwang at jboss.com
Fri Sep 8 03:52:54 EDT 2006
User: bwang
Date: 06/09/08 03:52:54
Modified: src-50/org/jboss/cache/pojo PojoCacheFactory.java
Log:
added toStart option
Revision Changes Path
1.3 +28 -23 JBossCache/src-50/org/jboss/cache/pojo/PojoCacheFactory.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: PojoCacheFactory.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src-50/org/jboss/cache/pojo/PojoCacheFactory.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- PojoCacheFactory.java 27 Jun 2006 05:25:43 -0000 1.2
+++ PojoCacheFactory.java 8 Sep 2006 07:52:54 -0000 1.3
@@ -12,12 +12,17 @@
/**
* Factory method to create a PojoCache instance.
*
- * @version $Id: PojoCacheFactory.java,v 1.1 2006/06/22 10:38:37 bwang Exp $
+ * @version $Id: PojoCacheFactory.java,v 1.2 2006/06/27 05:25:43 bwang Exp $
*/
public class PojoCacheFactory
{
public static PojoCache createInstance(String config)
{
- return new PojoCacheImpl(config);
+ return new PojoCacheImpl(config, false);
+ }
+
+ public static PojoCache createInstance(String config, boolean start)
+ {
+ return new PojoCacheImpl(config, start);
}
}
More information about the jboss-cvs-commits
mailing list