[jboss-svn-commits] JBL Code SVN: r32776 - in labs/jbossesb/branches/JBESB_4_4_GA_CP/product/rosetta/aop/java/org: apache and 3 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri May 7 06:00:36 EDT 2010


Author: kevin.conner at jboss.com
Date: 2010-05-07 06:00:35 -0400 (Fri, 07 May 2010)
New Revision: 32776

Added:
   labs/jbossesb/branches/JBESB_4_4_GA_CP/product/rosetta/aop/java/org/apache/
   labs/jbossesb/branches/JBESB_4_4_GA_CP/product/rosetta/aop/java/org/apache/juddi/
   labs/jbossesb/branches/JBESB_4_4_GA_CP/product/rosetta/aop/java/org/apache/juddi/datastore/
   labs/jbossesb/branches/JBESB_4_4_GA_CP/product/rosetta/aop/java/org/apache/juddi/datastore/jdbc/
   labs/jbossesb/branches/JBESB_4_4_GA_CP/product/rosetta/aop/java/org/apache/juddi/datastore/jdbc/JBossESBDataStore.java
Log:
Add juddi datastore helper class: JBESB-3307

Added: labs/jbossesb/branches/JBESB_4_4_GA_CP/product/rosetta/aop/java/org/apache/juddi/datastore/jdbc/JBossESBDataStore.java
===================================================================
--- labs/jbossesb/branches/JBESB_4_4_GA_CP/product/rosetta/aop/java/org/apache/juddi/datastore/jdbc/JBossESBDataStore.java	                        (rev 0)
+++ labs/jbossesb/branches/JBESB_4_4_GA_CP/product/rosetta/aop/java/org/apache/juddi/datastore/jdbc/JBossESBDataStore.java	2010-05-07 10:00:35 UTC (rev 32776)
@@ -0,0 +1,41 @@
+/*
+ * 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.apache.juddi.datastore.jdbc;
+
+import java.sql.Connection;
+import java.sql.SQLException;
+import java.util.Vector;
+
+import org.apache.juddi.datatype.binding.BindingTemplate;
+
+/**
+ * Utility class to provide exposure of juddi internals.
+ * @author kevin
+ */
+public class JBossESBDataStore
+{
+    @SuppressWarnings("unchecked")
+    public static Vector<BindingTemplate> selectByServiceKey(final String serviceKey, final Connection connection) throws SQLException
+    {
+        return BindingTemplateTable.selectByServiceKey(serviceKey,connection);
+    }
+}


Property changes on: labs/jbossesb/branches/JBESB_4_4_GA_CP/product/rosetta/aop/java/org/apache/juddi/datastore/jdbc/JBossESBDataStore.java
___________________________________________________________________
Name: svn:keywords
   + Rev Date
Name: svn:eol-style
   + native



More information about the jboss-svn-commits mailing list