You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by pp...@apache.org on 2012/09/12 03:25:14 UTC

svn commit: r1383728 - in /openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/audit: Auditable.java Auditor.java package.html

Author: ppoddar
Date: Wed Sep 12 01:25:13 2012
New Revision: 1383728

URL: http://svn.apache.org/viewvc?rev=1383728&view=rev
Log:
OPENJPA-2253: Clear temporary storage for audit to prevent memory leak

Added:
    openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/audit/package.html   (with props)
Modified:
    openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/audit/Auditable.java
    openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/audit/Auditor.java

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/audit/Auditable.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/audit/Auditable.java?rev=1383728&r1=1383727&r2=1383728&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/audit/Auditable.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/audit/Auditable.java Wed Sep 12 01:25:13 2012
@@ -30,6 +30,7 @@ import static java.lang.annotation.Reten
  * By default, this annotation enables all operations. 
  * 
  * @author Pinaki Poddar
+ * @since 2.2.0
  *
  */
 @Target({TYPE})

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/audit/Auditor.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/audit/Auditor.java?rev=1383728&r1=1383727&r2=1383728&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/audit/Auditor.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/audit/Auditor.java Wed Sep 12 01:25:13 2012
@@ -27,14 +27,14 @@ import org.apache.openjpa.lib.util.Close
 
 /**
  * An auditor is responsible for recoding the audited information.
- * OpenJPA runtime will track the auditable instances and invoke
+ * OpenJPA runtime tracks the {@link Auditable auditable} instances and invoke
  * implementation of this interface within a transaction.
  * <br>
  * The user implementation of this interface is configurable via
  * standard OpenJPA plug-in configuration framework.
  * 
  * @author Pinaki Poddar
- *
+ * @since 2.2.0
  */
 public interface Auditor extends Configurable, Closeable {
 	/**

Added: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/audit/package.html
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/audit/package.html?rev=1383728&view=auto
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/audit/package.html (added)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/audit/package.html Wed Sep 12 01:25:13 2012
@@ -0,0 +1,27 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you 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.   
+-->
+<html>
+<body>
+<p><strong>OpenJPA Audit Facility</strong></p>
+
+<p>
+    Audit facility for OpenJPA.
+</p>
+</body>
+</html>

Propchange: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/audit/package.html
------------------------------------------------------------------------------
    svn:eol-style = native