Author: manik.surtani(a)jboss.com
Date: 2009-02-25 05:58:33 -0500 (Wed, 25 Feb 2009)
New Revision: 7779
Removed:
core/branches/flat/src/main/java/org/horizon/loader/jdbc/JDBCCacheStore.java
core/branches/flat/src/main/java/org/horizon/loader/jdbc/JDBCCacheStoreConfig.java
Log:
removed obsolete files
Deleted: core/branches/flat/src/main/java/org/horizon/loader/jdbc/JDBCCacheStore.java
===================================================================
---
core/branches/flat/src/main/java/org/horizon/loader/jdbc/JDBCCacheStore.java 2009-02-25
10:23:49 UTC (rev 7778)
+++
core/branches/flat/src/main/java/org/horizon/loader/jdbc/JDBCCacheStore.java 2009-02-25
10:58:33 UTC (rev 7779)
@@ -1,67 +0,0 @@
-package org.horizon.loader.jdbc;
-
-import org.horizon.Cache;
-import org.horizon.loader.AbstractCacheStore;
-import org.horizon.loader.CacheLoaderConfig;
-import org.horizon.loader.CacheLoaderException;
-import org.horizon.loader.StoredEntry;
-import org.horizon.marshall.Marshaller;
-
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.util.Set;
-
-/**
- * // TODO: Manik: Document this!
- *
- * @author Manik Surtani
- */
-public class JDBCCacheStore extends AbstractCacheStore {
- public void store(StoredEntry ed) {
- // TODO: Manik: Customise this generated block
- }
-
- public void fromStream(InputStream inputStream) {
- // TODO: Manik: Customise this generated block
- }
-
- public void toStream(OutputStream outputStream) {
- // TODO: Manik: Customise this generated block
- }
-
- public void clear() {
- // TODO: Manik: Customise this generated block
- }
-
- public boolean remove(Object key) {
- return false; // TODO: Manik: Customise this generated block
- }
-
- public void purgeExpired() {
- // TODO: Manik: Customise this generated block
- }
-
- public void init(CacheLoaderConfig config, Cache cache, Marshaller m) {
- // TODO: Manik: Customise this generated block
- }
-
- public StoredEntry load(Object key) {
- return null; // TODO: Manik: Customise this generated block
- }
-
- public Set<StoredEntry> loadAll() throws CacheLoaderException {
- return null; // TODO: Manik: Customise this generated block
- }
-
- public Class<? extends CacheLoaderConfig> getConfigurationClass() {
- return JDBCCacheStoreConfig.class;
- }
-
- public void start() {
- // TODO: Manik: Customise this generated block
- }
-
- public void stop() {
- // TODO: Manik: Customise this generated block
- }
-}
Deleted:
core/branches/flat/src/main/java/org/horizon/loader/jdbc/JDBCCacheStoreConfig.java
===================================================================
---
core/branches/flat/src/main/java/org/horizon/loader/jdbc/JDBCCacheStoreConfig.java 2009-02-25
10:23:49 UTC (rev 7778)
+++
core/branches/flat/src/main/java/org/horizon/loader/jdbc/JDBCCacheStoreConfig.java 2009-02-25
10:58:33 UTC (rev 7779)
@@ -1,51 +0,0 @@
-package org.horizon.loader.jdbc;
-
-import org.horizon.loader.AbstractCacheLoaderConfig;
-
-/**
- * // TODO: Manik: Document this!
- *
- * @author Manik Surtani
- */
-public class JDBCCacheStoreConfig extends AbstractCacheLoaderConfig {
- String dataSource;
- String tableNamePrefix = "horizon";
- boolean createTable = true;
- boolean dropTable = false;
-
- public JDBCCacheStoreConfig() {
- className = JDBCCacheStore.class.getName();
- }
-
- public String getDataSource() {
- return dataSource;
- }
-
- public void setDataSource(String dataSource) {
- this.dataSource = dataSource;
- }
-
- public String getTableNamePrefix() {
- return tableNamePrefix;
- }
-
- public void setTableNamePrefix(String tableNamePrefix) {
- this.tableNamePrefix = tableNamePrefix;
- }
-
- public boolean isCreateTable() {
- return createTable;
- }
-
- public void setCreateTable(boolean createTable) {
- this.createTable = createTable;
- }
-
- public boolean isDropTable() {
- return dropTable;
- }
-
- public void setDropTable(boolean dropTable) {
- this.dropTable = dropTable;
- }
-}
Show replies by date