[jboss-cvs] JBossAS SVN: r75435 - in projects/jboss-mdr/trunk: src/main/org/jboss/metadata/plugins/cache and 1 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Jul 7 07:42:28 EDT 2008


Author: adrian at jboss.org
Date: 2008-07-07 07:42:28 -0400 (Mon, 07 Jul 2008)
New Revision: 75435

Removed:
   projects/jboss-mdr/trunk/src/main/org/jboss/metadata/plugins/cache/JBossCacheCache.java
   projects/jboss-mdr/trunk/src/main/org/jboss/metadata/plugins/cache/JBossCacheCacheFactory.java
   projects/jboss-mdr/trunk/src/main/org/jboss/metadata/plugins/cache/JBossCacheCacheItem.java
   projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCCacheContextWithFactoryBasicAnnotationsUnitTestCase.java
   projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCCacheContextWithFactoryBasicMetaDataUnitTestCase.java
   projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCCacheMetaDataContextWithFactoryAnnotationUnitTestCase.java
   projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCCacheMetaDataContextWithFactoryMetaDataUnitTestCase.java
   projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCCacheParentContextWithFactoryBasicAnnotationsUnitTestCase.java
   projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCCacheParentContextWithFactoryBasicMetaDataUnitTestCase.java
   projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCSimpleCacheMetaDataContextWithFactoryUnitTestCase.java
   projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCSimpleCacheParentMetaDataContextWithFactoryUnitTestCase.java
Modified:
   projects/jboss-mdr/trunk/pom.xml
   projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/CacheContextTestSuite.java
Log:
Remove the bogus dependency on jboss cache

Modified: projects/jboss-mdr/trunk/pom.xml
===================================================================
--- projects/jboss-mdr/trunk/pom.xml	2008-07-07 11:05:22 UTC (rev 75434)
+++ projects/jboss-mdr/trunk/pom.xml	2008-07-07 11:42:28 UTC (rev 75435)
@@ -85,11 +85,6 @@
       <artifactId>jboss-common-core</artifactId>
       <version>2.2.5.GA</version>
     </dependency>
-    <dependency>
-      <groupId>org.jboss.cache</groupId>
-      <artifactId>jbosscache-core</artifactId>
-      <version>2.1.1.GA</version>
-    </dependency>
     <!-- Test dependencies -->
     <dependency>
       <groupId>org.jboss</groupId>
@@ -138,4 +133,4 @@
       <scope>test</scope>
     </dependency>
   </dependencies>
-</project>
\ No newline at end of file
+</project>

Deleted: projects/jboss-mdr/trunk/src/main/org/jboss/metadata/plugins/cache/JBossCacheCache.java
===================================================================
--- projects/jboss-mdr/trunk/src/main/org/jboss/metadata/plugins/cache/JBossCacheCache.java	2008-07-07 11:05:22 UTC (rev 75434)
+++ projects/jboss-mdr/trunk/src/main/org/jboss/metadata/plugins/cache/JBossCacheCache.java	2008-07-07 11:42:28 UTC (rev 75435)
@@ -1,64 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2006, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-package org.jboss.metadata.plugins.cache;
-
-/**
- * JBoss Cache cache.
- *
- * @author <a href="mailto:ales.justin at jboss.com">Ales Justin</a>
- */
-public class JBossCacheCache<K, V> implements Cache<K, V>
-{
-   private String fqn;
-   private org.jboss.cache.Cache<K,V> cache;
-
-   public JBossCacheCache(String fqn, org.jboss.cache.Cache<K, V> cache)
-   {
-      if (fqn == null)
-         throw new IllegalArgumentException("Null fqn");
-      if (cache == null)
-         throw new IllegalArgumentException("Null cache");
-
-      this.fqn = fqn;
-      this.cache = cache;
-   }
-
-   public V put(K key, V value)
-   {
-      return cache.put(fqn, key, value);
-   }
-
-   public V get(K key)
-   {
-      return cache.get(fqn, key);
-   }
-
-   public V remove(K key)
-   {
-      return cache.remove(fqn, key);
-   }
-
-   public void clear()
-   {
-      cache.clearData(fqn);
-   }
-}
\ No newline at end of file

