[seam-commits] Seam SVN: r8763 - in trunk/src/main: org/jboss/seam/cache and 1 other directory.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Aug 21 09:51:55 EDT 2008


Author: pete.muir at jboss.org
Date: 2008-08-21 09:51:55 -0400 (Thu, 21 Aug 2008)
New Revision: 8763

Modified:
   trunk/src/main/META-INF/components.xml
   trunk/src/main/org/jboss/seam/cache/EhCacheProvider.java
   trunk/src/main/org/jboss/seam/cache/JbossCache2Provider.java
   trunk/src/main/org/jboss/seam/cache/JbossCacheProvider.java
   trunk/src/main/org/jboss/seam/cache/JbossPojoCacheProvider.java
Log:
Import for cache namespace, and make cache components @AutoCreate

Modified: trunk/src/main/META-INF/components.xml
===================================================================
--- trunk/src/main/META-INF/components.xml	2008-08-21 13:51:08 UTC (rev 8762)
+++ trunk/src/main/META-INF/components.xml	2008-08-21 13:51:55 UTC (rev 8763)
@@ -4,6 +4,7 @@
             xsi:schemaLocation="http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.1.xsd">
 
   <import>org.jboss.seam.core</import>
+  <import>org.jboss.seam.cache</import>
   <import>org.jboss.seam.transaction</import>
   <import>org.jboss.seam.framework</import>
   <import>org.jboss.seam.web</import>

Modified: trunk/src/main/org/jboss/seam/cache/EhCacheProvider.java
===================================================================
--- trunk/src/main/org/jboss/seam/cache/EhCacheProvider.java	2008-08-21 13:51:08 UTC (rev 8762)
+++ trunk/src/main/org/jboss/seam/cache/EhCacheProvider.java	2008-08-21 13:51:55 UTC (rev 8763)
@@ -6,6 +6,7 @@
 import net.sf.ehcache.CacheManager;
 import net.sf.ehcache.Element;
 
+import org.jboss.seam.annotations.AutoCreate;
 import org.jboss.seam.annotations.Create;
 import org.jboss.seam.annotations.Destroy;
 import org.jboss.seam.annotations.Install;
@@ -26,6 +27,7 @@
 @Scope(STATELESS)
 @BypassInterceptors
 @Install(value = false, precedence = BUILT_IN, classDependencies="net.sf.ehcache.Cache")
+ at AutoCreate
 public class EhCacheProvider extends CacheProvider<CacheManager>
 {
 

Modified: trunk/src/main/org/jboss/seam/cache/JbossCache2Provider.java
===================================================================
--- trunk/src/main/org/jboss/seam/cache/JbossCache2Provider.java	2008-08-21 13:51:08 UTC (rev 8762)
+++ trunk/src/main/org/jboss/seam/cache/JbossCache2Provider.java	2008-08-21 13:51:55 UTC (rev 8763)
@@ -6,6 +6,7 @@
 import org.jboss.cache.Cache;
 import org.jboss.cache.CacheFactory;
 import org.jboss.cache.DefaultCacheFactory;
+import org.jboss.seam.annotations.AutoCreate;
 import org.jboss.seam.annotations.Create;
 import org.jboss.seam.annotations.Destroy;
 import org.jboss.seam.annotations.Install;
@@ -27,6 +28,7 @@
 @Scope(APPLICATION)
 @BypassInterceptors
 @Install(precedence = BUILT_IN, classDependencies="org.jboss.cache.Cache")
+ at AutoCreate
 public class JbossCache2Provider extends AbstractJBossCacheProvider<Cache>
 {
 

Modified: trunk/src/main/org/jboss/seam/cache/JbossCacheProvider.java
===================================================================
--- trunk/src/main/org/jboss/seam/cache/JbossCacheProvider.java	2008-08-21 13:51:08 UTC (rev 8762)
+++ trunk/src/main/org/jboss/seam/cache/JbossCacheProvider.java	2008-08-21 13:51:55 UTC (rev 8763)
@@ -7,6 +7,7 @@
 import org.jboss.cache.Node;
 import org.jboss.cache.PropertyConfigurator;
 import org.jboss.cache.TreeCache;
+import org.jboss.seam.annotations.AutoCreate;
 import org.jboss.seam.annotations.Create;
 import org.jboss.seam.annotations.Destroy;
 import org.jboss.seam.annotations.Install;
@@ -27,6 +28,7 @@
 @Scope(APPLICATION)
 @BypassInterceptors
 @Install(precedence = FRAMEWORK, classDependencies="org.jboss.cache.TreeCache")
+ at AutoCreate
 public class JbossCacheProvider extends AbstractJBossCacheProvider<TreeCache>
 {
 

Modified: trunk/src/main/org/jboss/seam/cache/JbossPojoCacheProvider.java
===================================================================
--- trunk/src/main/org/jboss/seam/cache/JbossPojoCacheProvider.java	2008-08-21 13:51:08 UTC (rev 8762)
+++ trunk/src/main/org/jboss/seam/cache/JbossPojoCacheProvider.java	2008-08-21 13:51:55 UTC (rev 8763)
@@ -5,6 +5,7 @@
 
 import org.jboss.cache.CacheException;
 import org.jboss.cache.aop.PojoCache;
+import org.jboss.seam.annotations.AutoCreate;
 import org.jboss.seam.annotations.Create;
 import org.jboss.seam.annotations.Destroy;
 import org.jboss.seam.annotations.Install;
@@ -25,6 +26,7 @@
 @Scope(APPLICATION)
 @BypassInterceptors
 @Install(value = false, precedence = BUILT_IN, classDependencies="org.jboss.cache.aop.PojoCache")
+ at AutoCreate
 public class JbossPojoCacheProvider extends AbstractJBossCacheProvider<PojoCache>
 {
 




More information about the seam-commits mailing list