db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r398749 - /db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/core/PersistenceBrokerBean.java
Date Tue, 02 May 2006 00:20:23 GMT
Author: arminw
Date: Mon May  1 17:20:21 2006
New Revision: 398749

URL: http://svn.apache.org/viewcvs?rev=398749&view=rev
Log:
deprecate, add LobHelper service method

Modified:
    db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/core/PersistenceBrokerBean.java

Modified: db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/core/PersistenceBrokerBean.java
URL: http://svn.apache.org/viewcvs/db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/core/PersistenceBrokerBean.java?rev=398749&r1=398748&r2=398749&view=diff
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/core/PersistenceBrokerBean.java
(original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/core/PersistenceBrokerBean.java
Mon May  1 17:20:21 2006
@@ -42,6 +42,7 @@
 import org.apache.ojb.broker.TransactionAbortedException;
 import org.apache.ojb.broker.TransactionInProgressException;
 import org.apache.ojb.broker.TransactionNotInProgressException;
+import org.apache.ojb.broker.lob.LobHelper;
 import org.apache.ojb.broker.accesslayer.ConnectionManagerIF;
 import org.apache.ojb.broker.accesslayer.JdbcAccess;
 import org.apache.ojb.broker.accesslayer.StatementManagerIF;
@@ -75,6 +76,8 @@
  *
  * Can be used by normal EJB clients, not just the PersistenceBrokerClient
  *
+ * @deprecated Unused class, will be removed in future.
+ *
  * @ejb:bean
  *             type="Stateless"
  *             name="PersistenceBrokerBean"
@@ -102,7 +105,6 @@
  *         value="repository.xml"
  *
  */
-
 public class PersistenceBrokerBean implements PersistenceBroker, SessionBean
 {
 	private Logger m_log;
@@ -401,7 +403,12 @@
         return getBroker().serviceIdentity();
     }
 
-	public void fireBrokerEvent(PersistenceBrokerEvent event)
+    public LobHelper serviceLobHelper()
+    {
+        return getBroker().serviceLobHelper();
+    }
+
+    public void fireBrokerEvent(PersistenceBrokerEvent event)
 	{
 		getBroker().fireBrokerEvent(event);
 	}



---------------------------------------------------------------------
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