Author: veithen
Date: Sat Aug 27 13:53:23 2011
New Revision: 1162354

URL: http://svn.apache.org/viewvc?rev=1162354&view=rev
Log:
AXIOM-381: Deprecated DataHandlerExt#deleteWhenReadOnce(). The existing 
purgeDataSource() or the new readOnce() method can be used to get the desired 
behavior.

Modified:
    
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/lifecycle/DataHandlerExt.java

Modified: 
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/lifecycle/DataHandlerExt.java
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/lifecycle/DataHandlerExt.java?rev=1162354&r1=1162353&r2=1162354&view=diff
==============================================================================
--- 
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/lifecycle/DataHandlerExt.java
 (original)
+++ 
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/lifecycle/DataHandlerExt.java
 Sat Aug 27 13:53:23 2011
@@ -53,15 +53,7 @@ public interface DataHandlerExt {
        public void purgeDataSource() throws IOException;
        
        /**
-        * This method will give users an option to trigger a delete on 
-        * temporary attachment file when DataHandler associated with the 
-        * attachment is read once. Temp files are created for
-        * attachment data that is greater than a threshold limit. 
-        * On client side These temp attachment files are not deleted untill
-        * the virtual machine exits. This method gives options to user to 
-        * trigger a delete on attachment files when they read the dataHandler
-        * once.
+        * @deprecated Use {@link #readOnce()} or {@link #purgeDataSource()} 
instead.
         */
-       
        public void deleteWhenReadOnce() throws IOException;
 }


Reply via email to