Deleted: projects/jboss-mdr/trunk/src/main/org/jboss/metadata/plugins/cache/JBossCacheCacheFactory.java
===================================================================
--- projects/jboss-mdr/trunk/src/main/org/jboss/metadata/plugins/cache/JBossCacheCacheFactory.java	2008-07-07 11:05:22 UTC (rev 75434)
+++ projects/jboss-mdr/trunk/src/main/org/jboss/metadata/plugins/cache/JBossCacheCacheFactory.java	2008-07-07 11:42:28 UTC (rev 75435)
@@ -1,160 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2006, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-package org.jboss.metadata.plugins.cache;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.ListIterator;
-
-import org.jboss.cache.config.Configuration;
-import org.jboss.logging.Logger;
-
-/**
- * JBoss Cache cache factory.
- *
- * @author <a href="mailto:ales.justin at jboss.com">Ales Justin</a>
- */
-public class JBossCacheCacheFactory implements CacheFactory
-{
-   private final Logger log = Logger.getLogger(getClass());
-
-   private String file;
-   private Configuration configuration;
-   private List<org.jboss.cache.Cache> caches;
-
-   public JBossCacheCacheFactory()
-   {
-      caches = new ArrayList<org.jboss.cache.Cache>();
-   }
-
-   public JBossCacheCacheFactory(String file)
-   {
-      this();
-      this.file = file;
-   }
-
-   public JBossCacheCacheFactory(Configuration configuration)
-   {
-      this();
-      this.configuration = configuration;
-   }
-
-   public String createFqn(Object owner)
-   {
-      Class<?> clazz = owner.getClass();
-      return clazz.getSimpleName() + "-" + System.identityHashCode(owner);
-   }
-
-   /**
-    * Create cache factory.
-    *
-    * @return the cache factory
-    */
-   protected <K, V> org.jboss.cache.CacheFactory<K, V> createFactory()
-   {
-      return new org.jboss.cache.DefaultCacheFactory<K, V>();
-   }
-
-   /**
-    * Create cache.
-    *
-    * @param factory the cache factory
-    * @return new cache instance
-    */
-   protected <K, V> org.jboss.cache.Cache<K, V> createCache(org.jboss.cache.CacheFactory<K, V> factory)
-   {
-      if (file != null)
-         return factory.createCache(file);
-      else if (configuration != null)
-         return factory.createCache(configuration);
-      else
-         return factory.createCache();
-   }
-
-   /**
-    * Get cache.
-    * Store it, in order to do proper stop/destroy.
-    *
-    * @param factory the cache factory
-    * @return new cache instance
-    */
-   private <K, V> org.jboss.cache.Cache<K, V> getCache(org.jboss.cache.CacheFactory<K, V> factory)
-   {
-      org.jboss.cache.Cache<K, V> cache = createCache(factory);
-      caches.add(cache);
-      return cache;
-   }
-
-   public <K, V> Cache<K, V> createCache(Class<K> keyClass, Class<V> valueClass, String rootFqn)
-   {
-      org.jboss.cache.CacheFactory<K, V> factory = createFactory();
-      org.jboss.cache.Cache<K, V> cache = getCache(factory);
-      return new JBossCacheCache<K,V>(rootFqn, cache);
-   }
-
-   public <V> CacheItem<V> createCacheItem(Class<V> valueClass, String rootFqn)
-   {
-      org.jboss.cache.CacheFactory<Object, V> factory = createFactory();
-      org.jboss.cache.Cache<Object, V> cache = getCache(factory);
-      return new JBossCacheCacheItem<V>(rootFqn, cache);
-   }
-
-   /**
-    * Stop created cache.
-    */
-   public void stop()
-   {
-      ListIterator<org.jboss.cache.Cache> iter = caches.listIterator(caches.size());
-      while(iter.hasPrevious())
-      {
-         org.jboss.cache.Cache cache = iter.previous();
-         try
-         {
-            cache.stop();
-         }
-         catch (Throwable t)
-         {
-            log.debug("Exception while stopping cache: " + cache + ", problem: " + t);
-         }
-      }
-   }
-
-   /**
-    * Destroy created policies.
-    */
-   public void destroy()
-   {
-      ListIterator<org.jboss.cache.Cache> iter = caches.listIterator(caches.size());
-      while(iter.hasPrevious())
-      {
-         org.jboss.cache.Cache cache = iter.previous();
-         try
-         {
-            cache.destroy();
-         }
-         catch (Throwable t)
-         {
-            log.debug("Exception while destroying cache: " + cache + ", problem: " + t);
-         }
-      }
-   }
-}

