db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r398748 - in /db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker: PersistenceBroker.java core/DelegatingPersistenceBroker.java
Date Tue, 02 May 2006 00:17:46 GMT
Author: arminw
Date: Mon May  1 17:17:43 2006
New Revision: 398748

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

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

Modified: db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/PersistenceBroker.java
URL: http://svn.apache.org/viewcvs/db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/PersistenceBroker.java?rev=398748&r1=398747&r2=398748&view=diff
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/PersistenceBroker.java
(original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/PersistenceBroker.java
Mon May  1 17:17:43 2006
@@ -27,6 +27,7 @@
 import org.apache.ojb.broker.util.ObjectModification;
 import org.apache.ojb.broker.util.configuration.Configurable;
 import org.apache.ojb.broker.util.sequence.SequenceManager;
+import org.apache.ojb.broker.lob.LobHelper;
 import org.odbms.ObjectContainer;
 
 import java.util.Collection;
@@ -51,6 +52,14 @@
     // *************************************************************************
 
     /**
+     * Returns the {@link org.apache.ojb.broker.lob.LobHelper} instance
+     * associated with this broker.
+     *
+     * @return The LOB helper
+     */
+    public LobHelper serviceLobHelper();
+
+    /**
      * Returns the {@link org.apache.ojb.broker.accesslayer.StatementManagerIF} instance
associated with this broker.
      * 
      * @return The statement manager
@@ -144,10 +153,10 @@
 
     /**
      * Removes all temporary and, if desired, permanent listeners from this broker.
-     * Use with care, because some internals rely on this mechanism.
+     * <b>NOTE:</b> Use with care, because some internals rely on this mechanism.
      * 
-     * @param permanent Whether the listener will stay registered after closing
-     *                  the broker
+     * @param permanent If <em>false</em> all temporary listener will be removed.
If
+     * <em>true</em> temporaray and permanent listern will be removed from this
instance.
      * @see #removeListener(PBListener)
      */
     public void removeAllListeners(boolean permanent) throws PersistenceBrokerException;

Modified: db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/core/DelegatingPersistenceBroker.java
URL: http://svn.apache.org/viewcvs/db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/core/DelegatingPersistenceBroker.java?rev=398748&r1=398747&r2=398748&view=diff
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/core/DelegatingPersistenceBroker.java
(original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/core/DelegatingPersistenceBroker.java
Mon May  1 17:17:43 2006
@@ -31,6 +31,7 @@
 import org.apache.ojb.broker.TransactionNotInProgressException;
 import org.apache.ojb.broker.IdentityFactory;
 import org.apache.ojb.broker.PersistenceBrokerInternal;
+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;
@@ -295,7 +296,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