notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r2494 - in development/laboratory/components/dbcp: . api/src/main/net/dpml/dbcp
- From: niclas AT hedhman.org
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r2494 - in development/laboratory/components/dbcp: . api/src/main/net/dpml/dbcp
- Date: Tue, 10 May 2005 13:03:03 +0000
Author: niclas AT hedhman.org
Date: Tue May 10 13:03:03 2005
New Revision: 2494
Modified:
development/laboratory/components/dbcp/api/src/main/net/dpml/dbcp/ConnectionManager.java
development/laboratory/components/dbcp/api/src/main/net/dpml/dbcp/DbUrlNotFoundException.java
development/laboratory/components/dbcp/api/src/main/net/dpml/dbcp/DriverNotFoundException.java
development/laboratory/components/dbcp/index.xml
Log:
Place the resources at the end of the index.
Modified:
development/laboratory/components/dbcp/api/src/main/net/dpml/dbcp/ConnectionManager.java
==============================================================================
---
development/laboratory/components/dbcp/api/src/main/net/dpml/dbcp/ConnectionManager.java
(original)
+++
development/laboratory/components/dbcp/api/src/main/net/dpml/dbcp/ConnectionManager.java
Tue May 10 13:03:03 2005
@@ -1,20 +1,22 @@
-/*
+/*
* Copyright 2004 Apache Software Foundation
+ * Copyright 2005 Niclas Hedhman
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
+ * You may obtain a copy of the License at
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
* implied.
- *
+ *
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
+
package net.dpml.dbcp;
import java.sql.Connection;
@@ -25,22 +27,26 @@
* JDBC connections to a datasource.
*
* @metro.service version="1.0"
- *
- * @author <a href="mailto:dev-dpml AT lists.ibiblio.org";>The Digital Product
Meta Library</a>
- * @version $Revision: 1.2 $ $Date: 2004/05/11 21:23:02 $
+ *
+ * @author <a href="http://www.dpml.net">The Digital Product Meta Library</a>
+ * @version $Id$
*/
-public interface ConnectionManager {
- /**
- * Returns a <code>java.sql.Connection</code> to the default data
source.
- *
- * @return a <code>java.sql.Connection</code> to the default data
source
- */
- Connection getConnection() throws SQLException;
- /**
- * Returns a <code>java.sql.Connection</code> to the specified data
source.
- *
- * @param name the name of the data source to obtain a connection to
- * @return a <code>java.sql.Connection</code> to the specified data
source
- */
- Connection getConnection(String name) throws SQLException;
+public interface ConnectionManager
+{
+ /**
+ * Returns a <code>java.sql.Connection</code> to the default data source.
+ *
+ * @return a <code>java.sql.Connection</code> to the default data source
+ */
+ Connection getConnection()
+ throws SQLException;
+
+ /**
+ * Returns a <code>java.sql.Connection</code> to the specified data
source.
+ *
+ * @param name the name of the data source to obtain a connection to
+ * @return a <code>java.sql.Connection</code> to the specified data
source
+ */
+ Connection getConnection( String name )
+ throws SQLException;
}
Modified:
development/laboratory/components/dbcp/api/src/main/net/dpml/dbcp/DbUrlNotFoundException.java
==============================================================================
---
development/laboratory/components/dbcp/api/src/main/net/dpml/dbcp/DbUrlNotFoundException.java
(original)
+++
development/laboratory/components/dbcp/api/src/main/net/dpml/dbcp/DbUrlNotFoundException.java
Tue May 10 13:03:03 2005
@@ -1,28 +1,30 @@
-/*
+/*
* Copyright 2004 Apache Software Foundation
+ * Copyright 2005 Niclas Hedhman
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
+ * You may obtain a copy of the License at
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
* implied.
- *
+ *
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
+
package net.dpml.dbcp;
/**
* Thrown when determined that the user has not defined the database
* URL of the datasource.
- *
- * @author <a href="mailto:dev-dpml AT lists.ibiblio.org";>The Digital Product
Meta Library</a>
- * @version $Revision: 1.1 $ $Date: 2004/05/11 21:23:02 $
+ *
+ * @author <a href="http://www.dpml.net">The Digital Product Meta Library</a>
+ * @version $Id$
*/
public class DbUrlNotFoundException extends Exception {
@@ -38,7 +40,7 @@
/**
* Constructs a new exception with the specified detail
* message.
- *
+ *
* @param message the detail message
*/
public DbUrlNotFoundException( final String message )
@@ -51,10 +53,10 @@
*
* <p>The message will be (cause==null ? null : cause.toString())
* (which typically contains the class and detail message of
- * cause).
+ * cause).
* This constructor is useful for exceptions that are
* little more than wrappers for other throwables.</p>
- *
+ *
* @param cause the cause
*/
public DbUrlNotFoundException( final Throwable cause )
@@ -68,7 +70,7 @@
* <p>
* Note that the detail message associated with cause is not
* automatically incorporated in this exception's detail message.
- *
+ *
* @param message the detail message
* @param cause the cause
*/
Modified:
development/laboratory/components/dbcp/api/src/main/net/dpml/dbcp/DriverNotFoundException.java
==============================================================================
---
development/laboratory/components/dbcp/api/src/main/net/dpml/dbcp/DriverNotFoundException.java
(original)
+++
development/laboratory/components/dbcp/api/src/main/net/dpml/dbcp/DriverNotFoundException.java
Tue May 10 13:03:03 2005
@@ -1,30 +1,32 @@
-/*
+/*
* Copyright 2004 Apache Software Foundation
+ * Copyright 2005 Niclas Hedhman
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
+ * You may obtain a copy of the License at
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
* implied.
- *
+ *
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
+
package net.dpml.dbcp;
/**
* Thrown when determined that the user has not defined at least
* the JDBC driver of the named datasource.
- *
- * @author <a href="mailto:dev-dpml AT lists.ibiblio.org";>The Digital Product
Meta Library</a>
- * @version $Revision: 1.1 $ $Date: 2004/05/11 21:23:02 $
+ *
+ * @author <a href="http://www.dpml.net">The Digital Product Meta Library</a>
+ * @version $Id$
*/
-public class DriverNotFoundException extends Exception
+public class DriverNotFoundException extends Exception
{
/**
@@ -39,7 +41,7 @@
/**
* Constructs a new exception with the specified detail
* message.
- *
+ *
* @param message the detail message
*/
public DriverNotFoundException( final String message )
@@ -52,10 +54,10 @@
*
* <p>The message will be (cause==null ? null : cause.toString())
* (which typically contains the class and detail message of
- * cause).
+ * cause).
* This constructor is useful for exceptions that are
* little more than wrappers for other throwables.</p>
- *
+ *
* @param cause the cause
*/
public DriverNotFoundException( final Throwable cause )
@@ -66,10 +68,10 @@
/**
* Constructs a new exception with the specified detail message
* and cause.
- *
+ *
* <p>Note that the detail message associated with cause is not
* automatically incorporated in this exception's detail message.</p>
- *
+ *
* @param message the detail message
* @param cause the cause
*/
Modified: development/laboratory/components/dbcp/index.xml
==============================================================================
--- development/laboratory/components/dbcp/index.xml (original)
+++ development/laboratory/components/dbcp/index.xml Tue May 10 13:03:03
2005
@@ -19,24 +19,6 @@
<import uri="artifact:module:dpml/magic/dpml-magic#SNAPSHOT" />
<import uri="artifact:module:dpml/metro/dpml-metro#SNAPSHOT" />
- <resource>
- <info>
- <group>commons-dbcp</group>
- <name>commons-dbcp</name>
- <version>1.2.1</version>
- <type>jar</type>
- </info>
- </resource>
-
- <resource>
- <info>
- <group>commons-pool</group>
- <name>commons-pool</name>
- <version>1.2</version>
- <type>jar</type>
- </info>
- </resource>
-
<project file="module.xml">
<info>
<group>dpml/planet/dbcp</group>
@@ -78,4 +60,22 @@
</plugins>
</project>
+ <resource>
+ <info>
+ <group>commons-dbcp</group>
+ <name>commons-dbcp</name>
+ <version>1.2.1</version>
+ <type>jar</type>
+ </info>
+ </resource>
+
+ <resource>
+ <info>
+ <group>commons-pool</group>
+ <name>commons-pool</name>
+ <version>1.2</version>
+ <type>jar</type>
+ </info>
+ </resource>
+
</index>
- svn commit: r2494 - in development/laboratory/components/dbcp: . api/src/main/net/dpml/dbcp, niclas, 05/10/2005
Archive powered by MHonArc 2.6.24.