Author: shawkins
Date: 2009-04-03 08:36:49 -0400 (Fri, 03 Apr 2009)
New Revision: 701
Removed:
trunk/server/src/main/java/com/metamatrix/metadata/runtime/spi/RuntimeBaseConnector.java
Modified:
trunk/server/src/main/java/com/metamatrix/metadata/runtime/spi/MetaBaseConnector.java
Log:
removing unused interface
Modified:
trunk/server/src/main/java/com/metamatrix/metadata/runtime/spi/MetaBaseConnector.java
===================================================================
---
trunk/server/src/main/java/com/metamatrix/metadata/runtime/spi/MetaBaseConnector.java 2009-04-03
02:07:14 UTC (rev 700)
+++
trunk/server/src/main/java/com/metamatrix/metadata/runtime/spi/MetaBaseConnector.java 2009-04-03
12:36:49 UTC (rev 701)
@@ -24,10 +24,11 @@
import java.util.*;
+import com.metamatrix.common.connection.TransactionInterface;
import com.metamatrix.metadata.runtime.api.*;
import com.metamatrix.metadata.runtime.exception.*;
-public interface MetaBaseConnector extends RuntimeBaseConnector {
+public interface MetaBaseConnector extends TransactionInterface {
/**
* Set the <code>VirtualDatabase</code> status.
Deleted:
trunk/server/src/main/java/com/metamatrix/metadata/runtime/spi/RuntimeBaseConnector.java
===================================================================
---
trunk/server/src/main/java/com/metamatrix/metadata/runtime/spi/RuntimeBaseConnector.java 2009-04-03
02:07:14 UTC (rev 700)
+++
trunk/server/src/main/java/com/metamatrix/metadata/runtime/spi/RuntimeBaseConnector.java 2009-04-03
12:36:49 UTC (rev 701)
@@ -1,51 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * See the COPYRIGHT.txt file distributed with this work for information
- * regarding copyright ownership. Some portions may be licensed
- * to Red Hat, Inc. under one or more contributor license agreements.
- *
- * This library 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 library 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 library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- * 02110-1301 USA.
- */
-
-package com.metamatrix.metadata.runtime.spi;
-
-import com.metamatrix.common.connection.ManagedConnectionException;
-import com.metamatrix.common.connection.TransactionInterface;
-
-public interface RuntimeBaseConnector extends TransactionInterface {
-
- /**
- * Make all changes made during this transaction's lifetime
- * and release any data source locks currently held by the associated Connection.
- * A transaction can be committed or rolled back any number of times throughout its
lifetime,
- * and throughout its lifetime the transaction is guaranteed to have the same
connection.
- * @throws ManagedConnectionException if an error occurred within or during
communication with the associated connection.
- */
- void commit() throws ManagedConnectionException;
-
- /**
- * Drops all changes made during this transaction's lifetime
- * and release any data source locks currently held by the associated Connection.
- * Once this method is executed, the transaction (after rolling back) becomes
invalid, and the connection
- * referenced by this transaction is returned to the pool.
- * <p>
- * Calling this method on a read-only transaction is unneccessary (and discouraged,
since
- * the implementation does nothing in that case anyway).
- * @throws ManagedConnectionException if an error occurred within or during
communication with the associated connection.
- */
- void rollback() throws ManagedConnectionException;
-}
-
Show replies by date