Deleted: projects/jboss-mdr/trunk/src/main/org/jboss/metadata/plugins/cache/JBossCacheCacheItem.java
===================================================================
--- projects/jboss-mdr/trunk/src/main/org/jboss/metadata/plugins/cache/JBossCacheCacheItem.java	2008-07-07 11:05:22 UTC (rev 75434)
+++ projects/jboss-mdr/trunk/src/main/org/jboss/metadata/plugins/cache/JBossCacheCacheItem.java	2008-07-07 11:42:28 UTC (rev 75435)
@@ -1,49 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2006, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-package org.jboss.metadata.plugins.cache;
-
-import org.jboss.cache.Cache;
-
-/**
- * JBoss Cache cache item.
- *
- * @author <a href="mailto:ales.justin at jboss.com">Ales Justin</a>
- */
-public class JBossCacheCacheItem<V> extends JBossCacheCache<Object, V> implements CacheItem<V>
-{
-   private static final Object KEY = "<KEY>";
-
-   public JBossCacheCacheItem(String fqn, Cache<Object, V> objectVCache)
-   {
-      super(fqn, objectVCache);
-   }
-
-   public V put(V value)
-   {
-      return put(KEY, value);
-   }
-
-   public V get()
-   {
-      return get(KEY);
-   }
-}
\ No newline at end of file

Modified: projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/CacheContextTestSuite.java
===================================================================
--- projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/CacheContextTestSuite.java	2008-07-07 11:05:22 UTC (rev 75434)
+++ projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/CacheContextTestSuite.java	2008-07-07 11:42:28 UTC (rev 75435)
@@ -44,42 +44,34 @@
       TestSuite suite = new TestSuite("Cache Context Tests");
 
       suite.addTest(new TestSuite(CacheContextBasicAnnotationsUnitTestCase.class));
-      suite.addTest(new TestSuite(JBCCacheContextWithFactoryBasicAnnotationsUnitTestCase.class));
       suite.addTest(new TestSuite(LRUCPCacheContextWithFactoryBasicAnnotationsUnitTestCase.class));
       suite.addTest(new TestSuite(TimedCPCacheContextWithFactoryBasicAnnotationsUnitTestCase.class));
 
       suite.addTest(new TestSuite(CacheParentContextBasicAnnotationsUnitTestCase.class));
-      suite.addTest(new TestSuite(JBCCacheParentContextWithFactoryBasicAnnotationsUnitTestCase.class));
       suite.addTest(new TestSuite(LRUCPCacheParentContextWithFactoryBasicAnnotationsUnitTestCase.class));
       suite.addTest(new TestSuite(TimedCPCacheParentContextWithFactoryBasicAnnotationsUnitTestCase.class));
 
       suite.addTest(new TestSuite(CacheContextBasicMetaDataUnitTestCase.class));
-      suite.addTest(new TestSuite(JBCCacheContextWithFactoryBasicMetaDataUnitTestCase.class));
       suite.addTest(new TestSuite(LRUCPCacheContextWithFactoryBasicMetaDataUnitTestCase.class));
       suite.addTest(new TestSuite(TimedCPCacheContextWithFactoryBasicMetaDataUnitTestCase.class));
 
       suite.addTest(new TestSuite(CacheParentContextBasicMetaDataUnitTestCase.class));
-      suite.addTest(new TestSuite(JBCCacheParentContextWithFactoryBasicMetaDataUnitTestCase.class));
       suite.addTest(new TestSuite(LRUCPCacheParentContextWithFactoryBasicMetaDataUnitTestCase.class));
       suite.addTest(new TestSuite(TimedCPCacheParentContextWithFactoryBasicMetaDataUnitTestCase.class));
 
       suite.addTest(new TestSuite(CacheMetaDataContextAnnotationUnitTestCase.class));
