db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r386124 - in /db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/transaction/tm: JRunTransactionManagerFactory.java OC4JTransactionManagerFactory.java ResinTransactionManagerFactory.java
Date Wed, 15 Mar 2006 18:18:28 GMT
Author: arminw
Date: Wed Mar 15 10:18:26 2006
New Revision: 386124

URL: http://svn.apache.org/viewcvs?rev=386124&view=rev
Log:
initial

Added:
    db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/transaction/tm/JRunTransactionManagerFactory.java
    db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/transaction/tm/OC4JTransactionManagerFactory.java
    db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/transaction/tm/ResinTransactionManagerFactory.java

Added: db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/transaction/tm/JRunTransactionManagerFactory.java
URL: http://svn.apache.org/viewcvs/db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/transaction/tm/JRunTransactionManagerFactory.java?rev=386124&view=auto
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/transaction/tm/JRunTransactionManagerFactory.java
(added)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/transaction/tm/JRunTransactionManagerFactory.java
Wed Mar 15 10:18:26 2006
@@ -0,0 +1,34 @@
+package org.apache.ojb.broker.transaction.tm;
+
+/* Copyright 2002-2006 The Apache Software Foundation
+ *
+ * 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
+ *
+ *     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.
+ */
+
+import java.lang.Object;
+
+/**
+ * JRun {@link javax.transaction.TransactionManager} lookup.
+ */
+public class JRunTransactionManagerFactory extends AbstractTransactionManagerFactory
+{
+    private static final String[][] config = {{"JRun", "java:/TransactionManager", null}};
+
+    /**
+     * @see AbstractTransactionManagerFactory#getLookupInfo
+     */
+    public String[][] getLookupInfo()
+    {
+        return config;
+    }
+}

Added: db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/transaction/tm/OC4JTransactionManagerFactory.java
URL: http://svn.apache.org/viewcvs/db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/transaction/tm/OC4JTransactionManagerFactory.java?rev=386124&view=auto
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/transaction/tm/OC4JTransactionManagerFactory.java
(added)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/transaction/tm/OC4JTransactionManagerFactory.java
Wed Mar 15 10:18:26 2006
@@ -0,0 +1,34 @@
+package org.apache.ojb.broker.transaction.tm;
+
+/* Copyright 2002-2006 The Apache Software Foundation
+ *
+ * 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
+ *
+ *     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.
+ */
+
+import java.lang.Object;
+
+/**
+ * OC4J {@link javax.transaction.TransactionManager} lookup.
+ */
+public class OC4JTransactionManagerFactory extends AbstractTransactionManagerFactory
+{
+    private static final String[][] config = {{"OC4J", "java:comp/pm/TransactionManager",
null}};
+
+    /**
+     * @see AbstractTransactionManagerFactory#getLookupInfo
+     */
+    public String[][] getLookupInfo()
+    {
+        return config;
+    }
+}

Added: db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/transaction/tm/ResinTransactionManagerFactory.java
URL: http://svn.apache.org/viewcvs/db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/transaction/tm/ResinTransactionManagerFactory.java?rev=386124&view=auto
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/transaction/tm/ResinTransactionManagerFactory.java
(added)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/transaction/tm/ResinTransactionManagerFactory.java
Wed Mar 15 10:18:26 2006
@@ -0,0 +1,34 @@
+package org.apache.ojb.broker.transaction.tm;
+
+/* Copyright 2002-2006 The Apache Software Foundation
+ *
+ * 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
+ *
+ *     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.
+ */
+
+import java.lang.Object;
+
+/**
+ * Resin {@link javax.transaction.TransactionManager} lookup.
+ */
+public class ResinTransactionManagerFactory extends AbstractTransactionManagerFactory
+{
+    private static final String[][] config = {{"Resin", "java:comp/TransactionManager", null}};
+
+    /**
+     * @see org.apache.ojb.broker.transaction.tm.AbstractTransactionManagerFactory#getLookupInfo
+     */
+    public String[][] getLookupInfo()
+    {
+        return config;
+    }
+}



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message