[jboss-cvs] jboss-seam/src/main/org/jboss/seam/core ...
Norman Richards
norman.richards at jboss.com
Thu Feb 1 01:43:19 EST 2007
User: nrichards
Date: 07/02/01 01:43:19
Modified: src/main/org/jboss/seam/core PojoCache.java
Log:
JBSEAM-724: don't use mbean lifecycle methods for startup, use the service methods
Revision Changes Path
1.9 +5 -5 jboss-seam/src/main/org/jboss/seam/core/PojoCache.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: PojoCache.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/PojoCache.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- PojoCache.java 20 Jan 2007 05:17:41 -0000 1.8
+++ PojoCache.java 1 Feb 2007 06:43:19 -0000 1.9
@@ -1,4 +1,4 @@
-//$Id: PojoCache.java,v 1.8 2007/01/20 05:17:41 nrichards Exp $
+//$Id: PojoCache.java,v 1.9 2007/02/01 06:43:19 nrichards Exp $
package org.jboss.seam.core;
import static org.jboss.seam.annotations.Install.BUILT_IN;
@@ -36,16 +36,16 @@
log.debug("starting JBoss Cache");
cache = new org.jboss.cache.aop.PojoCache();
new PropertyConfigurator().configure(cache, cfgResourceName);
- cache.create();
- cache.start();
+ cache.createService();
+ cache.startService();
}
@Destroy
public void stop()
{
log.debug("stopping JBoss Cache");
- cache.stop();
- cache.destroy();
+ cache.stopService();
+ cache.destroyService();
cache = null;
}
More information about the jboss-cvs-commits
mailing list