-      suite.addTest(new TestSuite(JBCCacheMetaDataContextWithFactoryAnnotationUnitTestCase.class));
       suite.addTest(new TestSuite(LRUCPCacheMetaDataContextWithFactoryAnnotationUnitTestCase.class));
       suite.addTest(new TestSuite(TimedCPCacheMetaDataContextWithFactoryAnnotationUnitTestCase.class));
 
       suite.addTest(new TestSuite(CacheMetaDataContextMetaDataUnitTestCase.class));
-      suite.addTest(new TestSuite(JBCCacheMetaDataContextWithFactoryMetaDataUnitTestCase.class));
       suite.addTest(new TestSuite(LRUCPCacheMetaDataContextWithFactoryMetaDataUnitTestCase.class));
       suite.addTest(new TestSuite(TimedCPCacheMetaDataContextWithFactoryMetaDataUnitTestCase.class));
 
       suite.addTest(new TestSuite(SimpleCacheMetaDataContextUnitTestCase.class));
-      suite.addTest(new TestSuite(JBCSimpleCacheMetaDataContextWithFactoryUnitTestCase.class));
       suite.addTest(new TestSuite(LRUCPSimpleCacheMetaDataContextWithFactoryUnitTestCase.class));
       suite.addTest(new TestSuite(TimedCPSimpleCacheMetaDataContextWithFactoryUnitTestCase.class));
 
       suite.addTest(new TestSuite(SimpleCacheParentMetaDataContextUnitTestCase.class));
-      suite.addTest(new TestSuite(JBCSimpleCacheParentMetaDataContextWithFactoryUnitTestCase.class));
       suite.addTest(new TestSuite(LRUCPSimpleCacheParentMetaDataContextWithFactoryUnitTestCase.class));
       suite.addTest(new TestSuite(TimedCPSimpleCacheParentMetaDataContextWithFactoryUnitTestCase.class));
 

Deleted: projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCCacheContextWithFactoryBasicAnnotationsUnitTestCase.java
===================================================================
--- projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCCacheContextWithFactoryBasicAnnotationsUnitTestCase.java	2008-07-07 11:05:22 UTC (rev 75434)
+++ projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCCacheContextWithFactoryBasicAnnotationsUnitTestCase.java	2008-07-07 11:42:28 UTC (rev 75435)
@@ -1,43 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2006, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-package org.jboss.test.metadata.context.cache.test;
-
-import org.jboss.metadata.plugins.cache.CacheFactory;
-import org.jboss.metadata.plugins.cache.JBossCacheCacheFactory;
-
-/**
- * JBCCacheContextWithFactoryBasicAnnotationsUnitTestCase.
- *
- * @author <a href="ales.justin at jboss.com">Ales Justin</a>
- */
-public class JBCCacheContextWithFactoryBasicAnnotationsUnitTestCase extends CacheContextWithFactoryBasicAnnotationsUnitTestCase
-{
-   public JBCCacheContextWithFactoryBasicAnnotationsUnitTestCase(String name)
-   {
-      super(name);
-   }
-
-   protected CacheFactory createFactory()
-   {
-      return new JBossCacheCacheFactory();
-   }
-}
\ No newline at end of file

Deleted: projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCCacheContextWithFactoryBasicMetaDataUnitTestCase.java
===================================================================
--- projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCCacheContextWithFactoryBasicMetaDataUnitTestCase.java	2008-07-07 11:05:22 UTC (rev 75434)
+++ projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCCacheContextWithFactoryBasicMetaDataUnitTestCase.java	2008-07-07 11:42:28 UTC (rev 75435)
@@ -1,43 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2006, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-package org.jboss.test.metadata.context.cache.test;
-
-import org.jboss.metadata.plugins.cache.CacheFactory;
-import org.jboss.metadata.plugins.cache.JBossCacheCacheFactory;
-
-/**
- * CacheContextWithFactoryBasicMetaDataUnitTestCase.
- *
- * @author <a href="ales.justin at jboss.com">Ales Justin</a>
- */
-public class JBCCacheContextWithFactoryBasicMetaDataUnitTestCase extends CacheContextWithFactoryBasicMetaDataUnitTestCase
-{
-   public JBCCacheContextWithFactoryBasicMetaDataUnitTestCase(String name)
-   {
-      super(name);
-   }
-
-   protected CacheFactory createFactory()
-   {
-      return new JBossCacheCacheFactory();
-   }
-}
\ No newline at end of file

Deleted: projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCCacheMetaDataContextWithFactoryAnnotationUnitTestCase.java
===================================================================
--- projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCCacheMetaDataContextWithFactoryAnnotationUnitTestCase.java	2008-07-07 11:05:22 UTC (rev 75434)
+++ projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCCacheMetaDataContextWithFactoryAnnotationUnitTestCase.java	2008-07-07 11:42:28 UTC (rev 75435)
@@ -1,43 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2006, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-package org.jboss.test.metadata.context.cache.test;
-
-import org.jboss.metadata.plugins.cache.CacheFactory;
-import org.jboss.metadata.plugins.cache.JBossCacheCacheFactory;
-
-/**
- * JBCCacheMetaDataContextWithFactoryAnnotationUnitTestCase.
- *
- * @author <a href="ales.justin at jboss.com">Ales Justin</a>
- */
-public class JBCCacheMetaDataContextWithFactoryAnnotationUnitTestCase extends CacheMetaDataContextWithFactoryAnnotationUnitTestCase
-{
-   public JBCCacheMetaDataContextWithFactoryAnnotationUnitTestCase(String name)
-   {
-      super(name);
-   }
-
-   protected CacheFactory createFactory()
-   {
-      return new JBossCacheCacheFactory();
-   }
-}
\ No newline at end of file

Deleted: projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCCacheMetaDataContextWithFactoryMetaDataUnitTestCase.java
===================================================================
--- projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCCacheMetaDataContextWithFactoryMetaDataUnitTestCase.java	2008-07-07 11:05:22 UTC (rev 75434)
+++ projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCCacheMetaDataContextWithFactoryMetaDataUnitTestCase.java	2008-07-07 11:42:28 UTC (rev 75435)
@@ -1,43 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2006, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-package org.jboss.test.metadata.context.cache.test;
-
-import org.jboss.metadata.plugins.cache.CacheFactory;
-import org.jboss.metadata.plugins.cache.JBossCacheCacheFactory;
-
-/**
- * JBCCacheMetaDataContextWithFactoryMetaDataUnitTestCase.
- *
- * @author <a href="ales.justin at jboss.com">Ales Justin</a>
- */
-public class JBCCacheMetaDataContextWithFactoryMetaDataUnitTestCase extends CacheMetaDataContextWithFactoryMetaDataUnitTestCase
-{
-   public JBCCacheMetaDataContextWithFactoryMetaDataUnitTestCase(String name)
-   {
-      super(name);
-   }
-
-   protected CacheFactory createFactory()
-   {
-      return new JBossCacheCacheFactory();
-   }
-}
\ No newline at end of file

Deleted: projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCCacheParentContextWithFactoryBasicAnnotationsUnitTestCase.java
===================================================================
--- projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCCacheParentContextWithFactoryBasicAnnotationsUnitTestCase.java	2008-07-07 11:05:22 UTC (rev 75434)
+++ projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCCacheParentContextWithFactoryBasicAnnotationsUnitTestCase.java	2008-07-07 11:42:28 UTC (rev 75435)
@@ -1,43 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2006, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-package org.jboss.test.metadata.context.cache.test;
-
-import org.jboss.metadata.plugins.cache.CacheFactory;
-import org.jboss.metadata.plugins.cache.JBossCacheCacheFactory;
-
-/**
- * JBCCacheContextWithFactoryBasicAnnotationsUnitTestCase.
- *
- * @author <a href="ales.justin at jboss.com">Ales Justin</a>
- */
-public class JBCCacheParentContextWithFactoryBasicAnnotationsUnitTestCase extends CacheParentContextWithFactoryBasicAnnotationsUnitTestCase
-{
-   public JBCCacheParentContextWithFactoryBasicAnnotationsUnitTestCase(String name)
-   {
-      super(name);
-   }
-
-   protected CacheFactory createFactory()
-   {
-      return new JBossCacheCacheFactory();
-   }
-}
\ No newline at end of file

Deleted: projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCCacheParentContextWithFactoryBasicMetaDataUnitTestCase.java
===================================================================
--- projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCCacheParentContextWithFactoryBasicMetaDataUnitTestCase.java	2008-07-07 11:05:22 UTC (rev 75434)
+++ projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCCacheParentContextWithFactoryBasicMetaDataUnitTestCase.java	2008-07-07 11:42:28 UTC (rev 75435)
@@ -1,43 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2006, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-package org.jboss.test.metadata.context.cache.test;
-
-import org.jboss.metadata.plugins.cache.CacheFactory;
-import org.jboss.metadata.plugins.cache.JBossCacheCacheFactory;
-
-/**
- * JBCCacheParentContextWithFactoryBasicMetaDataUnitTestCase.
- *
- * @author <a href="ales.justin at jboss.com">Ales Justin</a>
- */
-public class JBCCacheParentContextWithFactoryBasicMetaDataUnitTestCase extends CacheParentContextWithFactoryBasicMetaDataUnitTestCase
-{
-   public JBCCacheParentContextWithFactoryBasicMetaDataUnitTestCase(String name)
-   {
-      super(name);
-   }
-
-   protected CacheFactory createFactory()
-   {
-      return new JBossCacheCacheFactory();
-   }
-}
\ No newline at end of file

Deleted: projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCSimpleCacheMetaDataContextWithFactoryUnitTestCase.java
===================================================================
--- projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCSimpleCacheMetaDataContextWithFactoryUnitTestCase.java	2008-07-07 11:05:22 UTC (rev 75434)
+++ projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCSimpleCacheMetaDataContextWithFactoryUnitTestCase.java	2008-07-07 11:42:28 UTC (rev 75435)
@@ -1,43 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2006, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-package org.jboss.test.metadata.context.cache.test;
-
-import org.jboss.metadata.plugins.cache.CacheFactory;
-import org.jboss.metadata.plugins.cache.JBossCacheCacheFactory;
-
-/**
- * JBCSimpleCacheMetaDataContextWithFactoryUnitTestCase.
- *
- * @author <a href="ales.justin at jboss.com">Ales Justin</a>
- */
-public class JBCSimpleCacheMetaDataContextWithFactoryUnitTestCase extends SimpleCacheMetaDataContextWithFactoryUnitTestCase
-{
-   public JBCSimpleCacheMetaDataContextWithFactoryUnitTestCase(String name)
-   {
-      super(name);
-   }
-
-   protected CacheFactory createFactory()
-   {
-      return new JBossCacheCacheFactory();
-   }
-}
\ No newline at end of file

Deleted: projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCSimpleCacheParentMetaDataContextWithFactoryUnitTestCase.java
===================================================================
--- projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCSimpleCacheParentMetaDataContextWithFactoryUnitTestCase.java	2008-07-07 11:05:22 UTC (rev 75434)
+++ projects/jboss-mdr/trunk/src/tests/org/jboss/test/metadata/context/cache/test/JBCSimpleCacheParentMetaDataContextWithFactoryUnitTestCase.java	2008-07-07 11:42:28 UTC (rev 75435)
@@ -1,43 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2006, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-package org.jboss.test.metadata.context.cache.test;
-
-import org.jboss.metadata.plugins.cache.CacheFactory;
-import org.jboss.metadata.plugins.cache.JBossCacheCacheFactory;
-
-/**
- * JBCSimpleCacheMetaDataContextWithFactoryUnitTestCase.
- *
- * @author <a href="ales.justin at jboss.com">Ales Justin</a>
- */
-public class JBCSimpleCacheParentMetaDataContextWithFactoryUnitTestCase extends SimpleCacheParentMetaDataContextWithFactoryUnitTestCase
-{
-   public JBCSimpleCacheParentMetaDataContextWithFactoryUnitTestCase(String name)
-   {
-      super(name);
-   }
-
-   protected CacheFactory createFactory()
-   {
-      return new JBossCacheCacheFactory();
-   }
-}
\ No newline at end of file




More information about the jboss-cvs-commits mailing list