joafip-svn Mailing List for java data object persistence in file (Page 7)
Brought to you by:
luc_peuvrier
You can subscribe to this list here.
| 2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(4) |
Oct
(102) |
Nov
(52) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2012 |
Jan
(4) |
Feb
|
Mar
(14) |
Apr
(116) |
May
(100) |
Jun
(14) |
Jul
|
Aug
|
Sep
(30) |
Oct
|
Nov
(108) |
Dec
(2) |
|
From: <luc...@us...> - 2012-06-03 07:06:16
|
Revision: 3104
http://joafip.svn.sourceforge.net/joafip/?rev=3104&view=rev
Author: luc_peuvrier
Date: 2012-06-03 07:06:09 +0000 (Sun, 03 Jun 2012)
Log Message:
-----------
mavenization upgrade
Modified Paths:
--------------
trunk/joafip/doc/_todo.txt
trunk/joafip/pom.xml
trunk/joafip-4test/pom.xml
trunk/joafip-heapfile/pom.xml
trunk/joafip-kvstore/pom.xml
trunk/joafip-parent/LICENSE.txt
trunk/joafip-parent/pom.xml
Added Paths:
-----------
trunk/joafip-parent/dist.bat
trunk/joafip-parent/src/
trunk/joafip-parent/src/assemble/
trunk/joafip-parent/src/assemble/bin-dist.xml
trunk/joafip-parent/src/assemble/src-dist.xml
Removed Paths:
-------------
trunk/joafip/src/mtest/
trunk/joafip/src/testsuite/
trunk/joafip/src/tools/
Modified: trunk/joafip/doc/_todo.txt
===================================================================
--- trunk/joafip/doc/_todo.txt 2012-06-01 18:18:06 UTC (rev 3103)
+++ trunk/joafip/doc/_todo.txt 2012-06-03 07:06:09 UTC (rev 3104)
@@ -839,6 +839,11 @@
JPA
--------------------------------------------------------------------------------
+jmvanel start something ....
+http://www.jpab.org/Home.html
+http://www.objectdb.com/
+Copyright © 2010-2012 ObjectDB Software
+
--------------------------------------------------------------------------------
JDO
--------------------------------------------------------------------------------
Modified: trunk/joafip/pom.xml
===================================================================
--- trunk/joafip/pom.xml 2012-06-01 18:18:06 UTC (rev 3103)
+++ trunk/joafip/pom.xml 2012-06-03 07:06:09 UTC (rev 3104)
@@ -4,13 +4,12 @@
<parent>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-parent</artifactId>
- <version>1.0.0</version>
+ <version>4.0.0b8</version>
<relativePath>../joafip-parent</relativePath>
</parent>
<!-- <groupId>net.sf.joafip</groupId> -->
<artifactId>joafip</artifactId>
<packaging>jar</packaging>
- <version>4.0.0b8</version>
<url>http://joafip.sourceforge.net/</url>
<name>Joafip core</name>
@@ -22,19 +21,16 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-asm</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-common</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-common</artifactId>
- <version>4.0.0b8</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
@@ -42,25 +38,21 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-collection</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-kvstore</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-heapfile</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-heapfile</artifactId>
- <version>4.0.0b8</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
@@ -68,14 +60,12 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-rbtree</artifactId>
- <version>4.0.0b8</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-rbtree</artifactId>
- <version>4.0.0b8</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
@@ -83,13 +73,11 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-file</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-file</artifactId>
- <version>4.0.0b8</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
@@ -97,27 +85,24 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-callback</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-meminspector</artifactId>
- <version>4.0.0b8</version>
<scope>test</scope>
</dependency>
<dependency>
- <groupId>gnu.trove</groupId>
- <artifactId>trove</artifactId>
- <version>2.0.4</version>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-log4j</artifactId>
<scope>test</scope>
</dependency>
<dependency>
- <groupId>net.sf.joafip</groupId>
- <artifactId>joafip-log4j</artifactId>
- <version>4.0.0b8</version>
+ <groupId>gnu.trove</groupId>
+ <artifactId>trove</artifactId>
+ <version>2.0.4</version>
<scope>test</scope>
</dependency>
Modified: trunk/joafip-4test/pom.xml
===================================================================
--- trunk/joafip-4test/pom.xml 2012-06-01 18:18:06 UTC (rev 3103)
+++ trunk/joafip-4test/pom.xml 2012-06-03 07:06:09 UTC (rev 3104)
@@ -7,7 +7,6 @@
<version>4.0.0b8</version>
<relativePath>../joafip-parent</relativePath>
</parent>
- <!-- <groupId>net.sf.joafip</groupId> -->
<artifactId>joafip-4test</artifactId>
<packaging>jar</packaging>
<url>http://joafip.sourceforge.net/</url>
Modified: trunk/joafip-heapfile/pom.xml
===================================================================
--- trunk/joafip-heapfile/pom.xml 2012-06-01 18:18:06 UTC (rev 3103)
+++ trunk/joafip-heapfile/pom.xml 2012-06-03 07:06:09 UTC (rev 3104)
@@ -44,6 +44,11 @@
<dependency>
<groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-rbtree</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
<artifactId>joafip-file</artifactId>
</dependency>
Modified: trunk/joafip-kvstore/pom.xml
===================================================================
--- trunk/joafip-kvstore/pom.xml 2012-06-01 18:18:06 UTC (rev 3103)
+++ trunk/joafip-kvstore/pom.xml 2012-06-03 07:06:09 UTC (rev 3104)
@@ -33,6 +33,7 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-rbtree</artifactId>
+ <scope>test</scope>
</dependency>
<dependency>
Modified: trunk/joafip-parent/LICENSE.txt
===================================================================
--- trunk/joafip-parent/LICENSE.txt 2012-06-01 18:18:06 UTC (rev 3103)
+++ trunk/joafip-parent/LICENSE.txt 2012-06-03 07:06:09 UTC (rev 3104)
@@ -1,6 +1,6 @@
LICENSE.txt JOAFIP project license
-Copyright 2011 Luc Peuvrier
+Copyright 2017-2012 Luc Peuvrier
JOAFIP is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License.
Added: trunk/joafip-parent/dist.bat
===================================================================
--- trunk/joafip-parent/dist.bat (rev 0)
+++ trunk/joafip-parent/dist.bat 2012-06-03 07:06:09 UTC (rev 3104)
@@ -0,0 +1,4 @@
+@echo off
+@rem create distribution
+call mvn package assembly:assembly
+pause
\ No newline at end of file
Modified: trunk/joafip-parent/pom.xml
===================================================================
--- trunk/joafip-parent/pom.xml 2012-06-01 18:18:06 UTC (rev 3103)
+++ trunk/joafip-parent/pom.xml 2012-06-03 07:06:09 UTC (rev 3104)
@@ -318,6 +318,34 @@
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.3</version>
+ <configuration>
+ <descriptors>
+ <descriptor>src/assemble/bin-dist.xml</descriptor>
+ <descriptor>src/assemble/src-dist.xml</descriptor>
+ </descriptors>
+ <finalName>joafip-${joafip.version}</finalName>
+ <executions>
+ <execution>
+ <id>bin-dist</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>src-dist</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </configuration>
+ </plugin>
</plugins>
</build>
Added: trunk/joafip-parent/src/assemble/bin-dist.xml
===================================================================
--- trunk/joafip-parent/src/assemble/bin-dist.xml (rev 0)
+++ trunk/joafip-parent/src/assemble/bin-dist.xml 2012-06-03 07:06:09 UTC (rev 3104)
@@ -0,0 +1,35 @@
+<assembly
+ xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
+ <id>bin-dist</id>
+ <formats>
+ <format>zip</format>
+ <format>tar.gz</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <moduleSets>
+ <moduleSet>
+ <!-- Enable access to all projects in the current multimodule build! -->
+ <useAllReactorProjects>true</useAllReactorProjects>
+
+ <!-- Now, select which projects to include in this module-set. -->
+ <!-- <includes> <include>org.test:child1</include> </includes> -->
+ <binaries>
+ <!-- <outputDirectory>modules/${artifactId}</outputDirectory> -->
+ <outputDirectory>/</outputDirectory>
+ <unpack>false</unpack>
+ </binaries>
+ </moduleSet>
+ </moduleSets>
+ <fileSets>
+ <fileSet>
+ <outputDirectory>/</outputDirectory>
+ <includes>
+ <include>README*</include>
+ <include>NOTICE*</include>
+ <include>LICENSE*</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+</assembly>
\ No newline at end of file
Added: trunk/joafip-parent/src/assemble/src-dist.xml
===================================================================
--- trunk/joafip-parent/src/assemble/src-dist.xml (rev 0)
+++ trunk/joafip-parent/src/assemble/src-dist.xml 2012-06-03 07:06:09 UTC (rev 3104)
@@ -0,0 +1,36 @@
+<assembly
+ xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
+ <id>src-dist</id>
+ <formats>
+ <format>zip</format>
+ <format>tar.gz</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <moduleSets>
+ <moduleSet>
+ <sources>
+ <excludeSubModuleDirectories>false</excludeSubModuleDirectories>
+ <fileSets>
+ <fileSet>
+ <directory>src</directory>
+ <excludes>
+ <exclude>target/**</exclude>
+ </excludes>
+ </fileSet>
+ </fileSets>
+ </sources>
+ </moduleSet>
+ </moduleSets>
+<!-- <fileSets>
+ <fileSet>
+ <outputDirectory>/</outputDirectory>
+ <includes>
+ <include>README*</include>
+ <include>NOTICE*</include>
+ <include>LICENSE*</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+ --></assembly>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <luc...@us...> - 2012-06-03 07:06:16
|
Revision: 3104
http://joafip.svn.sourceforge.net/joafip/?rev=3104&view=rev
Author: luc_peuvrier
Date: 2012-06-03 07:06:09 +0000 (Sun, 03 Jun 2012)
Log Message:
-----------
mavenization upgrade
Modified Paths:
--------------
trunk/joafip/doc/_todo.txt
trunk/joafip/pom.xml
trunk/joafip-4test/pom.xml
trunk/joafip-heapfile/pom.xml
trunk/joafip-kvstore/pom.xml
trunk/joafip-parent/LICENSE.txt
trunk/joafip-parent/pom.xml
Added Paths:
-----------
trunk/joafip-parent/dist.bat
trunk/joafip-parent/src/
trunk/joafip-parent/src/assemble/
trunk/joafip-parent/src/assemble/bin-dist.xml
trunk/joafip-parent/src/assemble/src-dist.xml
Removed Paths:
-------------
trunk/joafip/src/mtest/
trunk/joafip/src/testsuite/
trunk/joafip/src/tools/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <luc...@us...> - 2012-06-01 18:18:12
|
Revision: 3103
http://joafip.svn.sourceforge.net/joafip/?rev=3103&view=rev
Author: luc_peuvrier
Date: 2012-06-01 18:18:06 +0000 (Fri, 01 Jun 2012)
Log Message:
-----------
for 4.0.0b8 deployment
Modified Paths:
--------------
trunk/joafip-parent/deploy_compiled_tested_by_eclipse.bat
trunk/joafip-parent/pom.xml
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <luc...@us...> - 2012-06-01 18:18:12
|
Revision: 3103
http://joafip.svn.sourceforge.net/joafip/?rev=3103&view=rev
Author: luc_peuvrier
Date: 2012-06-01 18:18:06 +0000 (Fri, 01 Jun 2012)
Log Message:
-----------
for 4.0.0b8 deployment
Modified Paths:
--------------
trunk/joafip-parent/deploy_compiled_tested_by_eclipse.bat
trunk/joafip-parent/pom.xml
Modified: trunk/joafip-parent/deploy_compiled_tested_by_eclipse.bat
===================================================================
--- trunk/joafip-parent/deploy_compiled_tested_by_eclipse.bat 2012-05-29 05:01:17 UTC (rev 3102)
+++ trunk/joafip-parent/deploy_compiled_tested_by_eclipse.bat 2012-06-01 18:18:06 UTC (rev 3103)
@@ -1,4 +1,4 @@
-@echo off
-@rem deploy from eclipse compilation
-call mvn deploy -P compiled_tested_by_eclipse
+@echo off
+@rem deploy from eclipse compilation
+call mvn deploy -P compiled_tested_by_eclipse
pause
\ No newline at end of file
Modified: trunk/joafip-parent/pom.xml
===================================================================
--- trunk/joafip-parent/pom.xml 2012-05-29 05:01:17 UTC (rev 3102)
+++ trunk/joafip-parent/pom.xml 2012-06-01 18:18:06 UTC (rev 3103)
@@ -100,7 +100,7 @@
<uniqueVersion>false</uniqueVersion>
<id>repository.joafip.sf.net</id>
<name>JOAFIP Repository</name>
- <url>sftp://web.sourceforge.net/home/groups/j/jo/joafip/htdocs/maven2</url>
+ <url>sftp://web.sourceforge.net/home/groups/j/jo/joafip/htdocs</url>
<layout>default</layout>
</repository>
<!-- <snapshotRepository> <uniqueVersion>true</uniqueVersion> <id>propSnap</id>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <luc...@us...> - 2012-05-29 05:01:25
|
Revision: 3102
http://joafip.svn.sourceforge.net/joafip/?rev=3102&view=rev
Author: luc_peuvrier
Date: 2012-05-29 05:01:17 +0000 (Tue, 29 May 2012)
Log Message:
-----------
license added. java.util.Collection replacement. file access mode
Modified Paths:
--------------
web/collections/collection.html
web/conversion/conversion.html
web/data_model_change/data_model_change.html
web/database/dbvsjoafip.html
web/export_import/export_import.html
web/faq/faq.html
web/fr/collections/collection.html
web/fr/database/dbvsjoafip.html
web/fr/howitworks/howitworks.html
web/fr/index.html
web/fr/opposite.html
web/fr/presentation/autosave.html
web/fr/presentation/features.html
web/fr/presentation/ppojo.html
web/getting_started_in_joafip_usage.html
web/howitworks/datarecord.html
web/howitworks/graph_in_key_value_store.html
web/impl/heapfile/heapfile.html
web/impl/memoryleak/memoryleak.html
web/impl/proxy/proxy.html
web/impl/treelist/treelist.html
web/index.html
web/irc.freenode.net.joafip.html
web/javadoc.html
web/maven.html
web/olderweb.html
web/opposite.html
web/perf/perf.html
web/presentation/autosave.html
web/presentation/descriptor.html
web/presentation/features.html
web/presentation/javaagent.html
web/presentation/ppojo.html
web/presentation/properties.html
web/presentation/specificfile_io.html
web/presentation/states.html
web/sample/sample.html
web/schema/index.html
web/sources.html
Modified: web/collections/collection.html
===================================================================
--- web/collections/collection.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/collections/collection.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -41,20 +41,19 @@
<br>
So the below collection are provided by JOAFIP to have a
more efficient persistence:</p>
-<p style="margin-left: 1.06cm; margin-bottom: 0cm;">PLinkedList
-(*) - a linked list, see PTreeList alternative<br>
-PTreeList (*)(**) - a tree linked list<br>
-PArrayList (*) (**)- an array list, see PTreeList alternative<br>
-PLinkedHashSet (*)(**) - a linked hashset, see PLinkedTreeSet when
-element are comparable<br>
-PLinkedTreeSet (**) - a linked treeset<br>
-PHashSet
-(*)<br>
-PTreeSet<br>
-PLinkedHashMap (*)<br>
-PHashMap (*)<br>
-PTreeMap<br>
-</p>
+<p style="margin-left: 1.06cm; margin-bottom: 0cm;"><span style="font-weight: bold;">PLinkedList</span>
+(*) - a linked list as java.util.LinkedList, see PTreeList alternative<br><span style="font-weight: bold;">
+PTreeList</span> (*)(**) - a tree linked list<br><span style="font-weight: bold;">
+PArrayList</span> (*) (**)- an array list as java.util.ArrayList, see PTreeList alternative<br><span style="font-weight: bold;">
+PLinkedHashSet</span> (*)(**) - a linked hashset as java.util.LinkedHashSet, see PLinkedTreeSet when
+element are comparable<br><span style="font-weight: bold;">
+PLinkedTreeSet</span> (**) - a linked treeset<br><span style="font-weight: bold;">
+PHashSet</span>
+(*) as java.util.HashSet<br><span style="font-weight: bold;">
+PTreeSet</span> as java.util.TreeSet<br><span style="font-weight: bold;">
+PLinkedHashMap</span> (*) as java.util.LinkedHashMap<br><span style="font-weight: bold;">
+PHashMap</span> (*) as java.util.HashMap<br><span style="font-weight: bold;">
+PTreeMap</span> as java.util.TreeMap</p><p style="margin-left: 1.06cm; margin-bottom: 0cm;">Wrapper factory implementation <span style="font-weight: bold;">PCollections</span> to obtains here below collecction wrapper implementation:</p><ul><ul><li><span style="font-weight: bold;">PCopiesList</span> obtained by (P)Collections.nCopies</li><li><span style="font-weight: bold;">PEmptyList </span>obtained by (P)Collections.emptyList</li><li><span style="font-weight: bold;">PEmptyMap </span>obtained by (P)Collections.emptyMap</li><li><span style="font-weight: bold;">PEmptySet </span>obtained by (P)Collections.emptySet</li><li><span style="font-weight: bold;">PLIFOQueue </span>obtained by (P)Collections.asLifoQueue</li><li><span style="font-weight: bold;">PSetFromMap </span>obtained by (P)Collections.newSetFromMap</li><li><span style="font-weight: bold;">PSingletonSet </span>obtained by (P)Collections.singleton</li><li><span style="font-weight: bold;">PSingletonList</span> obtained by (P)Collections.singletonList</li><li><span style="font-weight: bold;">PSingletonMap</span> obtained by (P)Collections.singletonMap</li><li><span style="font-weight: bold;">PSynchronizedCollection </span>obtained by (P)Collections.synchronizedCollection</li><li><span style="font-weight: bold;">PSynchronizedList </span>obtained by (P)Collections.synchronizedList</li><li><span style="font-weight: bold;">PSynchronizedMap </span>obtained by (P)Collections.synchronizedMap</li><li><span style="font-weight: bold;">PSynchronizedSet </span>obtained by (P)Collections.synchronizedSet</li><li><span style="font-weight: bold;">PSynchronizedSortedMap </span>obtained by (P)Collections.synchronizedSortedMap</li><li><span style="font-weight: bold;">PSynchronizedSortedSet </span>obtained by (P)Collections.synchronizedSortedSet</li><li><span style="font-weight: bold;">PUnmodifiableList </span>obtained by (P)Collections.unmodifiableList</li><li><span style="font-weight: bold;">PUnmodifiableCollection </span>obtained by (P)Collections.unmodifiableCollection</li><li><span style="font-weight: bold;">PUnmodifiableMap </span>obtained by (P)Collections.unmodifiableMap</li><li><span style="font-weight: bold;">PUnmodifiableSet </span>obtained by (P)Collections.unmodifiableSet</li><li><span style="font-weight: bold;">PUnmodifiableSortedMap </span>obtained by (P)Collections.unmodifiableSortedMap</li><li><span style="font-weight: bold;">PUnmodifiableSortedSet </span>obtained by (P)Collections.unmodifiableSortedSet</li></ul></ul>
<p style="margin-left: 1.06cm; margin-bottom: 0cm; font-weight: bold;">additional
JOAFIP feature:</p>
<p style="margin-left: 1.06cm; margin-bottom: 0cm;">all
@@ -90,5 +89,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">© 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+© 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/conversion/conversion.html
===================================================================
--- web/conversion/conversion.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/conversion/conversion.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -159,5 +159,9 @@
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
<hr style="width: 100%; height: 2px;">
-<p style="margin-bottom: 0cm;">© 2007-2011, joafip</p>
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+© 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/data_model_change/data_model_change.html
===================================================================
--- web/data_model_change/data_model_change.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/data_model_change/data_model_change.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -80,5 +80,9 @@
</div>
<hr style="width: 100%; height: 2px;">
<hr style="width: 100%; height: 2px;">
-<p style="margin-bottom: 0cm;">© 2007-2011, joafip</p>
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+© 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/database/dbvsjoafip.html
===================================================================
--- web/database/dbvsjoafip.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/database/dbvsjoafip.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -483,5 +483,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">© 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+© 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/export_import/export_import.html
===================================================================
--- web/export_import/export_import.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/export_import/export_import.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -125,5 +125,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">© 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+© 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/faq/faq.html
===================================================================
--- web/faq/faq.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/faq/faq.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -32,7 +32,8 @@
<h2><a name="1"></a>1) saving is slow</h2>
Activation
of file cache really boost file access speed. You should try different
-cache size to find the best compromise between speed and memory usage<br><br>
+cache size to find the best compromise between speed and memory usage<br>
+<br>
<hr style="width: 100%; height: 2px;">
<div style="text-align: center;"><a href="../questionnaire.html">feedback / send your comments</a><br>
<img style="border: 0px solid ; width: 277px; height: 27px;" alt="mail to luc peuvrier" src="../images/mail.gif" name="images1"><br>
@@ -42,5 +43,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">© 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+© 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/fr/collections/collection.html
===================================================================
--- web/fr/collections/collection.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/fr/collections/collection.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -92,5 +92,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">© 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+© 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/fr/database/dbvsjoafip.html
===================================================================
--- web/fr/database/dbvsjoafip.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/fr/database/dbvsjoafip.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -479,5 +479,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">© 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+© 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/fr/howitworks/howitworks.html
===================================================================
--- web/fr/howitworks/howitworks.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/fr/howitworks/howitworks.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -204,5 +204,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">© 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+© 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/fr/index.html
===================================================================
--- web/fr/index.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/fr/index.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -417,5 +417,9 @@
<hr style="width: 100%; height: 2px;">
<div style="text-align: center;"><a href="questionnaire.html">feedback / send your comments</a><br>
</div>
-<hr style="width: 100%; height: 2px;">© 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+© 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/fr/opposite.html
===================================================================
--- web/fr/opposite.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/fr/opposite.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -118,5 +118,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">© 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+© 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/fr/presentation/autosave.html
===================================================================
--- web/fr/presentation/autosave.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/fr/presentation/autosave.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -343,5 +343,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">© 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+© 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/fr/presentation/features.html
===================================================================
--- web/fr/presentation/features.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/fr/presentation/features.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -853,5 +853,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">© 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+© 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/fr/presentation/ppojo.html
===================================================================
--- web/fr/presentation/ppojo.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/fr/presentation/ppojo.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -583,5 +583,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">© 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+© 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/getting_started_in_joafip_usage.html
===================================================================
--- web/getting_started_in_joafip_usage.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/getting_started_in_joafip_usage.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -15,7 +15,8 @@
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
-</script> <h1 style="font-family: monospace;">Getting started in
+</script>
+<h1 style="font-family: monospace;">Getting started in
JOAFIP usage</h1>
<span style="font-family: monospace;"></span>
<hr style="width: 100%; height: 2px; font-family: monospace;"><span style="font-family: monospace;">by the example: </span><a style="font-family: monospace;" href="sample/sample.html">code
@@ -139,4 +140,9 @@
}</div>
<span style="font-family: monospace;">}</span><br style="font-family: monospace;">
<br style="font-family: monospace;">
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+© 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/howitworks/datarecord.html
===================================================================
--- web/howitworks/datarecord.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/howitworks/datarecord.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -166,5 +166,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">\xA9 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+\xA9 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/howitworks/graph_in_key_value_store.html
===================================================================
--- web/howitworks/graph_in_key_value_store.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/howitworks/graph_in_key_value_store.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -125,5 +125,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">© 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+© 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/impl/heapfile/heapfile.html
===================================================================
--- web/impl/heapfile/heapfile.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/impl/heapfile/heapfile.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -524,5 +524,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">\xA9 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+\xA9 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/impl/memoryleak/memoryleak.html
===================================================================
--- web/impl/memoryleak/memoryleak.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/impl/memoryleak/memoryleak.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -143,5 +143,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">\xA9 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+\xA9 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/impl/proxy/proxy.html
===================================================================
--- web/impl/proxy/proxy.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/impl/proxy/proxy.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -40,7 +40,9 @@
appears to hard to do this using cglib, so asm is used to do the
minimum enhancement need by joafip: only call an interception method
before execute the original method. This have a fasted execution than
-with cglib, but cglib enable more things.</p><p></p><p></p>
+with cglib, but cglib enable more things.</p>
+<p></p>
+<p></p>
<hr style="width: 100%; height: 2px;">
<div style="text-align: center;"><a href="../../questionnaire.html">feedback / send your comments</a><br>
<img style="border: 0px solid ; width: 277px; height: 27px;" alt="mail to luc peuvrier" src="../../images/mail.gif" name="images1"><br>
@@ -50,5 +52,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">\xA9 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+\xA9 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/impl/treelist/treelist.html
===================================================================
--- web/impl/treelist/treelist.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/impl/treelist/treelist.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -191,5 +191,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">\xA9 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+\xA9 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/index.html
===================================================================
--- web/index.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/index.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -23,7 +23,9 @@
</style>
<style type="text/css">
@import url(http://www.google.fr/cse/api/branding.css);
-</style><meta content="luc peuvrier" name="author"></head>
+</style>
+<meta content="luc peuvrier" name="author">
+</head>
<body style="direction: ltr; color: rgb(0, 0, 0);">
<script type="text/javascript"><!--
google_ad_client = "pub-9679286798235950";
@@ -31,7 +33,9 @@
google_ad_slot = "2109077196";
google_ad_width = 468;
google_ad_height = 60;
-//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script><br><a href="fr/index.html">En Français</a><br>
+//--></script>
+<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script><br>
+<a href="fr/index.html">En Français</a><br>
<table style="page-break-before: always;" border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
@@ -44,7 +48,8 @@
<p align="center">Between serialization in
file and database solution<br>
Much more than a simple persistent map, nor a simple key-value store<br>
-Object graph in memory backed by file<br>Enable to manage object data graph larger than memory</p>
+Object graph in memory backed by file<br>
+Enable to manage object data graph larger than memory</p>
<p align="center"><a href="getting_started_in_joafip_usage.html">Getting started
in joafip usage</a></p>
<p align="left">It is kind of intelligent
@@ -69,8 +74,12 @@
contact us to have joafip web site referencing your project. </p>
</div>
<p style="margin-bottom: 0cm;" align="center"> <br>
-release 3.1.0b1 available</p><p style="margin-bottom: 0cm;" align="center">4.0.0 in development</p><p style="margin-bottom: 0cm;" align="center"><a name="questionnaire"></a><a href="questionnaire.html">feedback questionnaire</a></p>
-<p align="left"><a href="olderweb.html">older pages</a></p>
+release 3.1.0b1 available</p>
+<p style="margin-bottom: 0cm;" align="center">4.0.0
+in development</p>
+<p style="margin-bottom: 0cm;" align="center"><a name="questionnaire"></a><a href="questionnaire.html">feedback questionnaire</a></p>
+<p align="left"><a href="olderweb.html">older
+pages</a></p>
</td>
</tr>
</tbody>
@@ -78,7 +87,8 @@
<p><br>
<img style="border: 0px solid ; width: 277px; height: 27px;" alt="mail to luc peuvrier" src="images/mail.gif" name="images1"><br>
do not hesitate to seek support<br>
-<big><big><a href="irc.freenode.net.joafip.html">chat channel</a></big></big><br>
+<big><big><a href="irc.freenode.net.joafip.html">chat
+channel</a></big></big><br>
<big><big><a href="http://lists.sourceforge.net/mailman/listinfo/joafip-users">joafip
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big></p>
@@ -89,15 +99,13 @@
<a href="http://sourceforge.net/donate/index.php?group_id=203204"><img src="http://images.sourceforge.net/images/project-support.jpg" name="images3" align="bottom" border="0" height="32" width="88"></a></p>
</td>
</tr>
-
</tbody>
</table>
<!-- google search -->
<div class="cse-branding-bottom" style="background-color: rgb(255, 255, 255); color: rgb(0, 0, 0);">
<div class="cse-branding-form">
<form action="http://www.google.fr/cse" id="cse-search-box" target="_blank">
-<div><input name="cx" value="partner-pub-9679286798235950:fsuil7wjo1p" type="hidden"><input name="ie" value="UTF-8" type="hidden"><input name="q" size="31" type="text">
-<input name="sa" value="Search" type="submit"></div>
+<div><input name="cx" value="partner-pub-9679286798235950:fsuil7wjo1p" type="hidden"><input name="ie" value="UTF-8" type="hidden"><input name="q" size="31" type="text"><input name="sa" value="Search" type="submit"></div>
</form>
</div>
<div class="cse-branding-logo">
@@ -162,7 +170,8 @@
<p><br>
<br>
</p>
-<p>This library is free software, <a href="#license"></a>freely usable for personal or commercial purposes according to the <a href="#license">license</a>. </p>
+<p>This library is free software, freely usable for
+personal or commercial purposes according to the <a href="#license">license</a>. </p>
</td>
</tr>
</tbody>
@@ -186,7 +195,8 @@
</li>
<li>
<p style="margin-bottom: 0cm;">object oriented, write
-your model, populate with object and store it. Do not need query language, just navigate in your
+your model, populate with object and store it. Do not need query
+language, just navigate in your
model (getter call). </p>
</li>
<li>
@@ -317,15 +327,20 @@
<ul>
<li>
<p style="margin-bottom: 0cm;"><a name="ses_esl"></a>used
-in <a href="http://www.ses-esl.com/">Store Electronic Systems</a> application that had trigger the project
-joafip, since November 2008<br><br>
-<font color="#000000"><a href="http://www.ses-esl.com/"><font color="#000080"></font></a><font color="#000080"><a href="http://www.store-electronic-systems.com/"><img style="border: 2px solid ; width: 393px; height: 39px;" alt="store electronic systems" src="images/big_ses_esl.png" name="images6"></a></font></font></p></li><br>
+in <a href="http://www.ses-esl.com/">Store Electronic
+Systems</a> application that had trigger the project
+joafip, since November 2008<br>
+<br>
+<font color="#000000"><font color="#000080"><a href="http://www.store-electronic-systems.com/"><img style="border: 2px solid ; width: 393px; height: 39px;" alt="store electronic systems" src="images/big_ses_esl.png" name="images6"></a></font></font></p>
+</li>
+<br>
<li><a name="CNRS"></a>used by <a href="http://npa.snv.jussieu.fr/eq/equipe.php?eq=enmvi&lang=en">UMR
7102 equipe ENMVI</a> of <a href="http://www.cnrs.fr/">CNRS</a>
in application making calculation of behavioral parameters on data
-derived from experiments in rodents.<br><br><br>
+derived from experiments in rodents.<br>
+<br>
+<br>
<img style="width: 170px; height: 170px;" alt="CNRS" src="images/CNRSfr.jpg"></li>
-
</ul>
<p style="margin-left: 1.06cm;"><a href="#musing">BACK</a></p>
<h2 class="western"><a name="license"></a>License:</h2>
@@ -388,7 +403,12 @@
<p style="margin-bottom: 0cm;"><br>
<a href="http://www.atoutsweb.com/" target="_blank">Atoutsweb,
services pour webmaster</a></p>
-<hr style="width: 100%; height: 2px;"><div style="text-align: center;"><a href="questionnaire.html">feedback / send your comments</a><br>
+<hr style="width: 100%; height: 2px;">
+<div style="text-align: center;"><a href="questionnaire.html">feedback / send your comments</a><br>
</div>
-<hr style="width: 100%; height: 2px;">© 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+© 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/irc.freenode.net.joafip.html
===================================================================
--- web/irc.freenode.net.joafip.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/irc.freenode.net.joafip.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -1,5 +1,5 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head></head>
-<body><br><big>You can chat at <span style="font-weight: bold;">irc.freenode.net</span> in <span style="font-weight: bold;">#joafip</span> channel<br>My nickname is <span style="font-weight: bold;">lcpvrr</span><br>Below a IRC client, but I like to us <a href="http://www.pidgin.im/">pidgin</a>.<br></big><br>
+<body><br><big>You can chat at <span style="font-weight: bold;">irc.freenode.net</span> in <span style="font-weight: bold;">#joafip</span> channel<br>My nickname is <span style="font-weight: bold;">lcpvrr</span><br>Below a IRC client, but I like to use <a href="http://www.pidgin.im/">pidgin</a>.<br></big><br>
<iframe src="http://webchat.freenode.net?channels=joafip&uio=d4" height="400" width="800"></iframe>
</body></html>
\ No newline at end of file
Modified: web/javadoc.html
===================================================================
--- web/javadoc.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/javadoc.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -6,7 +6,8 @@
<meta name="AUTHOR" content="luc peuvrier">
<meta name="CREATED" content="0;0">
<meta name="CHANGEDBY" content="luc peuvrier">
-<meta name="CHANGED" content="20091217;12391100"></head>
+<meta name="CHANGED" content="20091217;12391100">
+</head>
<body style="direction: ltr;" lang="en-US">
<script type="text/javascript"><!--
google_ad_client = "pub-9679286798235950";
@@ -19,8 +20,8 @@
<hr style="width: 100%; height: 2px;">
<div style="text-align: center;"><a href="questionnaire.html">feedback / send your comments</a><br>
</div>
-<hr style="width: 100%; height: 2px;"><h1>Joafip javadoc link</h1>
-
+<hr style="width: 100%; height: 2px;">
+<h1>Joafip javadoc link</h1>
<h2>File persistence</h2>
<ul>
<li>
@@ -60,5 +61,9 @@
<hr style="width: 100%; height: 2px;">
<div style="text-align: center;"><a href="questionnaire.html">feedback / send your comments</a><br>
</div>
-<hr style="width: 100%; height: 2px;">\xA9 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+\xA9 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/maven.html
===================================================================
--- web/maven.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/maven.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -57,5 +57,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">\xA9 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+\xA9 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/olderweb.html
===================================================================
--- web/olderweb.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/olderweb.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -89,5 +89,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">\xA9 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+\xA9 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/opposite.html
===================================================================
--- web/opposite.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/opposite.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -116,5 +116,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">© 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+© 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/perf/perf.html
===================================================================
--- web/perf/perf.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/perf/perf.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -83,5 +83,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">© 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+© 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/presentation/autosave.html
===================================================================
--- web/presentation/autosave.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/presentation/autosave.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -337,5 +337,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">© 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+© 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/presentation/descriptor.html
===================================================================
--- web/presentation/descriptor.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/presentation/descriptor.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -107,5 +107,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">© 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+© 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/presentation/features.html
===================================================================
--- web/presentation/features.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/presentation/features.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -834,5 +834,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">© 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+© 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/presentation/javaagent.html
===================================================================
--- web/presentation/javaagent.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/presentation/javaagent.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -177,5 +177,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">\xA9 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+\xA9 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/presentation/ppojo.html
===================================================================
--- web/presentation/ppojo.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/presentation/ppojo.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -604,5 +604,9 @@
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</p>
<hr>
-<p>\xA9 2007-2011, joafip </p>
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+\xA9 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/presentation/properties.html
===================================================================
--- web/presentation/properties.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/presentation/properties.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -49,9 +49,7 @@
<h2>below the properties definitions:</h2>
<p style="margin-left: 1.06cm;">joafip.path=<b><directory
path
-where store files></b><br>
-</p>
-<p style="margin-left: 1.06cm; margin-bottom: 0cm;">joafip.dataFileName=<<span style="font-weight: bold;">file name</span>></p>
+where store files></b> <br></p><p style="margin-left: 1.06cm;">joafip.fileAccessMode=<span style="font-weight: bold;"><file access mode></span></p><ul><ul><li>random</li><li>nio</li><li>mapped</li></ul></ul><p style="margin-left: 1.06cm; margin-bottom: 0cm;">joafip.numberOfFileBuffer=<span style="font-weight: bold;"><number of mapped buffer for mapped mode></span></p><p style="margin-left: 1.06cm; margin-bottom: 0cm;">joafip.fileBufferSize=<span style="font-weight: bold;"><mapped buffer size></span></p><p style="margin-left: 1.06cm; margin-bottom: 0cm;">joafip.dataFileName=<<span style="font-weight: bold;">file name</span>></p>
<p style="margin-left: 1.06cm; margin-bottom: 0cm;">joafip.backupDataFileName=<<span style="font-weight: bold;">file name</span>></p>
<p style="margin-left: 1.06cm; margin-bottom: 0cm;">joafip.stateOkFlagFileName=<<span style="font-weight: bold;">file name</span>></p>
<p style="margin-left: 1.06cm;">joafip.stateBackupOkFlagFileName=<<span style="font-weight: bold;">file name</span>></p>
@@ -296,5 +294,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">© 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+© 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/presentation/specificfile_io.html
===================================================================
--- web/presentation/specificfile_io.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/presentation/specificfile_io.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -43,5 +43,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">\xA9 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+\xA9 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/presentation/states.html
===================================================================
--- web/presentation/states.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/presentation/states.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -110,5 +110,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">\xA9 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+\xA9 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/sample/sample.html
===================================================================
--- web/sample/sample.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/sample/sample.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -65,5 +65,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">© 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+© 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/schema/index.html
===================================================================
--- web/schema/index.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/schema/index.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -14,9 +14,15 @@
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
-</script> <h1>XML Schema for JOAFIP</h1>
+</script>
+<h1>XML Schema for JOAFIP</h1>
<br>
<a href="joafip.xsd">xml export format schema</a><br>
<br>
<br>
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+© 2007-2012, joafip
</body></html>
\ No newline at end of file
Modified: web/sources.html
===================================================================
--- web/sources.html 2012-05-28 17:05:02 UTC (rev 3101)
+++ web/sources.html 2012-05-29 05:01:17 UTC (rev 3102)
@@ -1327,5 +1327,9 @@
users mailing list</a></big></big><br>
<big><big><a href="http://sourceforge.net/forum/?group_id=203204">forums</a></big></big>
</div>
-<hr style="width: 100%; height: 2px;">© 2007-2011, joafip
+<hr style="width: 100%; height: 2px;">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+<img alt="Creative Commons License" style="border-width: 0pt;" src="http://i.creativecommons.org/l/by/3.0/88x31.png"></a><br>
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>
+© 2007-2012, joafip
</body></html>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <luc...@us...> - 2012-05-29 05:01:23
|
Revision: 3102
http://joafip.svn.sourceforge.net/joafip/?rev=3102&view=rev
Author: luc_peuvrier
Date: 2012-05-29 05:01:17 +0000 (Tue, 29 May 2012)
Log Message:
-----------
license added. java.util.Collection replacement. file access mode
Modified Paths:
--------------
web/collections/collection.html
web/conversion/conversion.html
web/data_model_change/data_model_change.html
web/database/dbvsjoafip.html
web/export_import/export_import.html
web/faq/faq.html
web/fr/collections/collection.html
web/fr/database/dbvsjoafip.html
web/fr/howitworks/howitworks.html
web/fr/index.html
web/fr/opposite.html
web/fr/presentation/autosave.html
web/fr/presentation/features.html
web/fr/presentation/ppojo.html
web/getting_started_in_joafip_usage.html
web/howitworks/datarecord.html
web/howitworks/graph_in_key_value_store.html
web/impl/heapfile/heapfile.html
web/impl/memoryleak/memoryleak.html
web/impl/proxy/proxy.html
web/impl/treelist/treelist.html
web/index.html
web/irc.freenode.net.joafip.html
web/javadoc.html
web/maven.html
web/olderweb.html
web/opposite.html
web/perf/perf.html
web/presentation/autosave.html
web/presentation/descriptor.html
web/presentation/features.html
web/presentation/javaagent.html
web/presentation/ppojo.html
web/presentation/properties.html
web/presentation/specificfile_io.html
web/presentation/states.html
web/sample/sample.html
web/schema/index.html
web/sources.html
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <luc...@us...> - 2012-05-28 17:05:12
|
Revision: 3101
http://joafip.svn.sourceforge.net/joafip/?rev=3101&view=rev
Author: luc_peuvrier
Date: 2012-05-28 17:05:02 +0000 (Mon, 28 May 2012)
Log Message:
-----------
added PCollections and persitable collection wrapper as java.util.Collections
Modified Paths:
--------------
trunk/joafip/doc/_todo.txt
trunk/joafip/src/test/java/net/sf/joafip/service/sync/TestSynchronizedCollection.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/PAbstractCollection.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/PAbstractList.java
trunk/joafip-log4j/src/test/java/net/sf/joafip/logger/TestCreateLogger.java
Added Paths:
-----------
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/PListIterator.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PCollections.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PCopiesList.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PEmptyList.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PEmptyMap.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PEmptySet.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PLIFOQueue.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PNoModificiantIterator.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PNoModificiantListIterator.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PNoModificiantMapEntryIterator.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PReverseComparatorOfComparator.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PReverseComparatorOfNaturalOrder.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSetFromMap.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSingletonList.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSingletonMap.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSingletonSet.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSynchronizedCollection.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSynchronizedIterator.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSynchronizedList.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSynchronizedListIterator.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSynchronizedMap.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSynchronizedSet.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSynchronizedSortedMap.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSynchronizedSortedSet.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PUnmodifiableCollection.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PUnmodifiableEntry.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PUnmodifiableEntrySet.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PUnmodifiableList.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PUnmodifiableMap.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PUnmodifiableSet.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PUnmodifiableSortedMap.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PUnmodifiableSortedSet.java
Modified: trunk/joafip/doc/_todo.txt
===================================================================
--- trunk/joafip/doc/_todo.txt 2012-05-27 05:07:36 UTC (rev 3100)
+++ trunk/joafip/doc/_todo.txt 2012-05-28 17:05:02 UTC (rev 3101)
@@ -94,6 +94,8 @@
currently:
-------------------------------------------------------------------------------------
+Queue implementations
+
file input/output stream
- existing FileOutputStreamNIO
- create FileOutputStreamMapped to use instead of FileOutputStreamNIO
Modified: trunk/joafip/src/test/java/net/sf/joafip/service/sync/TestSynchronizedCollection.java
===================================================================
--- trunk/joafip/src/test/java/net/sf/joafip/service/sync/TestSynchronizedCollection.java 2012-05-27 05:07:36 UTC (rev 3100)
+++ trunk/joafip/src/test/java/net/sf/joafip/service/sync/TestSynchronizedCollection.java 2012-05-28 17:05:02 UTC (rev 3101)
@@ -1,6 +1,5 @@
package net.sf.joafip.service.sync;
-import java.util.Collections;
import java.util.Map;
import net.sf.joafip.AbstractDeleteFileTestCase;
@@ -9,6 +8,7 @@
import net.sf.joafip.TestException;
import net.sf.joafip.entity.EnumFilePersistenceCloseAction;
import net.sf.joafip.java.util.PTreeMap;
+import net.sf.joafip.java.util.collections.PCollections;
import net.sf.joafip.kvstore.entity.EnumFileAccessMode;
import net.sf.joafip.service.FilePersistenceBuilder;
import net.sf.joafip.service.FilePersistenceClassNotFoundException;
@@ -70,15 +70,10 @@
FilePersistenceDataCorruptedException,
FilePersistenceNotSerializableException,
FilePersistenceTooBigForSerializationException {
- // FIXMELUC ______________known problem to solve
- if (buildMode) {
- warnSkipped();
- return;
- }
final IDataAccessSession session = filePersistence
.createDataAccessSession();
PTreeMap<String, String> map = new PTreeMap<String, String>();
- Map<String, String> smap = Collections.synchronizedMap(map);
+ Map<String, String> smap = PCollections.synchronizedMap(null, map);
smap.put(KEY, "value");
session.open();
session.setObject(KEY, smap);
Modified: trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/PAbstractCollection.java
===================================================================
--- trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/PAbstractCollection.java 2012-05-27 05:07:36 UTC (rev 3100)
+++ trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/PAbstractCollection.java 2012-05-28 17:05:02 UTC (rev 3101)
@@ -41,10 +41,12 @@
super();
}
+ @Override
public boolean isEmpty() {
return size() == 0;
}
+ @Override
public boolean contains(final Object object) {
final Iterator<E> iterator = iterator();
boolean found = false;
@@ -60,6 +62,7 @@
return found;
}
+ @Override
public Object[] toArray() {
final Object[] array = new Object[size()];
final Iterator<E> iterator = iterator();
@@ -77,6 +80,7 @@
}
@SuppressWarnings("unchecked")
+ @Override
public <T> T[] toArray(final T[] toFillArray) {
final int size = size();
final T[] resultArray = toFillArray.length >= size ? toFillArray
@@ -96,6 +100,7 @@
return resultArray;
}
+ @Override
public boolean remove(final Object object) {
final Iterator<E> iterator = iterator();
boolean remove = false;
@@ -117,6 +122,7 @@
return remove;
}
+ @Override
public boolean containsAll(final Collection<?> collection) {
final Iterator<?> iterator = collection.iterator();
boolean containsAll = true;
@@ -126,6 +132,7 @@
return containsAll;
}
+ @Override
public boolean addAll(final Collection<? extends E> collection) {
boolean modified = false;
final Iterator<? extends E> iterator = collection.iterator();
@@ -135,6 +142,7 @@
return modified;
}
+ @Override
public boolean removeAll(final Collection<?> collection) {
boolean modified = false;
final Iterator<?> iterator = iterator();
@@ -147,6 +155,7 @@
return modified;
}
+ @Override
public boolean retainAll(final Collection<?> collection) {
boolean modified = false;
final Iterator<E> iterator = iterator();
@@ -159,14 +168,16 @@
return modified;
}
- // public void clear() {
- // Iterator<E> e = iterator();
- // while (e.hasNext()) {
- // e.next();
- // e.remove();
- // }
- // }
+ @Override
+ public void clear() {
+ final Iterator<E> iterator = iterator();
+ while (iterator.hasNext()) {
+ iterator.next();
+ iterator.remove();
+ }
+ }
+ @Override
public String toString() {
final Iterator<E> iterator = iterator();
final StringBuilder stringBuilder = new StringBuilder();
Modified: trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/PAbstractList.java
===================================================================
--- trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/PAbstractList.java 2012-05-27 05:07:36 UTC (rev 3100)
+++ trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/PAbstractList.java 2012-05-28 17:05:02 UTC (rev 3101)
@@ -22,6 +22,8 @@
*/
package net.sf.joafip.java.util;
+import java.util.Collection;
+import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;
@@ -87,9 +89,74 @@
return -1;
}
+ @Override
+ public E get(final int index) {
+ if (index < 0 || index >= size()) {
+ throw new IndexOutOfBoundsException("bad index " + index
+ + ", size is " + size());
+ }
+ E element = null;
+ final ListIterator<E> iterator = listIterator();
+ int count = -1;
+ while (count != index && iterator.hasNext()) {
+ element = iterator.next();
+ count++;
+ }
+ return element;
+ }
+
+ @Override
+ public boolean add(final E element) {
+ throw new UnsupportedOperationException();
+ }
+
+ @Override
+ public void add(final int index, final E element) {
+ throw new UnsupportedOperationException();
+ }
+
+ @Override
+ public E set(final int index, final E element) {
+ throw new UnsupportedOperationException();
+ }
+
+ @Override
+ public E remove(final int index) {
+ throw new UnsupportedOperationException();
+ }
+
+ @Override
+ public boolean addAll(final int startIndex,
+ final Collection<? extends E> collection) {
+ boolean modified = false;
+ final Iterator<? extends E> iterator = collection.iterator();
+ int index = startIndex;
+ while (iterator.hasNext()) {
+ add(index++, iterator.next());
+ modified = true;
+ }
+ return modified;
+ }
+
+ @Override
+ public Iterator<E> iterator() {
+ return listIterator();
+ }
+
+ @Override
+ public ListIterator<E> listIterator() {
+ return listIterator(0);
+ }
+
@SuppressWarnings("unchecked")
+ @Override
+ public ListIterator<E> listIterator(final int index) {
+ return PListIterator.newInstance(instanceFactory, this, index);
+ }
+
+ @SuppressWarnings("unchecked")
+ @Override
public List<E> subList(final int fromIndex, final int toIndex) {
- // return new PSubList<E>(this, fromIndex, toIndex);
return PSubList.newInstance(instanceFactory, this, fromIndex, toIndex);
}
}
Added: trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/PListIterator.java
===================================================================
--- trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/PListIterator.java (rev 0)
+++ trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/PListIterator.java 2012-05-28 17:05:02 UTC (rev 3101)
@@ -0,0 +1,148 @@
+/*
+ * Copyright 2012 Luc Peuvrier
+ * All rights reserved.
+ *
+ * This file is a part of JOAFIP.
+ *
+ * JOAFIP is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License.
+ *
+ * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE
+ * Licensed under the LGPL License, Version 3, 29 June 2007 (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.gnu.org/licenses/lgpl.html
+ *
+ * JOAFIP is distributed in the hope that it will be useful, but
+ * 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.
+ */
+package net.sf.joafip.java.util;
+
+import java.io.Serializable;
+import java.util.List;
+import java.util.ListIterator;
+import java.util.NoSuchElementException;
+
+import net.sf.joafip.StorableClass;
+import net.sf.joafip.StoreNotUseStandardSerialization;
+import net.sf.joafip.store.service.proxy.IInstanceFactory;
+
+/**
+ *
+ * @author luc peuvrier
+ *
+ * @param <E>
+ */
+@StorableClass
+@StoreNotUseStandardSerialization
+public class PListIterator<E> implements ListIterator<E>, Serializable {
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = -4637923261983954941L;
+
+ private final List<E> list;
+
+ private int index;
+
+ private int lastIndex = -1;
+
+ public PListIterator(final List<E> list, final int index) {
+ super();
+ if (index < 0 || index >= list.size()) {
+ throw new IndexOutOfBoundsException("bad index " + index
+ + " size is " + list.size());
+ }
+ this.list = list;
+ this.index = index;
+ }
+
+ @SuppressWarnings({ "rawtypes", "unchecked" })
+ public static ListIterator newInstance(
+ final IInstanceFactory instanceFactory, final List list,
+ final int index) {
+ final ListIterator newInstance;
+ if (instanceFactory == null) {
+ newInstance = new PListIterator(list, index);
+ } else {
+ newInstance = (ListIterator) instanceFactory.newInstance(
+ PListIterator.class, new Class[] { List.class, int.class },
+ new Object[] { list, index });
+ }
+ return newInstance;
+
+ }
+
+ @Override
+ public boolean hasNext() {
+ return index < list.size();
+ }
+
+ @Override
+ public E next() {
+ if (index == list.size()) {
+ throw new NoSuchElementException();
+ }
+ lastIndex = index++;
+ return list.get(lastIndex);
+ }
+
+ @Override
+ public boolean hasPrevious() {
+ return index > 0;
+ }
+
+ @Override
+ public E previous() {
+ if (index == 0) {
+ throw new NoSuchElementException();
+ }
+ lastIndex = --index;
+ return list.get(lastIndex);
+ }
+
+ @Override
+ public int nextIndex() {
+ return index;
+ }
+
+ @Override
+ public int previousIndex() {
+ return index - 1;
+ }
+
+ @Override
+ public void remove() {
+ if (lastIndex == -1) {
+ throw new IllegalStateException();
+ }
+ list.remove(lastIndex);
+ if (lastIndex == index) {
+ index--;
+ } else {
+ index++;
+ }
+ lastIndex = -1;
+ }
+
+ @Override
+ public void set(final E element) {
+ if (lastIndex == -1) {
+ throw new IllegalStateException();
+ }
+ list.set(lastIndex, element);
+ lastIndex = -1;
+ }
+
+ @Override
+ public void add(final E element) {
+ list.add(index, element);
+ index++;
+ }
+}
Added: trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PCollections.java
===================================================================
--- trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PCollections.java (rev 0)
+++ trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PCollections.java 2012-05-28 17:05:02 UTC (rev 3101)
@@ -0,0 +1,208 @@
+/*
+ * Copyright 2012 Luc Peuvrier
+ * All rights reserved.
+ *
+ * This file is a part of JOAFIP.
+ *
+ * JOAFIP is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License.
+ *
+ * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE
+ * Licensed under the LGPL License, Version 3, 29 June 2007 (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.gnu.org/licenses/lgpl.html
+ *
+ * JOAFIP is distributed in the hope that it will be useful, but
+ * 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.
+ */
+package net.sf.joafip.java.util.collections;
+
+import java.util.Collection;
+import java.util.Deque;
+import java.util.List;
+import java.util.Map;
+import java.util.Queue;
+import java.util.Set;
+import java.util.SortedMap;
+import java.util.SortedSet;
+
+import net.sf.joafip.NotStorableClass;
+import net.sf.joafip.StorableAccess;
+import net.sf.joafip.store.service.proxy.IInstanceFactory;
+
+/**
+ *
+ * @author luc peuvrier
+ *
+ */
+@NotStorableClass
+@StorableAccess
+public final class PCollections {
+
+ private static final String UNCHECKED = "unchecked";
+
+ private PCollections() {
+ super();
+ }
+
+ @SuppressWarnings(UNCHECKED)
+ public static <T> Collection<T> unmodifiableCollection(
+ final IInstanceFactory instanceFactory,
+ final Collection<? extends T> collection) {
+ return PUnmodifiableCollection.newInstance(instanceFactory, collection);
+ }
+
+ @SuppressWarnings(UNCHECKED)
+ public static <T> Set<T> unmodifiableSet(
+ final IInstanceFactory instanceFactory, final Set<? extends T> set) {
+ return PUnmodifiableSet.newInstance(instanceFactory, set);
+ }
+
+ @SuppressWarnings(UNCHECKED)
+ public static <T> SortedSet<T> unmodifiableSortedSet(
+ final IInstanceFactory instanceFactory, final SortedSet<T> set) {
+ return PUnmodifiableSortedSet.newInstance(instanceFactory, set);
+ }
+
+ @SuppressWarnings(UNCHECKED)
+ public static <T> List<T> unmodifiableList(
+ final IInstanceFactory instanceFactory, final List<? extends T> list) {
+ return PUnmodifiableList.newInstance(instanceFactory, list);
+ }
+
+ @SuppressWarnings(UNCHECKED)
+ public static <K, V> Map<K, V> unmodifiableMap(
+ final IInstanceFactory instanceFactory,
+ final Map<? extends K, ? extends V> map) {
+ return PUnmodifiableMap.newInstance(instanceFactory, map);
+ }
+
+ @SuppressWarnings(UNCHECKED)
+ public static <K, V> SortedMap<K, V> unmodifiableSortedMap(
+ final IInstanceFactory instanceFactory,
+ final SortedMap<K, ? extends V> map) {
+ return PUnmodifiableSortedMap.newInstance(null, map);
+ }
+
+ @SuppressWarnings(UNCHECKED)
+ public static <T> Collection<T> synchronizedCollection(
+ final IInstanceFactory instanceFactory,
+ final Collection<T> collection) {
+ return PSynchronizedCollection.newInstance(instanceFactory, collection);
+ }
+
+ @SuppressWarnings(UNCHECKED)
+ public static <T> Collection<T> synchronizedCollection(
+ final IInstanceFactory instanceFactory,
+ final Collection<T> collection, final Object mutex) {
+ return PSynchronizedCollection.newInstance(instanceFactory, collection,
+ mutex);
+ }
+
+ @SuppressWarnings(UNCHECKED)
+ public static <T> Set<T> synchronizedSet(
+ final IInstanceFactory instanceFactory, final Set<T> set) {
+ return PSynchronizedSet.newInstance(instanceFactory, set);
+ }
+
+ @SuppressWarnings(UNCHECKED)
+ public static <T> Set<T> synchronizedSet(
+ final IInstanceFactory instanceFactory, final Set<T> set,
+ final Object mutex) {
+ return PSynchronizedSet.newInstance(instanceFactory, set, mutex);
+ }
+
+ @SuppressWarnings(UNCHECKED)
+ public static <T> SortedSet<T> synchronizedSortedSet(
+ final IInstanceFactory instanceFactory, final SortedSet<T> set) {
+ return PSynchronizedSortedSet.newInstance(instanceFactory, set);
+ }
+
+ @SuppressWarnings(UNCHECKED)
+ public static <T> List<T> synchronizedList(
+ final IInstanceFactory instanceFactory, final List<T> list) {
+ return PSynchronizedList.newInstance(instanceFactory, list);
+ }
+
+ @SuppressWarnings(UNCHECKED)
+ public static <T> List<T> synchronizedList(
+ final IInstanceFactory instanceFactory, final List<T> list,
+ final Object mutex) {
+ return PSynchronizedList.newInstance(instanceFactory, list, mutex);
+ }
+
+ @SuppressWarnings(UNCHECKED)
+ public static <K, V> Map<K, V> synchronizedMap(
+ final IInstanceFactory instanceFactory, final Map<K, V> map) {
+ return PSynchronizedMap.newInstance(instanceFactory, map);
+ }
+
+ @SuppressWarnings(UNCHECKED)
+ public static <K, V> SortedMap<K, V> synchronizedSortedMap(
+ final IInstanceFactory instanceFactory, final SortedMap<K, V> map) {
+ return PSynchronizedSortedMap.newInstance(instanceFactory, map);
+ }
+
+ @SuppressWarnings(UNCHECKED)
+ public static <T> Set<T> emptySet(final IInstanceFactory instanceFactory) {
+ return (Set<T>) PEmptySet.newInstance(instanceFactory);
+ }
+
+ @SuppressWarnings(UNCHECKED)
+ public static <T> List<T> emptyList(final IInstanceFactory instanceFactory) {
+ return (List<T>) PEmptyList.newInstance(instanceFactory);
+ }
+
+ @SuppressWarnings(UNCHECKED)
+ public static <K, V> Map<K, V> emptyMap(
+ final IInstanceFactory instanceFactory) {
+ return (Map<K, V>) PEmptyMap.newInstance(instanceFactory);
+ }
+
+ @SuppressWarnings(UNCHECKED)
+ public static <T> Set<T> singleton(final IInstanceFactory instanceFactory,
+ final T element) {
+ return PSingletonSet.newInstance(instanceFactory, element);
+ }
+
+ @SuppressWarnings(UNCHECKED)
+ public static <T> List<T> singletonList(
+ final IInstanceFactory instanceFactory, final T element) {
+ return PSingletonList.newInstance(instanceFactory, element);
+ }
+
+ @SuppressWarnings(UNCHECKED)
+ public static <K, V> Map<K, V> singletonMap(
+ final IInstanceFactory instanceFactory, final K key, final V value) {
+ return PSingletonMap.newInstance(instanceFactory, key, value);
+ }
+
+ @SuppressWarnings(UNCHECKED)
+ public static <T> List<T> nCopies(final IInstanceFactory instanceFactory,
+ final int numberOfElement, final T element) {
+ if (numberOfElement < 0) {
+ throw new IllegalArgumentException("List length = "
+ + numberOfElement);
+ }
+ return PCopiesList.newInstance(instanceFactory, numberOfElement,
+ element);
+ }
+
+ @SuppressWarnings(UNCHECKED)
+ public static <E> Set<E> newSetFromMap(
+ final IInstanceFactory instanceFactory, final Map<E, Boolean> map) {
+ return PSetFromMap.newInstance(instanceFactory, map);
+ }
+
+ @SuppressWarnings(UNCHECKED)
+ public static <T> Queue<T> asLifoQueue(
+ final IInstanceFactory instanceFactory, final Deque<T> deque) {
+ return PLIFOQueue.newInstance(instanceFactory, deque);
+ }
+}
Added: trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PCopiesList.java
===================================================================
--- trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PCopiesList.java (rev 0)
+++ trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PCopiesList.java 2012-05-28 17:05:02 UTC (rev 3101)
@@ -0,0 +1,170 @@
+/*
+ * Copyright 2012 Luc Peuvrier
+ * All rights reserved.
+ *
+ * This file is a part of JOAFIP.
+ *
+ * JOAFIP is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License.
+ *
+ * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE
+ * Licensed under the LGPL License, Version 3, 29 June 2007 (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.gnu.org/licenses/lgpl.html
+ *
+ * JOAFIP is distributed in the hope that it will be useful, but
+ * 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.
+ */
+package net.sf.joafip.java.util.collections;
+
+import java.io.Serializable;
+import java.util.Arrays;
+import java.util.Collection;
+import java.util.List;
+import java.util.RandomAccess;
+
+import net.sf.joafip.StorableClass;
+import net.sf.joafip.StoreNotUseStandardSerialization;
+import net.sf.joafip.java.util.PAbstractList;
+import net.sf.joafip.store.service.proxy.IInstanceFactory;
+
+/**
+ *
+ * @author luc peuvrier
+ *
+ * @param <E>
+ */
+@StorableClass
+@StoreNotUseStandardSerialization
+public class PCopiesList<E> extends PAbstractList<E> implements RandomAccess,
+ Serializable {
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = -330760604684424582L;
+
+ private final int numberOfElement;
+
+ private final E element;
+
+ /**
+ *
+ * @param numberOfElement
+ * the number of elements in the returned list.
+ * @param element
+ * the element to appear repeatedly in the returned list.
+ */
+ public PCopiesList(final IInstanceFactory instanceFactory,
+ final int numberOfElement, final E element) {
+ super(instanceFactory);
+ if (numberOfElement < 0) {
+ throw new IllegalArgumentException("bad number of elements "
+ + numberOfElement);
+ }
+ this.numberOfElement = numberOfElement;
+ this.element = element;
+ }
+
+ @SuppressWarnings({ "rawtypes", "unchecked" })
+ public static PCopiesList newInstance(
+ final IInstanceFactory instanceFactory, final int numberOfElement,
+ final Object element) {
+ final PCopiesList newInstance;
+ if (instanceFactory == null) {
+ newInstance = new PCopiesList(instanceFactory, numberOfElement,
+ element);
+ } else {
+ newInstance = (PCopiesList) instanceFactory.newInstance(
+ PCopiesList.class, new Class<?>[] { IInstanceFactory.class,
+ int.class, Object.class }, new Object[] {
+ instanceFactory, numberOfElement, element });
+ }
+ return newInstance;
+ }
+
+ public int size() {
+ return numberOfElement;
+ }
+
+ public boolean contains(final Object object) {
+ return numberOfElement != 0
+ && ((element == null && object == null) || element
+ .equals(object));
+ }
+
+ public int indexOf(final Object object) {
+ return contains(object) ? 0 : -1;
+ }
+
+ public int lastIndexOf(final Object object) {
+ return contains(object) ? numberOfElement - 1 : -1;
+ }
+
+ public E get(final int index) {
+ if (index < 0 || index >= numberOfElement) {
+ throw new IndexOutOfBoundsException("Index: " + index + ", Size: "
+ + numberOfElement);
+ }
+ return element;
+ }
+
+ public Object[] toArray() {
+ final Object[] array = new Object[numberOfElement];
+ if (element != null) {
+ Arrays.fill(array, 0, numberOfElement, element);
+ }
+ return array;
+ }
+
+ @SuppressWarnings("unchecked")
+ public <T> T[] toArray(final T[] array) {
+ final T[] result;
+ if (array.length < numberOfElement) {
+ result = (T[]) java.lang.reflect.Array.newInstance(array.getClass()
+ .getComponentType(), numberOfElement);
+ if (element != null) {
+ Arrays.fill(result, 0, numberOfElement, element);
+ }
+ } else {
+ result = array;
+ Arrays.fill(result, 0, numberOfElement, element);
+ if (result.length > numberOfElement) {
+ result[numberOfElement] = null;
+ }
+ }
+ return result;
+ }
+
+ @SuppressWarnings({ "unchecked", "rawtypes" })
+ public List<E> subList(final int fromIndex, final int toIndex) {
+ if (fromIndex < 0) {
+ throw new IndexOutOfBoundsException("fromIndex = " + fromIndex);
+ }
+ if (toIndex > numberOfElement) {
+ throw new IndexOutOfBoundsException("toIndex = " + toIndex);
+ }
+ if (fromIndex > toIndex) {
+ throw new IllegalArgumentException("fromIndex(" + fromIndex
+ + ") > toIndex(" + toIndex + ")");
+ }
+ return new PCopiesList(instanceFactory, toIndex - fromIndex, element);
+ }
+
+ @Override
+ public boolean addAll(final int index,
+ final Collection<? extends E> collection) {
+ throw new UnsupportedOperationException();
+ }
+
+ @Override
+ public void clear() {
+ throw new UnsupportedOperationException();
+ }
+}
Added: trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PEmptyList.java
===================================================================
--- trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PEmptyList.java (rev 0)
+++ trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PEmptyList.java 2012-05-28 17:05:02 UTC (rev 3101)
@@ -0,0 +1,77 @@
+/*
+ * Copyright 2012 Luc Peuvrier
+ * All rights reserved.
+ *
+ * This file is a part of JOAFIP.
+ *
+ * JOAFIP is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License.
+ *
+ * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE
+ * Licensed under the LGPL License, Version 3, 29 June 2007 (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.gnu.org/licenses/lgpl.html
+ *
+ * JOAFIP is distributed in the hope that it will be useful, but
+ * 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.
+ */
+package net.sf.joafip.java.util.collections;
+
+import java.io.Serializable;
+import java.util.RandomAccess;
+
+import net.sf.joafip.StorableClass;
+import net.sf.joafip.StoreNotUseStandardSerialization;
+import net.sf.joafip.java.util.PAbstractList;
+import net.sf.joafip.store.service.proxy.IInstanceFactory;
+
+/**
+ *
+ * @author luc peuvrier
+ *
+ */
+@StorableClass
+@StoreNotUseStandardSerialization
+public class PEmptyList extends PAbstractList<Object> implements RandomAccess,
+ Serializable {
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = -6982042931492196527L;
+
+ public PEmptyList(final IInstanceFactory instanceFactory) {
+ super(instanceFactory);
+ }
+
+ public static PEmptyList newInstance(final IInstanceFactory instanceFactory) {
+ final PEmptyList newInstance;
+ if (instanceFactory == null) {
+ newInstance = new PEmptyList(instanceFactory);
+ } else {
+ newInstance = (PEmptyList) instanceFactory.newInstance(
+ PEmptyList.class,
+ new Class<?>[] { IInstanceFactory.class },
+ new Object[] { instanceFactory });
+ }
+ return newInstance;
+ }
+
+ public int size() {
+ return 0;
+ }
+
+ public boolean contains(final Object object) {
+ return false;
+ }
+
+ public Object get(final int index) {
+ throw new IndexOutOfBoundsException("Index: " + index);
+ }
+}
Added: trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PEmptyMap.java
===================================================================
--- trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PEmptyMap.java (rev 0)
+++ trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PEmptyMap.java 2012-05-28 17:05:02 UTC (rev 3101)
@@ -0,0 +1,152 @@
+/*
+ * Copyright 2012 Luc Peuvrier
+ * All rights reserved.
+ *
+ * This file is a part of JOAFIP.
+ *
+ * JOAFIP is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License.
+ *
+ * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE
+ * Licensed under the LGPL License, Version 3, 29 June 2007 (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.gnu.org/licenses/lgpl.html
+ *
+ * JOAFIP is distributed in the hope that it will be useful, but
+ * 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.
+ */
+package net.sf.joafip.java.util.collections;
+
+import java.io.Serializable;
+import java.util.Collection;
+import java.util.Map;
+import java.util.Set;
+
+import net.sf.joafip.StorableClass;
+import net.sf.joafip.StoreNotUseStandardSerialization;
+import net.sf.joafip.java.util.IMapListener;
+import net.sf.joafip.java.util.PAbstractMap;
+import net.sf.joafip.store.service.proxy.IInstanceFactory;
+
+/**
+ *
+ * @author luc peuvrier
+ *
+ */
+@StorableClass
+@StoreNotUseStandardSerialization
+public class PEmptyMap extends PAbstractMap<Object, Object> implements
+ Serializable {
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = 5604755374742704598L;
+
+ private transient IInstanceFactory instanceFactory;// NOPMD
+
+ public PEmptyMap(final IInstanceFactory instanceFactory) {
+ super();
+ this.instanceFactory = instanceFactory;
+ }
+
+ public static PEmptyMap newInstance(final IInstanceFactory instanceFactory) {
+ final PEmptyMap newInstance;
+ if (instanceFactory == null) {
+ newInstance = new PEmptyMap(instanceFactory);
+ } else {
+ newInstance = (PEmptyMap) instanceFactory.newInstance(
+ PEmptyMap.class, new Class<?>[] { IInstanceFactory.class },
+ new Object[] { instanceFactory });
+ }
+ return newInstance;
+ }
+
+ public int size() {
+ return 0;
+ }
+
+ public boolean isEmpty() {
+ return true;
+ }
+
+ @Override
+ public Object put(final Object key, final Object value) {
+ throw new UnsupportedOperationException();
+ }
+
+ @Override
+ public Object remove(final Object key) {
+ return null;
+ }
+
+ @Override
+ public void clear() {
+ // already empty, nothing to do
+ }
+
+ public boolean containsKey(final Object key) {
+ return false;
+ }
+
+ public boolean containsValue(final Object value) {
+ return false;
+ }
+
+ public Object get(final Object key) {
+ return null;
+ }
+
+ public Set<Object> keySet() {
+ return PEmptySet.newInstance(instanceFactory);
+ }
+
+ public Collection<Object> values() {
+ return PEmptySet.newInstance(instanceFactory);
+ }
+
+ @SuppressWarnings({ "rawtypes", "unchecked" })
+ public Set<Map.Entry<Object, Object>> entrySet() {
+ return (Set) PEmptySet.newInstance(instanceFactory);
+ }
+
+ @SuppressWarnings("rawtypes")
+ public boolean equals(final Object object) {
+ return (object instanceof Map) && ((Map) object).size() == 0;
+ }
+
+ public int hashCode() {
+ return 0;
+ }
+
+ @Override
+ public int getIdentifier() {
+ throw new UnsupportedOperationException();
+ }
+
+ @Override
+ public void notifyRemoved(final Map.Entry<Object, Object> removed) {
+ throw new UnsupportedOperationException();
+ }
+
+ @Override
+ public void notifyAdded(final Map.Entry<Object, Object> added) {
+ throw new UnsupportedOperationException();
+ }
+
+ @Override
+ public void addListerner(final IMapListener<Object, Object> listener) {
+ throw new UnsupportedOperationException();
+ }
+
+ @Override
+ public void removeListener(final int listenerIdentifier) {
+ throw new UnsupportedOperationException();
+ }
+}
Added: trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PEmptySet.java
===================================================================
--- trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PEmptySet.java (rev 0)
+++ trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PEmptySet.java 2012-05-28 17:05:02 UTC (rev 3101)
@@ -0,0 +1,88 @@
+/*
+ * Copyright 2012 Luc Peuvrier
+ * All rights reserved.
+ *
+ * This file is a part of JOAFIP.
+ *
+ * JOAFIP is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License.
+ *
+ * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE
+ * Licensed under the LGPL License, Version 3, 29 June 2007 (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.gnu.org/licenses/lgpl.html
+ *
+ * JOAFIP is distributed in the hope that it will be useful, but
+ * 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.
+ */
+package net.sf.joafip.java.util.collections;
+
+import java.io.Serializable;
+import java.util.Iterator;
+import java.util.NoSuchElementException;
+
+import net.sf.joafip.StorableClass;
+import net.sf.joafip.StoreNotUseStandardSerialization;
+import net.sf.joafip.java.util.PAbstractSet;
+import net.sf.joafip.store.service.proxy.IInstanceFactory;
+
+/**
+ *
+ * @author luc peuvrier
+ *
+ */
+@StorableClass
+@StoreNotUseStandardSerialization
+public class PEmptySet extends PAbstractSet<Object> implements Serializable {
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = 5848805126452146919L;
+
+ public static PEmptySet newInstance(final IInstanceFactory instanceFactory) {
+ final PEmptySet newInstance;
+ if (instanceFactory == null) {
+ newInstance = new PEmptySet();
+ } else {
+ newInstance = (PEmptySet) instanceFactory
+ .newInstance(PEmptySet.class);
+ }
+ return newInstance;
+ }
+
+ public Iterator<Object> iterator() {
+ return new Iterator<Object>() {
+ public boolean hasNext() {
+ return false;
+ }
+
+ public Object next() {
+ throw new NoSuchElementException();
+ }
+
+ public void remove() {
+ throw new UnsupportedOperationException();
+ }
+ };
+ }
+
+ public int size() {
+ return 0;
+ }
+
+ public boolean contains(final Object object) {
+ return false;
+ }
+
+ @Override
+ public boolean add(final Object element) {
+ throw new UnsupportedOperationException();
+ }
+}
Added: trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PLIFOQueue.java
===================================================================
--- trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PLIFOQueue.java (rev 0)
+++ trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PLIFOQueue.java 2012-05-28 17:05:02 UTC (rev 3101)
@@ -0,0 +1,147 @@
+/*
+ * Copyright 2012 Luc Peuvrier
+ * All rights reserved.
+ *
+ * This file is a part of JOAFIP.
+ *
+ * JOAFIP is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License.
+ *
+ * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE
+ * Licensed under the LGPL License, Version 3, 29 June 2007 (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.gnu.org/licenses/lgpl.html
+ *
+ * JOAFIP is distributed in the hope that it will be useful, but
+ * 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.
+ */
+package net.sf.joafip.java.util.collections;
+
+import java.io.Serializable;
+import java.util.Collection;
+import java.util.Deque;
+import java.util.Iterator;
+import java.util.Queue;
+
+import net.sf.joafip.StorableClass;
+import net.sf.joafip.StoreNotUseStandardSerialization;
+import net.sf.joafip.java.util.PAbstractQueue;
+import net.sf.joafip.store.service.proxy.IInstanceFactory;
+
+/**
+ *
+ * @author luc peuvrier
+ *
+ * @param <E>
+ */
+@StorableClass
+@StoreNotUseStandardSerialization
+public class PLIFOQueue<E> extends PAbstractQueue<E> implements Queue<E>,
+ Serializable {
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = -299189431358308062L;
+
+ private final Deque<E> deque;
+
+ public PLIFOQueue(final Deque<E> deque) {
+ super();
+ this.deque = deque;
+ }
+
+ @SuppressWarnings({ "PMD", "rawtypes", "unchecked" })
+ public static PLIFOQueue newInstance(
+ final IInstanceFactory instanceFactory, final Deque deque) {
+ final PLIFOQueue newInstance;
+ if (instanceFactory == null) {
+ newInstance = new PLIFOQueue(deque);
+ } else {
+ newInstance = (PLIFOQueue) instanceFactory.newInstance(
+ PSynchronizedList.class, new Class<?>[] { PLIFOQueue.class,
+ Deque.class }, new Object[] { instanceFactory,
+ deque });
+ }
+ return newInstance;
+ }
+
+ public boolean add(final E element) {
+ deque.addFirst(element);
+ return true;
+ }
+
+ public boolean offer(final E element) {
+ return deque.offerFirst(element);
+ }
+
+ public E poll() {
+ return deque.pollFirst();
+ }
+
+ public E remove() {
+ return deque.removeFirst();
+ }
+
+ public E peek() {
+ return deque.peekFirst();
+ }
+
+ public E element() {
+ return deque.getFirst();
+ }
+
+ public void clear() {
+ deque.clear();
+ }
+
+ public int size() {
+ return deque.size();
+ }
+
+ public boolean isEmpty() {
+ return deque.isEmpty();
+ }
+
+ public boolean contains(final Object object) {
+ return deque.contains(object);
+ }
+
+ public boolean remove(final Object object) {
+ return deque.remove(object);
+ }
+
+ public Iterator<E> iterator() {
+ return deque.iterator();
+ }
+
+ public Object[] toArray() {
+ return deque.toArray();
+ }
+
+ public <T> T[] toArray(final T[] array) {
+ return deque.toArray(array);
+ }
+
+ public String toString() {
+ return deque.toString();
+ }
+
+ public boolean containsAll(final Collection<?> collection) {
+ return deque.containsAll(collection);
+ }
+
+ public boolean removeAll(final Collection<?> collection) {
+ return deque.removeAll(collection);
+ }
+
+ public boolean retainAll(final Collection<?> collection) {
+ return deque.retainAll(collection);
+ }
+}
Added: trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PNoModificiantIterator.java
===================================================================
--- trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PNoModificiantIterator.java (rev 0)
+++ trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PNoModificiantIterator.java 2012-05-28 17:05:02 UTC (rev 3101)
@@ -0,0 +1,78 @@
+/*
+ * Copyright 2012 Luc Peuvrier
+ * All rights reserved.
+ *
+ * This file is a part of JOAFIP.
+ *
+ * JOAFIP is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License.
+ *
+ * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE
+ * Licensed under the LGPL License, Version 3, 29 June 2007 (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.gnu.org/licenses/lgpl.html
+ *
+ * JOAFIP is distributed in the hope that it will be useful, but
+ * 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.
+ */
+package net.sf.joafip.java.util.collections;
+
+import java.util.Iterator;
+
+import net.sf.joafip.StorableClass;
+import net.sf.joafip.StoreNotUseStandardSerialization;
+import net.sf.joafip.store.service.proxy.IInstanceFactory;
+
+/**
+ *
+ * @author luc peuvrier
+ *
+ * @param <E>
+ */
+@StorableClass
+@StoreNotUseStandardSerialization
+public class PNoModificiantIterator<E> implements Iterator<E> {
+
+ private final Iterator<E> iterator;
+
+ public PNoModificiantIterator(final Iterator<E> iterator) {
+ super();
+ this.iterator = iterator;
+ }
+
+ @SuppressWarnings({ "rawtypes", "unchecked" })
+ public static PNoModificiantIterator newInstance(
+ final IInstanceFactory instanceFactory, final Iterator iterator) {
+ final PNoModificiantIterator newInstance;
+ if (instanceFactory == null) {
+ newInstance = new PNoModificiantIterator(iterator);
+ } else {
+ newInstance = (PNoModificiantIterator) instanceFactory.newInstance(
+ PNoModificiantIterator.class,
+ new Class<?>[] { Iterator.class },
+ new Object[] { iterator });
+ }
+ return newInstance;
+ }
+
+ @Override
+ public boolean hasNext() {
+ return iterator.hasNext();
+ }
+
+ @Override
+ public E next() {
+ return iterator.next();
+ }
+
+ @Override
+ public void remove() {
+ throw new UnsupportedOperationException();
+ }
+}
Added: trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PNoModificiantListIterator.java
===================================================================
--- trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PNoModificiantListIterator.java (rev 0)
+++ trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PNoModificiantListIterator.java 2012-05-28 17:05:02 UTC (rev 3101)
@@ -0,0 +1,108 @@
+/*
+ * Copyright 2012 Luc Peuvrier
+ * All rights reserved.
+ *
+ * This file is a part of JOAFIP.
+ *
+ * JOAFIP is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License.
+ *
+ * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE
+ * Licensed under the LGPL License, Version 3, 29 June 2007 (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.gnu.org/licenses/lgpl.html
+ *
+ * JOAFIP is distributed in the hope that it will be useful, but
+ * 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.
+ */
+package net.sf.joafip.java.util.collections;
+
+import java.util.ListIterator;
+
+import net.sf.joafip.StorableClass;
+import net.sf.joafip.StoreNotUseStandardSerialization;
+import net.sf.joafip.store.service.proxy.IInstanceFactory;
+
+/**
+ *
+ * @author luc peuvrier
+ *
+ * @param <E>
+ */
+@StorableClass
+@StoreNotUseStandardSerialization
+public class PNoModificiantListIterator<E> implements ListIterator<E> {
+
+ private final ListIterator<E> iterator;
+
+ public PNoModificiantListIterator(final ListIterator<E> iterator) {
+ super();
+ this.iterator = iterator;
+ }
+
+ @SuppressWarnings({ "rawtypes", "unchecked" })
+ public static PNoModificiantListIterator newInstance(
+ final IInstanceFactory instanceFactory, final ListIterator iterator) {
+ final PNoModificiantListIterator newInstance;
+ if (instanceFactory == null) {
+ newInstance = new PNoModificiantListIterator(iterator);
+ } else {
+ newInstance = (PNoModificiantListIterator) instanceFactory
+ .newInstance(PNoModificiantListIterator.class,
+ new Class<?>[] { ListIterator.class },
+ new Object[] { iterator });
+ }
+ return newInstance;
+ }
+
+ @Override
+ public boolean hasNext() {
+ return iterator.hasNext();
+ }
+
+ @Override
+ public E next() {
+ return iterator.next();
+ }
+
+ @Override
+ public boolean hasPrevious() {
+ return iterator.hasPrevious();
+ }
+
+ @Override
+ public E previous() {
+ return iterator.previous();
+ }
+
+ @Override
+ public int nextIndex() {
+ return iterator.nextIndex();
+ }
+
+ @Override
+ public int previousIndex() {
+ return iterator.previousIndex();
+ }
+
+ @Override
+ public void remove() {
+ throw new UnsupportedOperationException();
+ }
+
+ @Override
+ public void set(final E element) {
+ throw new UnsupportedOperationException();
+ }
+
+ @Override
+ public void add(final E element) {
+ throw new UnsupportedOperationException();
+ }
+}
Added: trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PNoModificiantMapEntryIterator.java
===================================================================
--- trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PNoModificiantMapEntryIterator.java (rev 0)
+++ trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PNoModificiantMapEntryIterator.java 2012-05-28 17:05:02 UTC (rev 3101)
@@ -0,0 +1,88 @@
+/*
+ * Copyright 2012 Luc Peuvrier
+ * All rights reserved.
+ *
+ * This file is a part of JOAFIP.
+ *
+ * JOAFIP is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License.
+ *
+ * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE
+ * Licensed under the LGPL License, Version 3, 29 June 2007 (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.gnu.org/licenses/lgpl.html
+ *
+ * JOAFIP is distributed in the hope that it will be useful, but
+ * 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.
+ */
+package net.sf.joafip.java.util.collections;
+
+import java.util.Iterator;
+import java.util.Map;
+
+import net.sf.joafip.StorableClass;
+import net.sf.joafip.StoreNotUseStandardSerialization;
+import net.sf.joafip.store.service.proxy.IInstanceFactory;
+
+/**
+ *
+ * @author luc peuvrier
+ *
+ * @param <K>
+ * @param <V>
+ */
+@StorableClass
+@StoreNotUseStandardSerialization
+public class PNoModificiantMapEntryIterator<K, V> implements
+ Iterator<Map.Entry<K, V>> {
+
+ private final Iterator<? extends Map.Entry<? extends K, ? extends V>> iterator;
+
+ private final transient IInstanceFactory instanceFactory;
+
+ public PNoModificiantMapEntryIterator(
+ final IInstanceFactory instanceFactory,
+ final Iterator<? extends Map.Entry<? extends K, ? extends V>> iterator) {
+ super();
+ this.instanceFactory = instanceFactory;
+ this.iterator = iterator;
+ }
+
+ @SuppressWarnings({ "rawtypes", "unchecked" })
+ public static PNoModificiantMapEntryIterator newInstance(
+ final IInstanceFactory instanceFactory, final Iterator iterator) {
+ final PNoModificiantMapEntryIterator newInstance;
+ if (instanceFactory == null) {
+ newInstance = new PNoModificiantMapEntryIterator(instanceFactory,
+ iterator);
+ } else {
+ newInstance = (PNoModificiantMapEntryIterator) instanceFactory
+ .newInstance(PNoModificiantMapEntryIterator.class,
+ new Class<?>[] { IInstanceFactory.class,
+ Iterator.class }, new Object[] {
+ instanceFactory, iterator });
+ }
+ return newInstance;
+ }
+
+ public boolean hasNext() {
+ return iterator.hasNext();
+ }
+
+ @SuppressWarnings("unchecked")
+ @Override
+ public Map.Entry<K, V> next() {
+ return PUnmodifiableEntry.newInstance(instanceFactory, iterator.next());
+ }
+
+ @Override
+ public void remove() {
+ throw new UnsupportedOperationException();
+ }
+}
Added: trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PReverseComparatorOfComparator.java
===================================================================
--- trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PReverseComparatorOfComparator.java (rev 0)
+++ trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PReverseComparatorOfComparator.java 2012-05-28 17:05:02 UTC (rev 3101)
@@ -0,0 +1,62 @@
+/*
+ * Copyright 2012 Luc Peuvrier
+ * All rights reserved.
+ *
+ * This file is a part of JOAFIP.
+ *
+ * JOAFIP is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License.
+ *
+ * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE
+ * Licensed under the LGPL License, Version 3, 29 June 2007 (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.gnu.org/licenses/lgpl.html
+ *
+ * JOAFIP is distributed in the hope that it will be useful, but
+ * 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.
+ */
+package net.sf.joafip.java.util.collections;
+
+import java.io.Serializable;
+import java.util.Comparator;
+
+import net.sf.joafip.StorableClass;
+import net.sf.joafip.StoreNotUseStandardSerialization;
+
+/**
+ *
+ * @author luc peuvrier
+ *
+ * @param <T>
+ */
+@StorableClass
+@StoreNotUseStandardSerialization
+public class PReverseComparatorOfComparator<T> implements Comparator<T>,
+ Serializable {
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = -2583530421341354433L;
+
+ private final Comparator<T> comparator;
+
+ public PReverseComparatorOfComparator(final Comparator<T> comparator) {
+ super();
+ if (comparator == null) {
+ throw new IllegalArgumentException("comparator must be defined");
+ }
+ this.comparator = comparator;
+ }
+
+ @Override
+ public int compare(final T object1, final T object2) {
+ return comparator.compare(object2, object1);
+ }
+}
Added: trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PReverseComparatorOfNaturalOrder.java
===================================================================
--- trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PReverseComparatorOfNaturalOrder.java (rev 0)
+++ trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PReverseComparatorOfNaturalOrder.java 2012-05-28 17:05:02 UTC (rev 3101)
@@ -0,0 +1,52 @@
+/*
+ * Copyright 2012 Luc Peuvrier
+ * All rights reserved.
+ *
+ * This file is a part of JOAFIP.
+ *
+ * JOAFIP is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License.
+ *
+ * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE
+ * Licensed under the LGPL License, Version 3, 29 June 2007 (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.gnu.org/licenses/lgpl.html
+ *
+ * JOAFIP is distributed in the hope that it will be useful, but
+ * 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.
+ */
+package net.sf.joafip.java.util.collections;
+
+import java.io.Serializable;
+import java.util.Comparator;
+
+import net.sf.joafip.StorableClass;
+import net.sf.joafip.StoreNotUseStandardSerialization;
+
+/**
+ *
+ * @author luc peuvrier
+ *
+ * @param <T>
+ */
+@StorableClass
+@StoreNotUseStandardSerialization
+public class PReverseComparatorOfNaturalOrder<T extends Comparable<T>>
+ implements Comparator<T>, Serializable {
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = 2263856665408211506L;
+
+ @Override
+ public int compare(final T object1, final T object2) {
+ return object2.compareTo(object1);
+ }
+}
Added: trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSetFromMap.java
===================================================================
--- trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSetFromMap.java (rev 0)
+++ trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSetFromMap.java 2012-05-28 17:05:02 UTC (rev 3101)
@@ -0,0 +1,146 @@
+/*
+ * Copyright 2012 Luc Peuvrier
+ * All rights reserved.
+ *
+ * This file is a part of JOAFIP.
+ *
+ * JOAFIP is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License.
+ *
+ * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE
+ * Licensed under the LGPL License, Version 3, 29 June 2007 (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.gnu.org/licenses/lgpl.html
+ *
+ * JOAFIP is distributed in the hope that it will be useful, but
+ * 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.
+ */
+package net.sf.joafip.java.util.collections;
+
+import java.io.IOException;
+import java.io.ObjectInputStream;
+import java.io.Serializable;
+import java.util.Collection;
+import java.util.Iterator;
+import java.util.Map;
+import java.util.Set;
+
+import net.sf.joafip.StorableClass;
+import net.sf.joafip.StoreNotUseStandardSerialization;
+import net.sf.joafip.java.util.PAbstractSet;
+import net.sf.joafip.store.service.proxy.IInstanceFactory;
+
+/**
+ *
+ * @author luc peuvrier
+ *
+ * @param <E>
+ */
+@StorableClass
+@StoreNotUseStandardSerialization
+public class PSetFromMap<E> extends PAbstractSet<E> implements Set<E>,
+ Serializable {
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = -831149987252670934L;
+
+ /** The backing map */
+ private final Map<E, Boolean> map;
+
+ /** The backing map key set */
+ private transient Set<E> keySet;
+
+ public PSetFromMap(final Map<E, Boolean> map) {
+ super();
+ this.map = map;
+ keySet = map.keySet();
+ }
+
+ @SuppressWarnings({ "PMD", "rawtypes", "unchecked" })
+ public static PSetFromMap newInstance(
+ final IInstanceFactory instanceFactory, final Map map) {
+ final PSetFromMap newInstance;
+ if (instanceFactory == null) {
+ newInstance = new PSetFromMap(map);
+ } else {
+ newInstance = (PSetFromMap) instanceFactory.newInstance(
+ PSetFromMap.class, new Class<?>[] { Map.class },
+ new Object[] { map });
+ }
+ return newInstance;
+ }
+
+ public void clear() {
+ map.clear();
+ }
+
+ public int size() {
+ return map.size();
+ }
+
+ public boolean isEmpty() {
+ return map.isEmpty();
+ }
+
+ public boolean contains(final Object object) {
+ return map.containsKey(object);
+ }
+
+ public boolean remove(final Object object) {
+ return map.remove(object) != null;
+ }
+
+ public boolean add(final E element) {
+ return map.put(element, Boolean.TRUE) == null;
+ }
+
+ public Iterator<E> iterator() {
+ return keySet.iterator();
+ }
+
+ public Object[] toArray() {
+ return keySet.toArray();
+ }
+
+ public <T> T[] toArray(final T[] array) {
+ return keySet.toArray(array);
+ }
+
+ public String toString() {
+ return keySet.toString();
+ }
+
+ public int hashCode() {
+ return keySet.hashCode();
+ }
+
+ public boolean equals(final Object object) {
+ return object == this || keySet.equals(object);
+ }
+
+ public boolean containsAll(final Collection<?> collection) {
+ return keySet.containsAll(collection);
+ }
+
+ public boolean removeAll(final Collection<?> collection) {
+ return keySet.removeAll(collection);
+ }
+
+ public boolean retainAll(final Collection<?> collection) {
+ return keySet.retainAll(collection);
+ }
+
+ private void readObject(final ObjectInputStream inputStream)
+ throws IOException, ClassNotFoundException {
+ inputStream.defaultReadObject();
+ keySet = map.keySet();
+ }
+}
Added: trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSingletonList.java
===================================================================
--- trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSingletonList.java (rev 0)
+++ trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSingletonList.java 2012-05-28 17:05:02 UTC (rev 3101)
@@ -0,0 +1,87 @@
+/*
+ * Copyright 2012 Luc Peuvrier
+ * All rights reserved.
+ *
+ * This file is a part of JOAFIP.
+ *
+ * JOAFIP is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License.
+ *
+ * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE
+ * Licensed under the LGPL License, Version 3...
[truncated message content] |
|
From: <luc...@us...> - 2012-05-28 17:05:09
|
Revision: 3101
http://joafip.svn.sourceforge.net/joafip/?rev=3101&view=rev
Author: luc_peuvrier
Date: 2012-05-28 17:05:02 +0000 (Mon, 28 May 2012)
Log Message:
-----------
added PCollections and persitable collection wrapper as java.util.Collections
Modified Paths:
--------------
trunk/joafip/doc/_todo.txt
trunk/joafip/src/test/java/net/sf/joafip/service/sync/TestSynchronizedCollection.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/PAbstractCollection.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/PAbstractList.java
trunk/joafip-log4j/src/test/java/net/sf/joafip/logger/TestCreateLogger.java
Added Paths:
-----------
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/PListIterator.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PCollections.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PCopiesList.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PEmptyList.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PEmptyMap.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PEmptySet.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PLIFOQueue.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PNoModificiantIterator.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PNoModificiantListIterator.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PNoModificiantMapEntryIterator.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PReverseComparatorOfComparator.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PReverseComparatorOfNaturalOrder.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSetFromMap.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSingletonList.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSingletonMap.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSingletonSet.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSynchronizedCollection.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSynchronizedIterator.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSynchronizedList.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSynchronizedListIterator.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSynchronizedMap.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSynchronizedSet.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSynchronizedSortedMap.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PSynchronizedSortedSet.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PUnmodifiableCollection.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PUnmodifiableEntry.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PUnmodifiableEntrySet.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PUnmodifiableList.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PUnmodifiableMap.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PUnmodifiableSet.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PUnmodifiableSortedMap.java
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/collections/PUnmodifiableSortedSet.java
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <luc...@us...> - 2012-05-27 05:07:44
|
Revision: 3100
http://joafip.svn.sourceforge.net/joafip/?rev=3100&view=rev
Author: luc_peuvrier
Date: 2012-05-27 05:07:36 +0000 (Sun, 27 May 2012)
Log Message:
-----------
can setup the prohibited package by security manager, this information is used by proxy class generator
Modified Paths:
--------------
trunk/joafip/doc/_todo.txt
trunk/joafip/src/main/java/net/sf/joafip/service/AbstractFilePersistenceDelegatingToStore.java
trunk/joafip/src/main/java/net/sf/joafip/service/IFilePersistence.java
trunk/joafip/src/main/java/net/sf/joafip/store/entity/classinfo/ClassInfo.java
trunk/joafip/src/main/java/net/sf/joafip/store/entity/classinfo/FieldInfo.java
trunk/joafip/src/main/java/net/sf/joafip/store/service/IStore.java
trunk/joafip/src/main/java/net/sf/joafip/store/service/Store.java
trunk/joafip/src/main/java/net/sf/joafip/store/service/bytecode/AbstractClassCreator.java
trunk/joafip/src/main/java/net/sf/joafip/store/service/bytecode/forimport/ClassCreator.java
trunk/joafip/src/main/java/net/sf/joafip/store/service/bytecode/proxy/ClassEnhancer.java
trunk/joafip/src/main/java/net/sf/joafip/store/service/bytecode/proxy/EnhanceCodeGenerator.java
trunk/joafip/src/test/java/net/sf/joafip/service/sync/TestSynchronizedCollection.java
trunk/joafip/src/test/java/net/sf/joafip/store/service/TestStoreWithBobFileLazy.java
trunk/joafip/src/test/java/net/sf/joafip/store/service/proxy/BobPackageVisibility.java
trunk/joafip/src/test/java/net/sf/joafip/store/service/proxy/TestProxyInterceptPackageVisibility.java
trunk/joafip/src/test/resources/log4j.properties
trunk/joafip-testsuite/src/main/java/net/sf/joafip/InErrorTests.java
Added Paths:
-----------
trunk/joafip/src/main/java/net/sf/joafip/store/service/classinfo/PackageInfo.java
trunk/joafip/src/main/java/net/sf/joafip/store/service/classinfo/SunPackage.java
Removed Paths:
-------------
trunk/joafip/src/main/java/net/sf/joafip/store/service/bytecode/SunPackage.java
Modified: trunk/joafip/doc/_todo.txt
===================================================================
--- trunk/joafip/doc/_todo.txt 2012-05-26 14:06:26 UTC (rev 3099)
+++ trunk/joafip/doc/_todo.txt 2012-05-27 05:07:36 UTC (rev 3100)
@@ -32,6 +32,8 @@
- persisted class byte code checked for persistence constraints
-- check field access constraints, direct field access disallow to force use of getter and/or setter
-- check private method invocation of other instance
+-- check package visibility method interception
+- can setup the prohibited package by security manager, this information is used by proxy class generator
- static field persistence feature removed because a non sense
- heap file project make able to create a map in file with a comparable key
- new joafip-pmap project, a file persisted tree map
Modified: trunk/joafip/src/main/java/net/sf/joafip/service/AbstractFilePersistenceDelegatingToStore.java
===================================================================
--- trunk/joafip/src/main/java/net/sf/joafip/service/AbstractFilePersistenceDelegatingToStore.java 2012-05-26 14:06:26 UTC (rev 3099)
+++ trunk/joafip/src/main/java/net/sf/joafip/service/AbstractFilePersistenceDelegatingToStore.java 2012-05-27 05:07:36 UTC (rev 3100)
@@ -650,6 +650,11 @@
}
@Override
+ public void addProhibitedPackage(final String packageName) {
+ store.addProhibitedPackage(packageName);
+ }
+
+ @Override
public void addToNotCheckMethod(final Class<?> clazz) {
store.addToNotCheckMethod(clazz);
}
Modified: trunk/joafip/src/main/java/net/sf/joafip/service/IFilePersistence.java
===================================================================
--- trunk/joafip/src/main/java/net/sf/joafip/service/IFilePersistence.java 2012-05-26 14:06:26 UTC (rev 3099)
+++ trunk/joafip/src/main/java/net/sf/joafip/service/IFilePersistence.java 2012-05-27 05:07:36 UTC (rev 3100)
@@ -613,6 +613,16 @@
*/
void setForceEnhance(String[] objectClassNames);
+ /**
+ * Add a prohibited package. Ensure proxy class are not created in this
+ * package. When the package of a proxy class is not the same package than
+ * proxied class then method having only package visibility are not overrode
+ * for method call interception<br>
+ *
+ * @param packageName
+ */
+ void addProhibitedPackage(String packageName);
+
void addToNotCheckMethod(Class<?> clazz);
void addToNotCheckMethod(Method method);
Modified: trunk/joafip/src/main/java/net/sf/joafip/store/entity/classinfo/ClassInfo.java
===================================================================
--- trunk/joafip/src/main/java/net/sf/joafip/store/entity/classinfo/ClassInfo.java 2012-05-26 14:06:26 UTC (rev 3099)
+++ trunk/joafip/src/main/java/net/sf/joafip/store/entity/classinfo/ClassInfo.java 2012-05-27 05:07:36 UTC (rev 3100)
@@ -55,9 +55,9 @@
import net.sf.joafip.store.entity.objectio.EnumObjectOutput;
import net.sf.joafip.store.entity.objectio.NullMarker;
import net.sf.joafip.store.service.binary.AbstractConverter;
-import net.sf.joafip.store.service.bytecode.SunPackage;
import net.sf.joafip.store.service.classinfo.ClassInfoException;
import net.sf.joafip.store.service.classinfo.IClassInfoFactory;
+import net.sf.joafip.store.service.classinfo.SunPackage;
import net.sf.joafip.store.service.conversion.ConversionException;
import net.sf.joafip.store.service.conversion.def.ConversionManager;
import net.sf.joafip.store.service.objectio.manager.ISubsituteSynchronizer;
Modified: trunk/joafip/src/main/java/net/sf/joafip/store/entity/classinfo/FieldInfo.java
===================================================================
--- trunk/joafip/src/main/java/net/sf/joafip/store/entity/classinfo/FieldInfo.java 2012-05-26 14:06:26 UTC (rev 3099)
+++ trunk/joafip/src/main/java/net/sf/joafip/store/entity/classinfo/FieldInfo.java 2012-05-27 05:07:36 UTC (rev 3100)
@@ -125,7 +125,7 @@
assertNotNull = field.isAnnotationPresent(AssertNotNull.class);
}
- // FIXMELUC ______known field: called ?
+ // FIXMELUC _______known field: called ?
public FieldInfo(final ClassInfo declaringClass, final String fieldName,
final ClassInfo fieldType, final Boolean staticField,
final Boolean transientField) throws ClassInfoException {
Modified: trunk/joafip/src/main/java/net/sf/joafip/store/service/IStore.java
===================================================================
--- trunk/joafip/src/main/java/net/sf/joafip/store/service/IStore.java 2012-05-26 14:06:26 UTC (rev 3099)
+++ trunk/joafip/src/main/java/net/sf/joafip/store/service/IStore.java 2012-05-27 05:07:36 UTC (rev 3100)
@@ -245,6 +245,8 @@
void setForceEnhance(String objectClassName);
+ void addProhibitedPackage(String packageName);
+
void addToNotCheckMethod(Class<?> clazz);
void addToNotCheckMethod(Method method);
Modified: trunk/joafip/src/main/java/net/sf/joafip/store/service/Store.java
===================================================================
--- trunk/joafip/src/main/java/net/sf/joafip/store/service/Store.java 2012-05-26 14:06:26 UTC (rev 3099)
+++ trunk/joafip/src/main/java/net/sf/joafip/store/service/Store.java 2012-05-27 05:07:36 UTC (rev 3100)
@@ -63,6 +63,7 @@
import net.sf.joafip.store.service.binary.HelperBinaryConversion;
import net.sf.joafip.store.service.classinfo.ClassInfoException;
import net.sf.joafip.store.service.classinfo.ClassInfoFactory;
+import net.sf.joafip.store.service.classinfo.PackageInfo;
import net.sf.joafip.store.service.heaprecordable.HeapRecordableException;
import net.sf.joafip.store.service.objectio.ObjectIOClassNotFoundException;
import net.sf.joafip.store.service.objectio.ObjectIODataCorruptedException;
@@ -103,6 +104,8 @@
@NotStorableClass
public class Store extends AbstractDelegatingToStoreManagers {// NOPMD
+ private final static PackageInfo PACKAGE_INFO = PackageInfo.getInstance();
+
private static final String FILE_ACCESS_SESSION_CLOSED =
/**/"file access session closed";
@@ -643,6 +646,13 @@
}
@Override
+ public void addProhibitedPackage(final String packageName) {
+ synchronized (mutex) {
+ PACKAGE_INFO.addProhibitedPackage(packageName);
+ }
+ }
+
+ @Override
public void addToNotCheckMethod(final Class<?> clazz) {
final Constructor<?>[] constructors = clazz.getDeclaredConstructors();
for (Constructor<?> constructor : constructors) {
Modified: trunk/joafip/src/main/java/net/sf/joafip/store/service/bytecode/AbstractClassCreator.java
===================================================================
--- trunk/joafip/src/main/java/net/sf/joafip/store/service/bytecode/AbstractClassCreator.java 2012-05-26 14:06:26 UTC (rev 3099)
+++ trunk/joafip/src/main/java/net/sf/joafip/store/service/bytecode/AbstractClassCreator.java 2012-05-27 05:07:36 UTC (rev 3100)
@@ -29,6 +29,7 @@
import net.sf.joafip.service.ClassLoaderProvider;
import net.sf.joafip.store.entity.classinfo.ClassInfo;
import net.sf.joafip.store.service.classinfo.ClassInfoFactory;
+import net.sf.joafip.store.service.classinfo.PackageInfo;
/**
*
@@ -40,6 +41,8 @@
protected final JoafipLogger logger = JoafipLogger.getLogger(getClass());// NOPMD
+ private final static PackageInfo PACKAGE_INFO = PackageInfo.getInstance();
+
public final static String JOAFIP_SUFIX = "$Joafip$";
private final static Set<String> noEnhanceMethodNameset = new TreeSet<String>();// NOPMD
@@ -89,8 +92,10 @@
throws EnhanceException {
// ASSERTX
assert objectClassInfo.classExists() : "can not enhance unexisting class";
- String superClassName;
- superClassName = objectClassInfo.getName();
+ // superClassName = objectClassInfo.getName();
+ final Class<?> superClass = objectClassInfo.getObjectClass();
+ final String superClassName = superClass.getName();
+
Class<?> defineClass;
synchronized (AbstractClassCreator.class) {
final Map<Integer, Map<String, Class<?>>> cache = interceptMethodEnd ? createdClassCacheMap
@@ -104,8 +109,41 @@
defineClass = map.get(superClassName);
}
if (defineClass == null) {
- defineClass = doEnhancement(objectClassInfo, superClassName,
- persistenceId, interceptMethodEnd);
+ /*
+ * enhanced class to be created
+ */
+ final String suffix;
+ if (classCreation) {
+ suffix = "Impl" + persistenceId;
+ } else {
+ if (interceptMethodEnd) {
+ suffix = JOAFIP_SUFIX + persistenceId + "i";
+ } else {
+ suffix = JOAFIP_SUFIX + persistenceId;
+ }
+ }
+ final String superClassPackageName = superClass.getPackage()
+ .getName();
+ final String toEnhanceClassName;
+ final String toEnhanceClassPackageName;
+ final boolean overridePublicOnly;
+ if (PACKAGE_INFO.isProhibitedPackage(superClassPackageName)) {
+ toEnhanceClassName = "net.sf.joafip." + superClassName
+ + suffix;
+ toEnhanceClassPackageName = "net.sf.joafip."
+ + superClassPackageName;
+ overridePublicOnly = true;
+ } else {
+ toEnhanceClassName = superClassName + suffix;
+ toEnhanceClassPackageName = superClassPackageName;
+ overridePublicOnly = false;
+ }
+
+ defineClass = doEnhancement(objectClassInfo,
+ superClassPackageName, superClassName,
+ toEnhanceClassPackageName, toEnhanceClassName,
+ persistenceId, interceptMethodEnd, overridePublicOnly);
+
map.put(superClassName, defineClass);
}
}
@@ -119,14 +157,19 @@
*
* @param objectClassInfo
* @param superClassName
+ * @param toEnhanceClassName
* @param persistenceId
* @param interceptMethodEnd
+ * @param overridePublicOnly
* @return the enhanced class
* @throws EnhanceException
*/
private Class<?> doEnhancement(final ClassInfo objectClassInfo,
- final String superClassName, final int persistenceId,
- final boolean interceptMethodEnd) throws EnhanceException {
+ final String superClassPackageName, final String superClassName,
+ final String toEnhanceClassPackageName,
+ final String toEnhanceClassName, final int persistenceId,
+ final boolean interceptMethodEnd, final boolean overridePublicOnly)
+ throws EnhanceException {
Class<?> objectClass;
objectClass = objectClassInfo.getObjectClass();
final int modifiers = objectClass.getModifiers();
@@ -134,30 +177,16 @@
throw new EnhanceException("can not enhance: " + objectClass
+ " is final");
}
- final String suffix;
- if (classCreation) {
- suffix = "Impl" + persistenceId;
- } else {
- if (interceptMethodEnd) {
- suffix = JOAFIP_SUFIX + persistenceId + "i";
- } else {
- suffix = JOAFIP_SUFIX + persistenceId;
- }
- }
- final String toEnhanceClassName;
- if (SunPackage.isSunPackage(superClassName)) {
- toEnhanceClassName = "net.sf.joafip." + superClassName + suffix;
- } else {
- toEnhanceClassName = superClassName + suffix;
- }
- return doEnhancementImpl(objectClassInfo, toEnhanceClassName,
- superClassName, persistenceId, interceptMethodEnd);
+ return doEnhancementImpl(objectClassInfo, toEnhanceClassPackageName,
+ toEnhanceClassName, superClassPackageName, superClassName,
+ persistenceId, interceptMethodEnd, overridePublicOnly);
}
protected abstract Class<?> doEnhancementImpl(ClassInfo objectClassInfo,
- String toEnhanceClassName, String superClassName,
- int persistenceId, boolean interceptMethodEnd)
- throws EnhanceException;
+ String toEnhanceClassPackageName, String toEnhanceClassName,
+ String superClassPackageName, String superClassName,
+ int persistenceId, boolean interceptMethodEnd,
+ boolean overridePublicOnly) throws EnhanceException;
protected boolean isEnhancable(final Method method) {
final String methodName = method.getName();
Deleted: trunk/joafip/src/main/java/net/sf/joafip/store/service/bytecode/SunPackage.java
===================================================================
--- trunk/joafip/src/main/java/net/sf/joafip/store/service/bytecode/SunPackage.java 2012-05-26 14:06:26 UTC (rev 3099)
+++ trunk/joafip/src/main/java/net/sf/joafip/store/service/bytecode/SunPackage.java 2012-05-27 05:07:36 UTC (rev 3100)
@@ -1,50 +0,0 @@
-/*
- * Copyright 2008 Luc Peuvrier
- *
- * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE
- * Licensed under the LGPL License, Version 3, 29 June 2007 (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.gnu.org/licenses/lgpl.html
- *
- * 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.
- */
-package net.sf.joafip.store.service.bytecode;
-
-import net.sf.joafip.NotStorableClass;
-
-/**
- *
- * @author luc peuvrier
- *
- */
-@NotStorableClass
-public final class SunPackage {
-
- public static final String SUNW = "sunw";
-
- public static final String SUN = "sun";
-
- public static final String JAVAX = "javax";
-
- public static final String JAVA = "java";
-
- public static final String COM_SUN = "com.sun";
-
- private SunPackage() {
- super();
- }
-
- public static boolean isSunPackage(final String className) {
- return className.startsWith(COM_SUN)
- || className.startsWith(JAVA)
- /* || className.startsWith(JAVAX) because JAVAX start with JAVA */|| className
- .startsWith(SUN)
- /* || className.startsWith(SUNW) because SUNW start with SUN */;
- }
-}
Modified: trunk/joafip/src/main/java/net/sf/joafip/store/service/bytecode/forimport/ClassCreator.java
===================================================================
--- trunk/joafip/src/main/java/net/sf/joafip/store/service/bytecode/forimport/ClassCreator.java 2012-05-26 14:06:26 UTC (rev 3099)
+++ trunk/joafip/src/main/java/net/sf/joafip/store/service/bytecode/forimport/ClassCreator.java 2012-05-27 05:07:36 UTC (rev 3100)
@@ -56,9 +56,11 @@
@Override
protected Class<?> doEnhancementImpl(final ClassInfo objectClassInfo,
- final String toEnhanceClassName, final String superClassName,
- final int persistenceId, final boolean interceptMethodEnd)
- throws EnhanceException {
+ final String toEnhanceClassPackageName,
+ final String toEnhanceClassName,
+ final String superClassPackageName, final String superClassName,
+ final int persistenceId, final boolean interceptMethodEnd,
+ final boolean overridePublicOnly) throws EnhanceException {
final Collection<Class<?>> interfacesClassCollection = new LinkedList<Class<?>>();
Class<?> objectClass;
Modified: trunk/joafip/src/main/java/net/sf/joafip/store/service/bytecode/proxy/ClassEnhancer.java
===================================================================
--- trunk/joafip/src/main/java/net/sf/joafip/store/service/bytecode/proxy/ClassEnhancer.java 2012-05-26 14:06:26 UTC (rev 3099)
+++ trunk/joafip/src/main/java/net/sf/joafip/store/service/bytecode/proxy/ClassEnhancer.java 2012-05-27 05:07:36 UTC (rev 3100)
@@ -16,6 +16,7 @@
*/
package net.sf.joafip.store.service.bytecode.proxy;
+import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
@@ -64,24 +65,29 @@
@Override
protected Class<?> doEnhancementImpl(final ClassInfo objectClassInfo,
- final String toEnhanceClassName, final String superClassName,
- final int persistenceId, final boolean interceptMethodEnd)
- throws EnhanceException {
+ final String toEnhanceClassPackageName,
+ final String toEnhanceClassName,
+ final String superClassPackageName, final String superClassName,
+ final int persistenceId, final boolean interceptMethodEnd,
+ final boolean overridePublicOnly) throws EnhanceException {
final Class<?> defineClass;
try {
CLASS_CONSTRAINT_CHECKER.check(superClassName, classInfoFactory);
final List<Method> methodsList = getMethodsToOverride(objectClassInfo);
final Constructor<?>[] constructors = getConstructors(objectClassInfo);
final byte[] generatedCode = ENHANCE_CODE_GENERATOR.generate(
+ /**/toEnhanceClassPackageName,
/**/toEnhanceClassName,
+ /**/superClassPackageName,
/**/superClassName,
/**/constructors,
/**/methodsList,
- /**/interceptMethodEnd);
+ /**/interceptMethodEnd,
+ /**/overridePublicOnly);
if (LOGGER.debugEnabled) {
LOGGER.debug("generated bytecode wrote to runtime/class/"
+ superClassName + ".class");
- writeByteCode("runtime/class/" + superClassName + ".class",
+ writeByteCode("runtime/class/" + toEnhanceClassName + ".class",
generatedCode);
}
defineClass = defineClass(toEnhanceClassName, generatedCode);
@@ -93,7 +99,12 @@
private void writeByteCode(final String fileName, final byte[] generatedCode) {
try {
- final OutputStream outputStream = new FileOutputStream(fileName);
+ final File file = new File(fileName);
+ final File parent = file.getParentFile();
+ if (parent != null) {
+ parent.mkdirs();
+ }
+ final OutputStream outputStream = new FileOutputStream(file);
outputStream.write(generatedCode, 0, generatedCode.length);
outputStream.close();
} catch (IOException exception) {
Modified: trunk/joafip/src/main/java/net/sf/joafip/store/service/bytecode/proxy/EnhanceCodeGenerator.java
===================================================================
--- trunk/joafip/src/main/java/net/sf/joafip/store/service/bytecode/proxy/EnhanceCodeGenerator.java 2012-05-26 14:06:26 UTC (rev 3099)
+++ trunk/joafip/src/main/java/net/sf/joafip/store/service/bytecode/proxy/EnhanceCodeGenerator.java 2012-05-27 05:07:36 UTC (rev 3100)
@@ -255,10 +255,11 @@
}
}
- public byte[] generate(final String className, final String superClassName,
- final Constructor<?>[] constructors,
- final Collection<Method> methods, final boolean interceptMethodEnd)
- throws EnhanceException {
+ public byte[] generate(final String classPackageName,
+ final String className, final String superClassPackageName,
+ final String superClassName, final Constructor<?>[] constructors,
+ final Collection<Method> methods, final boolean interceptMethodEnd,
+ final boolean overridePublicOnly) throws EnhanceException {
if (!initialized) {
initialize();
}
@@ -292,13 +293,15 @@
// add intercept method begin and end
for (Method method : methods) {
addInterceptCallMethodEndCall(classWriter, classInternalName,
- superClassInternalName, method);
+ superClassInternalName, method, classPackageName,
+ superClassPackageName, overridePublicOnly);
}
} else {
// add intercept method begin only
for (Method method : methods) {
addInterceptCall(classWriter, classInternalName,
- superClassInternalName, method);
+ superClassInternalName, method, classPackageName,
+ superClassPackageName, overridePublicOnly);
}
}
@@ -748,73 +751,86 @@
* @param classWriter
* @param classInternalName
* @param superClassInternalName
- * @param methodInfo
+ * @param method
+ * @param classPackageName
+ * @param superClassPackageName
+ * @param overridePublicOnly
+ * @throws EnhanceException
*/
private void addInterceptCall(final ClassWriter classWriter,
final String classInternalName,
- final String superClassInternalName, final Method method) {
- MethodVisitor methodVisitor;
- final String desc = Type.getMethodDescriptor(method);
- final Class<?>[] exceptionsClass = method.getExceptionTypes();
- final String[] exceptions = new String[exceptionsClass.length];// NOPMD
- for (int index = 0; index < exceptionsClass.length; index++) {
- exceptions[index] = Type.getInternalName(exceptionsClass[index]);
- }
+ final String superClassInternalName, final Method method,
+ final String classPackageName, final String superClassPackageName,
+ final boolean overridePublicOnly) throws EnhanceException {
+ final int methodModifiers = method.getModifiers();
+ if (checkAccess(overridePublicOnly, method, methodModifiers,
+ classPackageName, superClassPackageName)) {
+ MethodVisitor methodVisitor;
+ final String desc = Type.getMethodDescriptor(method);
+ final Class<?>[] exceptionsClass = method.getExceptionTypes();
+ final String[] exceptions = new String[exceptionsClass.length];// NOPMD
+ for (int index = 0; index < exceptionsClass.length; index++) {
+ exceptions[index] = Type
+ .getInternalName(exceptionsClass[index]);
+ }
- // final int access =
- // /**/(Modifier.isPublic(method.getModifiers()) ? ACC_PUBLIC : 0)
- // /**/| (Modifier.isStrict(method.getModifiers()) ? ACC_STRICT
- // : 0)
- // /**/| (Modifier.isSynchronized(method.getModifiers()) ?
- // ACC_SYNCHRONIZED
- // : 0);
- // final int access =method.getModifiers();
- final String methodName = method.getName();
- assert !Modifier.isPrivate(method.getModifiers()) : "method "
- + superClassInternalName + "#" + methodName
- + " must not be private and is: "
- + Modifier.toString(method.getModifiers());
- final int access = ACC_PUBLIC;
- methodVisitor = classWriter.visitMethod(
- /**/access,
- /**/methodName,
- /**/desc,
- /**/null,
- /**/exceptions);
+ // final int access =
+ // /**/(Modifier.isPublic(method.getModifiers()) ? ACC_PUBLIC : 0)
+ // /**/| (Modifier.isStrict(method.getModifiers()) ? ACC_STRICT
+ // : 0)
+ // /**/| (Modifier.isSynchronized(method.getModifiers()) ?
+ // ACC_SYNCHRONIZED
+ // : 0);
+ // final int access =method.getModifiers();
+ final String methodName = method.getName();
+ assert !Modifier.isPrivate(methodModifiers) : "method "
+ + superClassInternalName + "#" + methodName
+ + " must not be private and is: "
+ + Modifier.toString(methodModifiers);
+ // always public even if super method is not public
+ final int access = ACC_PUBLIC;
+ // final int access = computeAccess(method);
+ methodVisitor = classWriter.visitMethod(
+ /**/access,
+ /**/methodName,
+ /**/desc,
+ /**/null,
+ /**/exceptions);
- methodVisitor.visitCode();
+ methodVisitor.visitCode();
- methodVisitor.visitVarInsn(ALOAD, 0);
- methodVisitor.visitMethodInsn(
- /**/INVOKEVIRTUAL,
- /**/classInternalName,
- /**/INTERCEPT_METHOD_NAME,
- /**/interceptMethodDesc);
+ methodVisitor.visitVarInsn(ALOAD, 0);
+ methodVisitor.visitMethodInsn(
+ /**/INVOKEVIRTUAL,
+ /**/classInternalName,
+ /**/INTERCEPT_METHOD_NAME,
+ /**/interceptMethodDesc);
- methodVisitor.visitVarInsn(ALOAD, 0);
- final Class<?>[] parameterTypes = method.getParameterTypes();
- final int numberOfParams = parameterTypes.length;
- int paramSize = 0;
- for (int paramIndex = 0; paramIndex < numberOfParams; paramIndex++) {
- final Type type = Type.getType(parameterTypes[paramIndex]);
- final int opcode = type.getOpcode(ILOAD);
- methodVisitor.visitVarInsn(opcode, paramSize + 1);
- paramSize += type.getSize();
- }
- final Type returnType = Type.getReturnType(method);
+ methodVisitor.visitVarInsn(ALOAD, 0);
+ final Class<?>[] parameterTypes = method.getParameterTypes();
+ final int numberOfParams = parameterTypes.length;
+ int paramSize = 0;
+ for (int paramIndex = 0; paramIndex < numberOfParams; paramIndex++) {
+ final Type type = Type.getType(parameterTypes[paramIndex]);
+ final int opcode = type.getOpcode(ILOAD);
+ methodVisitor.visitVarInsn(opcode, paramSize + 1);
+ paramSize += type.getSize();
+ }
+ final Type returnType = Type.getReturnType(method);
- methodVisitor.visitMethodInsn(
- /**/INVOKESPECIAL,
- /**/superClassInternalName,
- /**/methodName,
- /**/desc);
+ methodVisitor.visitMethodInsn(
+ /**/INVOKESPECIAL,
+ /**/superClassInternalName,
+ /**/methodName,
+ /**/desc);
- final int opcode = returnType.getOpcode(IRETURN);
- methodVisitor.visitInsn(opcode);
+ final int opcode = returnType.getOpcode(IRETURN);
+ methodVisitor.visitInsn(opcode);
- // FIXMELUC _visitmaxs call needed ?
- methodVisitor.visitMaxs(0, 0);
- methodVisitor.visitEnd();
+ // FIXMELUC _visitmaxs call needed ?
+ methodVisitor.visitMaxs(0, 0);
+ methodVisitor.visitEnd();
+ }
}
/**
@@ -823,113 +839,161 @@
* @param classWriter
* @param classInternalName
* @param superClassInternalName
- * @param methodInfo
+ * @param method
+ * @param classPackageName
+ * @param superClassPackageName
+ * @param overridePublicOnly
+ * @throws EnhanceException
*/
private void addInterceptCallMethodEndCall(final ClassWriter classWriter,
final String classInternalName,
- final String superClassInternalName, final Method method) {
- MethodVisitor methodVisitor;
- final String desc = Type.getMethodDescriptor(method);
- final Class<?>[] exceptionsClass = method.getExceptionTypes();
- final String[] exceptions = new String[exceptionsClass.length];// NOPMD
- for (int index = 0; index < exceptionsClass.length; index++) {
- exceptions[index] = Type.getInternalName(exceptionsClass[index]);
- }
+ final String superClassInternalName, final Method method,
+ final String classPackageName, final String superClassPackageName,
+ final boolean overridePublicOnly) throws EnhanceException {
+ final int methodModifiers = method.getModifiers();
+ if (checkAccess(overridePublicOnly, method, methodModifiers,
+ classPackageName, superClassPackageName)) {
- // final int access =
- // /**/(Modifier.isPublic(method.getModifiers()) ? ACC_PUBLIC : 0)
- // /**/| (Modifier.isStrict(method.getModifiers()) ? ACC_STRICT
- // : 0)
- // /**/| (Modifier.isSynchronized(method.getModifiers()) ?
- // ACC_SYNCHRONIZED
- // : 0);
- // // final int access =ACC_PUBLIC;
- // // final int access =method.getModifiers();
- final String methodName = method.getName();
- assert !Modifier.isPrivate(method.getModifiers()) : "method "
- + superClassInternalName + "#" + methodName
- + " must not be private and is: "
- + Modifier.toString(method.getModifiers());
- final int access = ACC_PUBLIC;
- methodVisitor = classWriter.visitMethod(
- /**/access,
- /**/methodName,
- /**/desc,
- /**/null,
- /**/exceptions);
+ MethodVisitor methodVisitor;
+ final String desc = Type.getMethodDescriptor(method);
+ final Class<?>[] exceptionsClass = method.getExceptionTypes();
+ final String[] exceptions = new String[exceptionsClass.length];// NOPMD
+ for (int index = 0; index < exceptionsClass.length; index++) {
+ exceptions[index] = Type
+ .getInternalName(exceptionsClass[index]);
+ }
- methodVisitor.visitCode();
+ // final int access =
+ // /**/(Modifier.isPublic(method.getModifiers()) ? ACC_PUBLIC : 0)
+ // /**/| (Modifier.isStrict(method.getModifiers()) ? ACC_STRICT
+ // : 0)
+ // /**/| (Modifier.isSynchronized(method.getModifiers()) ?
+ // ACC_SYNCHRONIZED
+ // : 0);
+ // // final int access =ACC_PUBLIC;
+ // // final int access =method.getModifiers();
+ final String methodName = method.getName();
+ assert !Modifier.isPrivate(methodModifiers) : "method "
+ + superClassInternalName + "#" + methodName
+ + " must not be private and is: "
+ + Modifier.toString(methodModifiers);
+ // always public even if super method is not public
+ final int access = ACC_PUBLIC;
+ // final int access = computeAccess(method);
+ methodVisitor = classWriter.visitMethod(
+ /**/access,
+ /**/methodName,
+ /**/desc,
+ /**/null,
+ /**/exceptions);
- final Label label0 = new Label();
- final Label label1 = new Label();
- final Label label2 = new Label();
- methodVisitor.visitTryCatchBlock(label0, label1, label2, null);
+ methodVisitor.visitCode();
- methodVisitor.visitLabel(label0);
- methodVisitor.visitVarInsn(ALOAD, 0);
- methodVisitor.visitMethodInsn(
- /**/INVOKEVIRTUAL,
- /**/classInternalName,
- /**/INTERCEPT_METHOD_NAME,
- /**/interceptMethodDesc);
+ final Label label0 = new Label();
+ final Label label1 = new Label();
+ final Label label2 = new Label();
+ methodVisitor.visitTryCatchBlock(label0, label1, label2, null);
- methodVisitor.visitVarInsn(ALOAD, 0);
- final Class<?>[] parameterTypes = method.getParameterTypes();
- final int numberOfParams = parameterTypes.length;
- int paramSize = 0;
- for (int paramIndex = 0; paramIndex < numberOfParams; paramIndex++) {
- final Type type = Type.getType(parameterTypes[paramIndex]);
- final int opcode = type.getOpcode(ILOAD);
- methodVisitor.visitVarInsn(opcode, paramSize + 1);
- paramSize += type.getSize();
- }
- final Type returnType = Type.getReturnType(method);
+ methodVisitor.visitLabel(label0);
+ methodVisitor.visitVarInsn(ALOAD, 0);
+ methodVisitor.visitMethodInsn(
+ /**/INVOKEVIRTUAL,
+ /**/classInternalName,
+ /**/INTERCEPT_METHOD_NAME,
+ /**/interceptMethodDesc);
- methodVisitor.visitMethodInsn(
- /**/INVOKESPECIAL,
- /**/superClassInternalName,
- /**/methodName,
- /**/desc);
+ methodVisitor.visitVarInsn(ALOAD, 0);
+ final Class<?>[] parameterTypes = method.getParameterTypes();
+ final int numberOfParams = parameterTypes.length;
+ int paramSize = 0;
+ for (int paramIndex = 0; paramIndex < numberOfParams; paramIndex++) {
+ final Type type = Type.getType(parameterTypes[paramIndex]);
+ final int opcode = type.getOpcode(ILOAD);
+ methodVisitor.visitVarInsn(opcode, paramSize + 1);
+ paramSize += type.getSize();
+ }
+ final Type returnType = Type.getReturnType(method);
- methodVisitor.visitLabel(label1);
+ methodVisitor.visitMethodInsn(
+ /**/INVOKESPECIAL,
+ /**/superClassInternalName,
+ /**/methodName,
+ /**/desc);
- int opcode;
- if (!Type.VOID_TYPE.equals(returnType)) {
- opcode = returnType.getOpcode(ISTORE);
- methodVisitor.visitVarInsn(opcode, paramSize + 1);
- }
+ methodVisitor.visitLabel(label1);
- methodVisitor.visitVarInsn(ALOAD, 0);
- methodVisitor.visitMethodInsn(
- /**/INVOKEVIRTUAL,
- /**/classInternalName,
- /**/METHOD_END_METHOD_NAME,
- /**/methodEndMethodDesc);
+ int opcode;
+ if (!Type.VOID_TYPE.equals(returnType)) {
+ opcode = returnType.getOpcode(ISTORE);
+ methodVisitor.visitVarInsn(opcode, paramSize + 1);
+ }
- if (!Type.VOID_TYPE.equals(returnType)) {
- opcode = returnType.getOpcode(ILOAD);
- methodVisitor.visitVarInsn(opcode, paramSize + 1);
- }
+ methodVisitor.visitVarInsn(ALOAD, 0);
+ methodVisitor.visitMethodInsn(
+ /**/INVOKEVIRTUAL,
+ /**/classInternalName,
+ /**/METHOD_END_METHOD_NAME,
+ /**/methodEndMethodDesc);
- opcode = returnType.getOpcode(IRETURN);
- methodVisitor.visitInsn(opcode);
+ if (!Type.VOID_TYPE.equals(returnType)) {
+ opcode = returnType.getOpcode(ILOAD);
+ methodVisitor.visitVarInsn(opcode, paramSize + 1);
+ }
- // finally block
- methodVisitor.visitLabel(label2);
- methodVisitor.visitVarInsn(ASTORE, 1);
+ opcode = returnType.getOpcode(IRETURN);
+ methodVisitor.visitInsn(opcode);
- methodVisitor.visitVarInsn(ALOAD, 0);
- methodVisitor.visitMethodInsn(
- /**/INVOKEVIRTUAL,
- /**/classInternalName,
- /**/METHOD_END_METHOD_NAME,
- /**/methodEndMethodDesc);
+ // finally block
+ methodVisitor.visitLabel(label2);
+ methodVisitor.visitVarInsn(ASTORE, 1);
- methodVisitor.visitVarInsn(ALOAD, 1);
- methodVisitor.visitInsn(ATHROW);
+ methodVisitor.visitVarInsn(ALOAD, 0);
+ methodVisitor.visitMethodInsn(
+ /**/INVOKEVIRTUAL,
+ /**/classInternalName,
+ /**/METHOD_END_METHOD_NAME,
+ /**/methodEndMethodDesc);
- // FIXMELUC _visitmaxs call needed ?
- methodVisitor.visitMaxs(0, 0);
- methodVisitor.visitEnd();
+ methodVisitor.visitVarInsn(ALOAD, 1);
+ methodVisitor.visitInsn(ATHROW);
+
+ // FIXMELUC _visitmaxs call needed ?
+ methodVisitor.visitMaxs(0, 0);
+ methodVisitor.visitEnd();
+ }
}
+
+ private boolean checkAccess(final boolean overridePublicOnly,
+ final Method method, final int methodModifiers,
+ final String classPackageName, final String superClassPackageName)
+ throws EnhanceException {
+ final boolean enhance;
+ if (Modifier.isPublic(methodModifiers)) {
+ enhance = true;
+ } else if (overridePublicOnly) {
+ enhance = false;
+ } else if (classPackageName.equals(superClassPackageName)) {
+ enhance = true;
+ } else {
+ throw new EnhanceException("will not be intercepted:\n"
+ + method.toString()
+ + "\n because not public and class package is "
+ + superClassPackageName + " and proxy package is "
+ + classPackageName);
+ }
+ return enhance;
+ }
+
+ // private int computeAccess(final Method method) {
+ // final int access;
+ // final int modifiers = method.getModifiers();
+ // if( Modifier.isPublic(modifiers)) {
+ // access=ACC_PUBLIC;
+ // } else if( Modifier.isProtected(modifiers)) {
+ // access=ACC_PROTECTED;
+ // } else {
+ // access=0;
+ // }
+ // return access;
+ // }
}
Added: trunk/joafip/src/main/java/net/sf/joafip/store/service/classinfo/PackageInfo.java
===================================================================
--- trunk/joafip/src/main/java/net/sf/joafip/store/service/classinfo/PackageInfo.java (rev 0)
+++ trunk/joafip/src/main/java/net/sf/joafip/store/service/classinfo/PackageInfo.java 2012-05-27 05:07:36 UTC (rev 3100)
@@ -0,0 +1,67 @@
+/*
+ * Copyright 2012 Luc Peuvrier
+ * All rights reserved.
+ *
+ * This file is a part of JOAFIP.
+ *
+ * JOAFIP is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License.
+ *
+ * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE
+ * Licensed under the LGPL License, Version 3, 29 June 2007 (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.gnu.org/licenses/lgpl.html
+ *
+ * JOAFIP is distributed in the hope that it will be useful, but
+ * 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.
+ */
+package net.sf.joafip.store.service.classinfo;
+
+import java.util.NavigableSet;
+import java.util.TreeSet;
+
+/**
+ *
+ * @author luc peuvrier
+ *
+ */
+public final class PackageInfo {
+
+ private final static PackageInfo INSTANCE = new PackageInfo();
+
+ private final NavigableSet<String> prohibitedPackageSet = new TreeSet<String>();
+
+ private final String MARK = Character.valueOf((char) 0xffff).toString(); // NOPMD
+
+ private PackageInfo() {
+ super();
+ for (String packageName : SunPackage.ALL_SUN_PACKAGE) {
+ prohibitedPackageSet.add(packageName.replace('.',
+ Character.MAX_VALUE) + MARK);
+ }
+ }
+
+ public static PackageInfo getInstance() {
+ return INSTANCE;
+ }
+
+ public boolean isProhibitedPackage(final String packageName) {
+ final String element = packageName.replace('.', Character.MAX_VALUE)
+ + MARK;
+ final String floor = prohibitedPackageSet.floor(element);
+ return floor != null && element.startsWith(floor);
+ }
+
+ public void addProhibitedPackage(final String packageNameParms) {
+ final String packageName = packageNameParms.endsWith(".") ? packageNameParms
+ : (packageNameParms + ".");
+ prohibitedPackageSet.add(packageName.replace('.', Character.MAX_VALUE)
+ + MARK);
+ }
+}
Copied: trunk/joafip/src/main/java/net/sf/joafip/store/service/classinfo/SunPackage.java (from rev 3098, trunk/joafip/src/main/java/net/sf/joafip/store/service/bytecode/SunPackage.java)
===================================================================
--- trunk/joafip/src/main/java/net/sf/joafip/store/service/classinfo/SunPackage.java (rev 0)
+++ trunk/joafip/src/main/java/net/sf/joafip/store/service/classinfo/SunPackage.java 2012-05-27 05:07:36 UTC (rev 3100)
@@ -0,0 +1,53 @@
+/*
+ * Copyright 2008 Luc Peuvrier
+ *
+ * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE
+ * Licensed under the LGPL License, Version 3, 29 June 2007 (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.gnu.org/licenses/lgpl.html
+ *
+ * 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.
+ */
+package net.sf.joafip.store.service.classinfo;
+
+import net.sf.joafip.NotStorableClass;
+
+/**
+ *
+ * @author luc peuvrier
+ *
+ */
+@NotStorableClass
+public final class SunPackage {
+
+ public static final String SUNW = "sunw";
+
+ public static final String SUN = "sun";
+
+ public static final String JAVAX = "javax";
+
+ public static final String JAVA = "java";
+
+ public static final String COM_SUN = "com.sun";
+
+ public static final String[] ALL_SUN_PACKAGE = new String[] {
+ /**/SUNW, SUN, JAVAX, JAVA, COM_SUN };
+
+ private SunPackage() {
+ super();
+ }
+
+ public static boolean isSunPackage(final String className) {
+ return className.startsWith(COM_SUN)
+ || className.startsWith(JAVA)
+ /* || className.startsWith(JAVAX) because JAVAX start with JAVA */|| className
+ .startsWith(SUN)
+ /* || className.startsWith(SUNW) because SUNW start with SUN */;
+ }
+}
Modified: trunk/joafip/src/test/java/net/sf/joafip/service/sync/TestSynchronizedCollection.java
===================================================================
--- trunk/joafip/src/test/java/net/sf/joafip/service/sync/TestSynchronizedCollection.java 2012-05-26 14:06:26 UTC (rev 3099)
+++ trunk/joafip/src/test/java/net/sf/joafip/service/sync/TestSynchronizedCollection.java 2012-05-27 05:07:36 UTC (rev 3100)
@@ -70,7 +70,7 @@
FilePersistenceDataCorruptedException,
FilePersistenceNotSerializableException,
FilePersistenceTooBigForSerializationException {
- // FIXMELUC __known problem to solve
+ // FIXMELUC ______________known problem to solve
if (buildMode) {
warnSkipped();
return;
Modified: trunk/joafip/src/test/java/net/sf/joafip/store/service/TestStoreWithBobFileLazy.java
===================================================================
--- trunk/joafip/src/test/java/net/sf/joafip/store/service/TestStoreWithBobFileLazy.java 2012-05-26 14:06:26 UTC (rev 3099)
+++ trunk/joafip/src/test/java/net/sf/joafip/store/service/TestStoreWithBobFileLazy.java 2012-05-27 05:07:36 UTC (rev 3100)
@@ -19,6 +19,7 @@
import net.sf.joafip.NotStorableClass;
import net.sf.joafip.StorableAccess;
import net.sf.joafip.TestException;
+import net.sf.joafip.store.service.objectfortest.Bob1;
@NotStorableClass
@StorableAccess
@@ -36,6 +37,7 @@
protected void setUp() throws Exception {// NOPMD
super.setUp();
store = new StoreForTest(1, null, path, true/* garbage */);
+ store.addToNotCheckMethod(Bob1.class);
store.openAndNewAccessSession(true/* removeFiles */);
dataManager = store.getDataManager();
}
Modified: trunk/joafip/src/test/java/net/sf/joafip/store/service/proxy/BobPackageVisibility.java
===================================================================
--- trunk/joafip/src/test/java/net/sf/joafip/store/service/proxy/BobPackageVisibility.java 2012-05-26 14:06:26 UTC (rev 3099)
+++ trunk/joafip/src/test/java/net/sf/joafip/store/service/proxy/BobPackageVisibility.java 2012-05-27 05:07:36 UTC (rev 3100)
@@ -8,4 +8,8 @@
void dummy() {// NOPMD package visibility
// no implementation
}
+
+ public void publicDummy() {
+ // no implementation
+ }
}
Modified: trunk/joafip/src/test/java/net/sf/joafip/store/service/proxy/TestProxyInterceptPackageVisibility.java
===================================================================
--- trunk/joafip/src/test/java/net/sf/joafip/store/service/proxy/TestProxyInterceptPackageVisibility.java 2012-05-26 14:06:26 UTC (rev 3099)
+++ trunk/joafip/src/test/java/net/sf/joafip/store/service/proxy/TestProxyInterceptPackageVisibility.java 2012-05-27 05:07:36 UTC (rev 3100)
@@ -62,12 +62,26 @@
final ClassLoaderProvider classLoaderProvider = new ClassLoaderProvider();
final ProxyManager2 proxyManager2 = new ProxyManager2(
classLoaderProvider, classInfoFactory);
- final BobPackageVisibility bob = (BobPackageVisibility) proxyManager2
+
+ // do a public method interception test before test package visibility
+ // method interception test
+ BobPackageVisibility bob = (BobPackageVisibility) proxyManager2
.newInstanceNoConstruction(classInfo, storageInfo, this,
DataRecordIdentifier.LAST, true).getObject();
assertNull("must not intercept bob1 method call", intercepted);
+ bob.publicDummy();
+ assertSame("must intercept bob1 publicDummy method call", bob,
+ intercepted);
+
+ // test package visibility method interception test
+ intercepted = null;// NOPMD
+ bob = (BobPackageVisibility) proxyManager2.newInstanceNoConstruction(
+ classInfo, storageInfo, this, DataRecordIdentifier.LAST, true)
+ .getObject();
+ assertNull("must not intercept bob1 method call", intercepted);
bob.dummy();
- assertSame("must intercept bob1 method call", bob, intercepted);
+ assertSame("must intercept bob1 dummy method call", bob, intercepted);
+
}
@Override
Modified: trunk/joafip/src/test/resources/log4j.properties
===================================================================
--- trunk/joafip/src/test/resources/log4j.properties 2012-05-26 14:06:26 UTC (rev 3099)
+++ trunk/joafip/src/test/resources/log4j.properties 2012-05-27 05:07:36 UTC (rev 3100)
@@ -80,7 +80,7 @@
#log4j.logger.net.sf.joafip.store.service.heaprecordable.HeapRecordableManager=debug
#log4j.logger.net.sf.joafip.store.service.objectfortest.Bob1=debug
#log4j.logger.net.sf.joafip.store.service.proxy=debug
-#log4j.logger.net.sf.joafip.store.service.proxy.ClassEnhancer=debug
+#log4j.logger.net.sf.joafip.store.service.bytecode.proxy.ClassEnhancer=debug
#log4j.logger.net.sf.joafip.store.service.proxy.ProxyCallBack2=debug
#log4j.logger.net.sf.joafip.store.service.export_import.in.XmlImporter=debug
#log4j.logger.net.sf.joafip.store.service.conversion.ConversionManager=debug
Modified: trunk/joafip-testsuite/src/main/java/net/sf/joafip/InErrorTests.java
===================================================================
--- trunk/joafip-testsuite/src/main/java/net/sf/joafip/InErrorTests.java 2012-05-26 14:06:26 UTC (rev 3099)
+++ trunk/joafip-testsuite/src/main/java/net/sf/joafip/InErrorTests.java 2012-05-27 05:07:36 UTC (rev 3100)
@@ -24,8 +24,24 @@
import junit.framework.Test;
import junit.framework.TestSuite;
-import net.sf.joafip.java.util.TestSubPTreeSetConcurrent;
-import net.sf.joafip.java.util.TestSubPTreeSetNoConcurrent;
+import net.sf.joafip.service.bug.TestGarbageModeError;
+import net.sf.joafip.service.rel400.TestFileManagementOptions;
+import net.sf.joafip.service.rel400.TestStoredImmutableEnum;
+import net.sf.joafip.service.sync.TestSynchronizedCollection;
+import net.sf.joafip.store.service.TestStoreWithBobFileDirect;
+import net.sf.joafip.store.service.TestStoreWithBobFileLazy;
+import net.sf.joafip.store.service.TestStoreWithBobFileLazyNoGarbage;
+import net.sf.joafip.store.service.TestStoreWithBobMemoryLazy;
+import net.sf.joafip.store.service.collection.nosubs.TestStoreCollectionArrayListNosubsNoG;
+import net.sf.joafip.store.service.collection.nosubs.TestStoreCollectionArrayListNosubsWithG;
+import net.sf.joafip.store.service.collection.nosubs.TestStoreCollectionHashTableNosubsNoG;
+import net.sf.joafip.store.service.collection.nosubs.TestStoreCollectionHashTableNosubsWithG;
+import net.sf.joafip.store.service.collection.nosubs.TestStoreCollectionLinkedListNosubsNoG;
+import net.sf.joafip.store.service.collection.nosubs.TestStoreCollectionLinkedListNosubsWithG;
+import net.sf.joafip.store.service.collection.nosubs.TestStoreCollectionTreeMapNosubsNoG;
+import net.sf.joafip.store.service.collection.nosubs.TestStoreCollectionTreeMapNosubsWithG;
+import net.sf.joafip.store.service.collection.nosubs.TestStoreCollectionVectorNosubsNoG;
+import net.sf.joafip.store.service.collection.nosubs.TestStoreCollectionVectorNosubsWithG;
/**
*
@@ -42,8 +58,24 @@
public static Test suite() {
final TestSuite suite = new TestSuite("in error Tests");
// $JUnit-BEGIN$
- suite.addTestSuite(TestSubPTreeSetConcurrent.class);
- suite.addTestSuite(TestSubPTreeSetNoConcurrent.class);
+ suite.addTestSuite(TestStoreCollectionLinkedListNosubsNoG.class);
+ suite.addTestSuite(TestStoreCollectionLinkedListNosubsWithG.class);
+ suite.addTestSuite(TestStoreCollectionArrayListNosubsNoG.class);
+ suite.addTestSuite(TestStoreCollectionArrayListNosubsWithG.class);
+ suite.addTestSuite(TestStoreCollectionVectorNosubsNoG.class);
+ suite.addTestSuite(TestStoreCollectionVectorNosubsWithG.class);
+ suite.addTestSuite(TestStoreCollectionTreeMapNosubsNoG.class);
+ suite.addTestSuite(TestStoreCollectionTreeMapNosubsWithG.class);
+ suite.addTestSuite(TestStoreCollectionHashTableNosubsNoG.class);
+ suite.addTestSuite(TestStoreCollectionHashTableNosubsWithG.class);
+ suite.addTestSuite(TestStoreWithBobFileLazy.class);
+ suite.addTestSuite(TestStoreWithBobFileLazyNoGarbage.class);
+ suite.addTestSuite(TestStoreWithBobFileDirect.class);
+ suite.addTestSuite(TestStoreWithBobMemoryLazy.class);
+ suite.addTestSuite(TestGarbageModeError.class);
+ suite.addTestSuite(TestStoredImmutableEnum.class);
+ suite.addTestSuite(TestFileManagementOptions.class);
+ suite.addTestSuite(TestSynchronizedCollection.class);
// suite.addTest(xxxx.suite());
// $JUnit-END$
return suite;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <luc...@us...> - 2012-05-27 05:07:43
|
Revision: 3100
http://joafip.svn.sourceforge.net/joafip/?rev=3100&view=rev
Author: luc_peuvrier
Date: 2012-05-27 05:07:36 +0000 (Sun, 27 May 2012)
Log Message:
-----------
can setup the prohibited package by security manager, this information is used by proxy class generator
Modified Paths:
--------------
trunk/joafip/doc/_todo.txt
trunk/joafip/src/main/java/net/sf/joafip/service/AbstractFilePersistenceDelegatingToStore.java
trunk/joafip/src/main/java/net/sf/joafip/service/IFilePersistence.java
trunk/joafip/src/main/java/net/sf/joafip/store/entity/classinfo/ClassInfo.java
trunk/joafip/src/main/java/net/sf/joafip/store/entity/classinfo/FieldInfo.java
trunk/joafip/src/main/java/net/sf/joafip/store/service/IStore.java
trunk/joafip/src/main/java/net/sf/joafip/store/service/Store.java
trunk/joafip/src/main/java/net/sf/joafip/store/service/bytecode/AbstractClassCreator.java
trunk/joafip/src/main/java/net/sf/joafip/store/service/bytecode/forimport/ClassCreator.java
trunk/joafip/src/main/java/net/sf/joafip/store/service/bytecode/proxy/ClassEnhancer.java
trunk/joafip/src/main/java/net/sf/joafip/store/service/bytecode/proxy/EnhanceCodeGenerator.java
trunk/joafip/src/test/java/net/sf/joafip/service/sync/TestSynchronizedCollection.java
trunk/joafip/src/test/java/net/sf/joafip/store/service/TestStoreWithBobFileLazy.java
trunk/joafip/src/test/java/net/sf/joafip/store/service/proxy/BobPackageVisibility.java
trunk/joafip/src/test/java/net/sf/joafip/store/service/proxy/TestProxyInterceptPackageVisibility.java
trunk/joafip/src/test/resources/log4j.properties
trunk/joafip-testsuite/src/main/java/net/sf/joafip/InErrorTests.java
Added Paths:
-----------
trunk/joafip/src/main/java/net/sf/joafip/store/service/classinfo/PackageInfo.java
trunk/joafip/src/main/java/net/sf/joafip/store/service/classinfo/SunPackage.java
Removed Paths:
-------------
trunk/joafip/src/main/java/net/sf/joafip/store/service/bytecode/SunPackage.java
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <luc...@us...> - 2012-05-26 14:06:33
|
Revision: 3099
http://joafip.svn.sourceforge.net/joafip/?rev=3099&view=rev
Author: luc_peuvrier
Date: 2012-05-26 14:06:26 +0000 (Sat, 26 May 2012)
Log Message:
-----------
useless code removed
Modified Paths:
--------------
trunk/joafip/src/main/java/net/sf/joafip/store/entity/objectio/ObjectStateMap.java
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <luc...@us...> - 2012-05-26 14:06:33
|
Revision: 3099
http://joafip.svn.sourceforge.net/joafip/?rev=3099&view=rev
Author: luc_peuvrier
Date: 2012-05-26 14:06:26 +0000 (Sat, 26 May 2012)
Log Message:
-----------
useless code removed
Modified Paths:
--------------
trunk/joafip/src/main/java/net/sf/joafip/store/entity/objectio/ObjectStateMap.java
Modified: trunk/joafip/src/main/java/net/sf/joafip/store/entity/objectio/ObjectStateMap.java
===================================================================
--- trunk/joafip/src/main/java/net/sf/joafip/store/entity/objectio/ObjectStateMap.java 2012-05-26 11:17:31 UTC (rev 3098)
+++ trunk/joafip/src/main/java/net/sf/joafip/store/entity/objectio/ObjectStateMap.java 2012-05-26 14:06:26 UTC (rev 3099)
@@ -337,29 +337,11 @@
stateMap.clear();
stateMapByIdentifier.clear();
key.clear();
-
- // FIXMELUC ___may be not needed to clear queue link
- ObjectAndPersistInfo current = referencedQueueHead;
- while (current != null) {
- final ObjectAndPersistInfo next = current.nextReferenced;
- current.nextReferenced = null;// NOPMD
- current.previousReferenced = null;// NOPMD
- current = next;
- }
+ // clear queue
referencedQueueHead = null;// NOPMD
referencedQueueTail = null;// NOPMD
referencedQueueSize = 0;
-
if (exclusiveAccessSession) {
-
- // FIXMELUC ___may be not needed to clear queue link
- current = queueHead;
- while (current != null) {
- final ObjectAndPersistInfo next = current.next;
- current.next = null;// NOPMD
- current.previous = null;// NOPMD
- current = next;
- }
// clear queue
queueHead = null;// NOPMD
queueTail = null;// NOPMD
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <luc...@us...> - 2012-05-26 11:17:37
|
Revision: 3098
http://joafip.svn.sourceforge.net/joafip/?rev=3098&view=rev
Author: luc_peuvrier
Date: 2012-05-26 11:17:31 +0000 (Sat, 26 May 2012)
Log Message:
-----------
tree sub set remove and contains correction
Modified Paths:
--------------
trunk/joafip/doc/_todo.txt
Modified: trunk/joafip/doc/_todo.txt
===================================================================
--- trunk/joafip/doc/_todo.txt 2012-05-26 11:16:14 UTC (rev 3097)
+++ trunk/joafip/doc/_todo.txt 2012-05-26 11:17:31 UTC (rev 3098)
@@ -66,6 +66,7 @@
- stored enum management corrected in case of storage file erase
- failure of write byte while serializing
- too much warn failed to read root record #1, try to reduce, now warn only once at file persistence opening
+- tree sub set remove and contains correction
-------------------------------------------------------------------------------------
java agent bad performance
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <luc...@us...> - 2012-05-26 11:17:37
|
Revision: 3098
http://joafip.svn.sourceforge.net/joafip/?rev=3098&view=rev
Author: luc_peuvrier
Date: 2012-05-26 11:17:31 +0000 (Sat, 26 May 2012)
Log Message:
-----------
tree sub set remove and contains correction
Modified Paths:
--------------
trunk/joafip/doc/_todo.txt
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <luc...@us...> - 2012-05-26 11:16:21
|
Revision: 3097
http://joafip.svn.sourceforge.net/joafip/?rev=3097&view=rev
Author: luc_peuvrier
Date: 2012-05-26 11:16:14 +0000 (Sat, 26 May 2012)
Log Message:
-----------
tree sub set remove and contains correction
Modified Paths:
--------------
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/PTreeSubSet.java
trunk/joafip-collection/src/test/java/net/sf/joafip/java/util/AbstractTestSubPTreeSet.java
trunk/joafip-testsuite/src/main/java/net/sf/joafip/InErrorTests.java
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <luc...@us...> - 2012-05-26 11:16:20
|
Revision: 3097
http://joafip.svn.sourceforge.net/joafip/?rev=3097&view=rev
Author: luc_peuvrier
Date: 2012-05-26 11:16:14 +0000 (Sat, 26 May 2012)
Log Message:
-----------
tree sub set remove and contains correction
Modified Paths:
--------------
trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/PTreeSubSet.java
trunk/joafip-collection/src/test/java/net/sf/joafip/java/util/AbstractTestSubPTreeSet.java
trunk/joafip-testsuite/src/main/java/net/sf/joafip/InErrorTests.java
Modified: trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/PTreeSubSet.java
===================================================================
--- trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/PTreeSubSet.java 2012-05-26 10:24:33 UTC (rev 3096)
+++ trunk/joafip-collection/src/main/java/net/sf/joafip/java/util/PTreeSubSet.java 2012-05-26 11:16:14 UTC (rev 3097)
@@ -139,16 +139,30 @@
return super.add(element);
}
- // FIXMELUC ____must be override
+ @SuppressWarnings("unchecked")
@Override
public boolean contains(final Object object) {// NOPMD
- return super.contains(object);
+ final boolean contains;
+ final E element = (E) object;
+ if (!beforeTo(element) || !afterFrom(element)) {// NOPMD
+ contains = false;
+ } else {
+ contains = super.contains(object);
+ }
+ return contains;
}
- // FIXMELUC ____must be override
+ @SuppressWarnings("unchecked")
@Override
public boolean remove(final Object object) {// NOPMD
- return super.remove(object);
+ final boolean remove;
+ final E element = (E) object;
+ if (!beforeTo(element) || !afterFrom(element)) {// NOPMD
+ remove = false;
+ } else {
+ remove = super.remove(object);
+ }
+ return remove;
}
@Override
Modified: trunk/joafip-collection/src/test/java/net/sf/joafip/java/util/AbstractTestSubPTreeSet.java
===================================================================
--- trunk/joafip-collection/src/test/java/net/sf/joafip/java/util/AbstractTestSubPTreeSet.java 2012-05-26 10:24:33 UTC (rev 3096)
+++ trunk/joafip-collection/src/test/java/net/sf/joafip/java/util/AbstractTestSubPTreeSet.java 2012-05-26 11:16:14 UTC (rev 3097)
@@ -59,4 +59,14 @@
protected boolean acceptNullElement() { // NOPMD
return true;
}
+
+ public void testContains() {
+ assertFalse("must not containes '0'", set.contains("0"));
+ assertFalse("must not containes '{'", set.contains("{"));
+ }
+
+ public void testRemove() {
+ assertFalse("must not containes '0'", set.remove("0"));
+ assertFalse("must not containes '{'", set.remove("{"));
+ }
}
Modified: trunk/joafip-testsuite/src/main/java/net/sf/joafip/InErrorTests.java
===================================================================
--- trunk/joafip-testsuite/src/main/java/net/sf/joafip/InErrorTests.java 2012-05-26 10:24:33 UTC (rev 3096)
+++ trunk/joafip-testsuite/src/main/java/net/sf/joafip/InErrorTests.java 2012-05-26 11:16:14 UTC (rev 3097)
@@ -24,8 +24,8 @@
import junit.framework.Test;
import junit.framework.TestSuite;
-import net.sf.joafip.heapfile.service.TestHeapFileDataManager;
-import net.sf.joafip.kvstore.service.TestBlockDataManager;
+import net.sf.joafip.java.util.TestSubPTreeSetConcurrent;
+import net.sf.joafip.java.util.TestSubPTreeSetNoConcurrent;
/**
*
@@ -42,8 +42,8 @@
public static Test suite() {
final TestSuite suite = new TestSuite("in error Tests");
// $JUnit-BEGIN$
- suite.addTestSuite(TestBlockDataManager.class);
- suite.addTestSuite(TestHeapFileDataManager.class);
+ suite.addTestSuite(TestSubPTreeSetConcurrent.class);
+ suite.addTestSuite(TestSubPTreeSetNoConcurrent.class);
// suite.addTest(xxxx.suite());
// $JUnit-END$
return suite;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <luc...@us...> - 2012-05-26 10:24:40
|
Revision: 3096
http://joafip.svn.sourceforge.net/joafip/?rev=3096&view=rev
Author: luc_peuvrier
Date: 2012-05-26 10:24:33 +0000 (Sat, 26 May 2012)
Log Message:
-----------
heap file data manager accept empty data storage
Modified Paths:
--------------
trunk/joafip-btreeplus/src/main/java/net/sf/joafip/btreeplus/service/BtreePlusElementMgr.java
trunk/joafip-heapfile/src/main/java/net/sf/joafip/heapfile/record/entity/HeapRecord.java
trunk/joafip-heapfile/src/main/java/net/sf/joafip/heapfile/service/HeapFileDataManager.java
trunk/joafip-kvstore/src/test/java/net/sf/joafip/kvstore/service/AbstractTestHeapDataManagerImpl.java
trunk/joafip-kvstore/src/test/java/net/sf/joafip/kvstore/service/BlockDataManager.java
trunk/joafip-meminspector/src/main/java/net/sf/joafip/meminspector/service/show/NodeForObjectTreeCellRenderer.java
trunk/joafip-testsuite/src/main/java/net/sf/joafip/InErrorTests.java
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <luc...@us...> - 2012-05-26 10:24:40
|
Revision: 3096
http://joafip.svn.sourceforge.net/joafip/?rev=3096&view=rev
Author: luc_peuvrier
Date: 2012-05-26 10:24:33 +0000 (Sat, 26 May 2012)
Log Message:
-----------
heap file data manager accept empty data storage
Modified Paths:
--------------
trunk/joafip-btreeplus/src/main/java/net/sf/joafip/btreeplus/service/BtreePlusElementMgr.java
trunk/joafip-heapfile/src/main/java/net/sf/joafip/heapfile/record/entity/HeapRecord.java
trunk/joafip-heapfile/src/main/java/net/sf/joafip/heapfile/service/HeapFileDataManager.java
trunk/joafip-kvstore/src/test/java/net/sf/joafip/kvstore/service/AbstractTestHeapDataManagerImpl.java
trunk/joafip-kvstore/src/test/java/net/sf/joafip/kvstore/service/BlockDataManager.java
trunk/joafip-meminspector/src/main/java/net/sf/joafip/meminspector/service/show/NodeForObjectTreeCellRenderer.java
trunk/joafip-testsuite/src/main/java/net/sf/joafip/InErrorTests.java
Modified: trunk/joafip-btreeplus/src/main/java/net/sf/joafip/btreeplus/service/BtreePlusElementMgr.java
===================================================================
--- trunk/joafip-btreeplus/src/main/java/net/sf/joafip/btreeplus/service/BtreePlusElementMgr.java 2012-05-26 09:02:56 UTC (rev 3095)
+++ trunk/joafip-btreeplus/src/main/java/net/sf/joafip/btreeplus/service/BtreePlusElementMgr.java 2012-05-26 10:24:33 UTC (rev 3096)
@@ -144,12 +144,10 @@
}
public long freeSize() throws HeapException {
- // FIXMELUC ____btree+ to implement
throw new HeapException("not implemented");
}
public long usedSize() throws HeapException {
- // FIXMELUC ____btree+ to implement
throw new HeapException("not implemented");
}
Modified: trunk/joafip-heapfile/src/main/java/net/sf/joafip/heapfile/record/entity/HeapRecord.java
===================================================================
--- trunk/joafip-heapfile/src/main/java/net/sf/joafip/heapfile/record/entity/HeapRecord.java 2012-05-26 09:02:56 UTC (rev 3095)
+++ trunk/joafip-heapfile/src/main/java/net/sf/joafip/heapfile/record/entity/HeapRecord.java 2012-05-26 10:24:33 UTC (rev 3096)
@@ -378,7 +378,7 @@
}
private void assertDataRecordStateForMarshalling() throws HeapException {
- if ((dataAssociatedSize == null || dataAssociatedSize <= 0)) {
+ if ((dataAssociatedSize == null /* || dataAssociatedSize <= 0 */)) {
logger.fatal(ASSOCIATED_DATA_SIZE_MUST_BE_DEFINED
+ " data record identifier=" + nodeIdentifier);
throw new HeapException(ASSOCIATED_DATA_SIZE_MUST_BE_DEFINED);
Modified: trunk/joafip-heapfile/src/main/java/net/sf/joafip/heapfile/service/HeapFileDataManager.java
===================================================================
--- trunk/joafip-heapfile/src/main/java/net/sf/joafip/heapfile/service/HeapFileDataManager.java 2012-05-26 09:02:56 UTC (rev 3095)
+++ trunk/joafip-heapfile/src/main/java/net/sf/joafip/heapfile/service/HeapFileDataManager.java 2012-05-26 10:24:33 UTC (rev 3096)
@@ -55,8 +55,6 @@
public class HeapFileDataManager extends AbstractHeapDataManager implements
IHeapRecordFactory {// NOPMD
- // FIXMELUC ______HeapFileDataManager not accept empty data
-
private static final String IDENTIFIER2 = ", identifier=";
/**
Modified: trunk/joafip-kvstore/src/test/java/net/sf/joafip/kvstore/service/AbstractTestHeapDataManagerImpl.java
===================================================================
--- trunk/joafip-kvstore/src/test/java/net/sf/joafip/kvstore/service/AbstractTestHeapDataManagerImpl.java 2012-05-26 09:02:56 UTC (rev 3095)
+++ trunk/joafip-kvstore/src/test/java/net/sf/joafip/kvstore/service/AbstractTestHeapDataManagerImpl.java 2012-05-26 10:24:33 UTC (rev 3096)
@@ -629,4 +629,16 @@
assertNull(MUST_NOT_HAVE_DATA_RECORD,
heapDataManager.removeFirstDataRecord());
}
+
+ public void testEmptyData() throws HeapException {
+ createHeap(true);
+ final DataRecordIdentifier identifier = heapDataManager
+ .getNewDataRecordIdentifier();
+ final byte[] data = new byte[0];
+ heapDataManager.writeDataRecord(identifier, data);
+ heapDataManager.flush();
+ final byte[] readData = heapDataManager.readDataRecord(identifier);
+ assertNotNull("must read", readData);
+ assertEquals(BAD_VALUE, 0, readData.length);
+ }
}
Modified: trunk/joafip-kvstore/src/test/java/net/sf/joafip/kvstore/service/BlockDataManager.java
===================================================================
--- trunk/joafip-kvstore/src/test/java/net/sf/joafip/kvstore/service/BlockDataManager.java 2012-05-26 09:02:56 UTC (rev 3095)
+++ trunk/joafip-kvstore/src/test/java/net/sf/joafip/kvstore/service/BlockDataManager.java 2012-05-26 10:24:33 UTC (rev 3096)
@@ -62,6 +62,9 @@
public BlockDataManager(final String filePath, final int blockLength)
throws HeapException {
super();
+ if (blockLength >= 0xffff) {
+ throw new HeapException("too big block length");
+ }
final File file = new File(filePath);
randomAccessFile = new RandomAccessFileDirectNio(file, 0, 0);
// randomAccessFile = new RandomAccessFileDirect(file, 0, 0);
@@ -204,13 +207,13 @@
if (read == 2) {
final int length = (((int) lengthData[0]) & 0xff) << 8
| (((int) lengthData[1]) & 0xff);
- if (length == 0) {
+ if (length == 0xffff) {
deleted = false;
} else {
header.decrementNumberOfDataRecord();
deleted = true;
- lengthData[0] = (byte) 0;
- lengthData[1] = (byte) 0;
+ lengthData[0] = (byte) 0xff;
+ lengthData[1] = (byte) 0xff;
write(position, 0, lengthData);
}
} else {
@@ -234,7 +237,7 @@
final int length = (((int) data[0]) & 0xff) << 8
| (((int) data[1]) & 0xff);
- if (length == 0) {
+ if (length == 0xffff) {
data = null;// NOPMD
} else {
data = new byte[length];
@@ -253,9 +256,9 @@
protected boolean writeDataRecordImpl(
final DataRecordIdentifier dataRecordIdentifier, final byte[] data)
throws HeapException {
- if (data.length == 0) {
- throw new HeapException("no data");
- }
+ // if (data.length == 0) {
+ // throw new HeapException("no data");
+ // }
if (data.length > header.getBlockLength() - 2) {
throw new HeapException("too big data: " + data.length
+ " for block of " + header.getBlockLength());
@@ -269,7 +272,7 @@
if (read == 2) {
previousLength = (((int) lengthData[0]) & 0xff) << 8
| (((int) lengthData[1]) & 0xff);
- created = previousLength == 0;
+ created = previousLength == 0xffff;
} else {
created = true;
}
@@ -300,7 +303,7 @@
if (read == 2) {
final int length = (((int) lengthData[0]) & 0xff) << 8
| (((int) lengthData[1]) & 0xff);
- hasDatarecord = length != 0;
+ hasDatarecord = length != 0xffff;
} else {
hasDatarecord = false;
}
Modified: trunk/joafip-meminspector/src/main/java/net/sf/joafip/meminspector/service/show/NodeForObjectTreeCellRenderer.java
===================================================================
--- trunk/joafip-meminspector/src/main/java/net/sf/joafip/meminspector/service/show/NodeForObjectTreeCellRenderer.java 2012-05-26 09:02:56 UTC (rev 3095)
+++ trunk/joafip-meminspector/src/main/java/net/sf/joafip/meminspector/service/show/NodeForObjectTreeCellRenderer.java 2012-05-26 10:24:33 UTC (rev 3096)
@@ -182,7 +182,6 @@
+ (int) rectangle.getWidth(), Math.max(iconHeight,
(int) rectangle.getHeight()));
// setPreferredSize(dimension);
- // FIXMELUC x this is a hack
setPreferredSize(new Dimension(2048, dimension.height));
} catch (Exception exception) {
LOGGER.error("error", exception);
Modified: trunk/joafip-testsuite/src/main/java/net/sf/joafip/InErrorTests.java
===================================================================
--- trunk/joafip-testsuite/src/main/java/net/sf/joafip/InErrorTests.java 2012-05-26 09:02:56 UTC (rev 3095)
+++ trunk/joafip-testsuite/src/main/java/net/sf/joafip/InErrorTests.java 2012-05-26 10:24:33 UTC (rev 3096)
@@ -24,10 +24,8 @@
import junit.framework.Test;
import junit.framework.TestSuite;
-import net.sf.joafip.file.service.RandomFileCacheTest;
-import net.sf.joafip.file.service.RandomFileDirectMappedTest;
-import net.sf.joafip.file.service.RandomFileDirectNioTest;
-import net.sf.joafip.file.service.RandomFileDirectTest;
+import net.sf.joafip.heapfile.service.TestHeapFileDataManager;
+import net.sf.joafip.kvstore.service.TestBlockDataManager;
/**
*
@@ -44,10 +42,8 @@
public static Test suite() {
final TestSuite suite = new TestSuite("in error Tests");
// $JUnit-BEGIN$
- suite.addTestSuite(RandomFileDirectTest.class);
- suite.addTestSuite(RandomFileDirectNioTest.class);
- suite.addTestSuite(RandomFileCacheTest.class);
- suite.addTestSuite(RandomFileDirectMappedTest.class);
+ suite.addTestSuite(TestBlockDataManager.class);
+ suite.addTestSuite(TestHeapFileDataManager.class);
// suite.addTest(xxxx.suite());
// $JUnit-END$
return suite;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <luc...@us...> - 2012-05-26 09:03:03
|
Revision: 3095
http://joafip.svn.sourceforge.net/joafip/?rev=3095&view=rev
Author: luc_peuvrier
Date: 2012-05-26 09:02:56 +0000 (Sat, 26 May 2012)
Log Message:
-----------
MBeanInfo storage test corrected
Modified Paths:
--------------
trunk/joafip/src/test/java/net/sf/joafip/service/bug/TestWriteMBeanInfo.java
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <luc...@us...> - 2012-05-26 09:03:02
|
Revision: 3095
http://joafip.svn.sourceforge.net/joafip/?rev=3095&view=rev
Author: luc_peuvrier
Date: 2012-05-26 09:02:56 +0000 (Sat, 26 May 2012)
Log Message:
-----------
MBeanInfo storage test corrected
Modified Paths:
--------------
trunk/joafip/src/test/java/net/sf/joafip/service/bug/TestWriteMBeanInfo.java
Modified: trunk/joafip/src/test/java/net/sf/joafip/service/bug/TestWriteMBeanInfo.java
===================================================================
--- trunk/joafip/src/test/java/net/sf/joafip/service/bug/TestWriteMBeanInfo.java 2012-05-26 05:57:32 UTC (rev 3094)
+++ trunk/joafip/src/test/java/net/sf/joafip/service/bug/TestWriteMBeanInfo.java 2012-05-26 09:02:56 UTC (rev 3095)
@@ -60,6 +60,12 @@
super(name);
}
+ @Override
+ protected void setUp() throws Exception { // NOPMD
+ super.setUp();
+ filePersistence.setStoreSerializeInOneRecord(MBeanInfo.class);
+ }
+
@SuppressWarnings("PMD")
public void test() throws FilePersistenceException,
FilePersistenceClassNotFoundException,
@@ -67,11 +73,6 @@
FilePersistenceDataCorruptedException,
FilePersistenceNotSerializableException,
FilePersistenceTooBigForSerializationException {
- // FIXMELUC ______known bug garbage management
- if (buildMode) {
- warnSkipped();
- return;
- }
writeMBeanInfo();
readMBeanInfo();
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <luc...@us...> - 2012-05-26 05:57:38
|
Revision: 3094
http://joafip.svn.sourceforge.net/joafip/?rev=3094&view=rev
Author: luc_peuvrier
Date: 2012-05-26 05:57:32 +0000 (Sat, 26 May 2012)
Log Message:
-----------
release maven management change
Modified Paths:
--------------
trunk/joafip-parent/pom.xml
Added Paths:
-----------
trunk/joafip-parent/javadoc.bat
Added: trunk/joafip-parent/javadoc.bat
===================================================================
--- trunk/joafip-parent/javadoc.bat (rev 0)
+++ trunk/joafip-parent/javadoc.bat 2012-05-26 05:57:32 UTC (rev 3094)
@@ -0,0 +1,4 @@
+@echo off
+@rem deploy from eclipse compilation
+call mvn javadoc:javadoc
+pause
\ No newline at end of file
Modified: trunk/joafip-parent/pom.xml
===================================================================
--- trunk/joafip-parent/pom.xml 2012-05-25 03:44:11 UTC (rev 3093)
+++ trunk/joafip-parent/pom.xml 2012-05-26 05:57:32 UTC (rev 3094)
@@ -1,11 +1,11 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
-
+
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-parent</artifactId>
- <version>4.0.0b8</version>
- <packaging>pom</packaging>
+ <version>4.0.0b8</version>
+ <packaging>pom</packaging>
<name>JOAFIP "Abstract" Parent Project</name>
<description>The project provides object persistence in file
</description>
@@ -16,10 +16,10 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<joafip.version>4.0.0b8</joafip.version>
-
+
</properties>
-
+
<profiles>
<profile>
<id>compiled_tested_by_eclipse</id>
@@ -217,20 +217,11 @@
</configuration>
</plugin>
-<!--
+ <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId>
+ <version>2.5</version> <configuration> <linkXref>true</linkXref> <targetJdk>1.6</targetJdk>
+ <ruleset>../joafip-parent/pmd/.ruleset.xml</ruleset> </configuration> </plugin> -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-pmd-plugin</artifactId>
- <version>2.5</version>
- <configuration>
- <linkXref>true</linkXref>
- <targetJdk>1.6</targetJdk>
- <ruleset>../joafip-parent/pmd/.ruleset.xml</ruleset>
- </configuration>
- </plugin>
- -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
<executions>
@@ -266,7 +257,7 @@
</manifestEntries>
</archive>
</configuration>
- <executions>
+ <executions>
<execution>
<goals>
<goal>test-jar</goal>
@@ -306,7 +297,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>2.8</version>
+ <version>2.8.1</version>
<configuration>
<aggregate>true</aggregate>
<!-- <reportOutputDirectory>${project.reporting.outputDirectory}/myoutput</reportOutputDirectory> -->
@@ -320,10 +311,10 @@
<charset>utf8</charset>
<keywords>true</keywords>
<windowtitle>${project.name} ${project.version}</windowtitle> <!-- Used by javadoc:javadoc goal -->
- <doctitle><![CDATA[<h1>joafip 4.0.0 preliminary</h1>]]></doctitle> <!-- Used by javadoc:javadoc goal -->
+ <doctitle><![CDATA[<h1>joafip 4.0.0 preliminary (4.0.0b8)</h1>]]></doctitle> <!-- Used by javadoc:javadoc goal -->
<!-- <testDoctitle>My Test API for ${project.name} ${project.version}</testDoctitle> --> <!-- Used by javadoc:test-javadoc goal -->
<!-- <testWindowtitle>My Test API for ${project.name} ${project.version}</testWindowtitle> --> <!-- Used by javadoc:test-javadoc goal -->
- <bottom><![CDATA[<i>Copyright © 2007-2011 Luc Peuvrier. All Rights Reserved.</i>]]></bottom>
+ <bottom><![CDATA[<i>Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.</i>]]></bottom>
</configuration>
</plugin>
@@ -499,13 +490,13 @@
<artifactId>joafip-4test</artifactId>
<version>${joafip.version}</version>
</dependency>
-
-
+
+
</dependencies>
</dependencyManagement>
<dependencies>
-
+
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <luc...@us...> - 2012-05-26 05:57:38
|
Revision: 3094
http://joafip.svn.sourceforge.net/joafip/?rev=3094&view=rev
Author: luc_peuvrier
Date: 2012-05-26 05:57:32 +0000 (Sat, 26 May 2012)
Log Message:
-----------
release maven management change
Modified Paths:
--------------
trunk/joafip-parent/pom.xml
Added Paths:
-----------
trunk/joafip-parent/javadoc.bat
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <luc...@us...> - 2012-05-25 03:44:19
|
Revision: 3093
http://joafip.svn.sourceforge.net/joafip/?rev=3093&view=rev
Author: luc_peuvrier
Date: 2012-05-25 03:44:11 +0000 (Fri, 25 May 2012)
Log Message:
-----------
release maven management change
Modified Paths:
--------------
trunk/joafip/pom.xml
trunk/joafip-4test/pom.xml
trunk/joafip-asm/pom.xml
trunk/joafip-btreeplus/pom.xml
trunk/joafip-callback/pom.xml
trunk/joafip-collection/pom.xml
trunk/joafip-common/pom.xml
trunk/joafip-example-database/pom.xml
trunk/joafip-example-hugemap/pom.xml
trunk/joafip-example-simplestore/pom.xml
trunk/joafip-file/pom.xml
trunk/joafip-heapfile/pom.xml
trunk/joafip-java-agent/pom.xml
trunk/joafip-jpa/pom.xml
trunk/joafip-kvstore/pom.xml
trunk/joafip-log4j/target/joafip-log4j-4.0.0b8-sources.jar
trunk/joafip-log4j/target/joafip-log4j-4.0.0b8-test-sources.jar
trunk/joafip-log4j/target/joafip-log4j-4.0.0b8-tests.jar
trunk/joafip-log4j/target/joafip-log4j-4.0.0b8.jar
trunk/joafip-meminspector/pom.xml
trunk/joafip-parent/pom.xml
trunk/joafip-pmap/pom.xml
trunk/joafip-rbtree/pom.xml
trunk/joafip-testsuite/pom.xml
Modified: trunk/joafip/pom.xml
===================================================================
--- trunk/joafip/pom.xml 2012-05-24 04:28:02 UTC (rev 3092)
+++ trunk/joafip/pom.xml 2012-05-25 03:44:11 UTC (rev 3093)
@@ -69,6 +69,7 @@
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-rbtree</artifactId>
<version>4.0.0b8</version>
+ <scope>test</scope>
</dependency>
<dependency>
Modified: trunk/joafip-4test/pom.xml
===================================================================
--- trunk/joafip-4test/pom.xml 2012-05-24 04:28:02 UTC (rev 3092)
+++ trunk/joafip-4test/pom.xml 2012-05-25 03:44:11 UTC (rev 3093)
@@ -4,13 +4,12 @@
<parent>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-parent</artifactId>
- <version>1.0.0</version>
+ <version>4.0.0b8</version>
<relativePath>../joafip-parent</relativePath>
</parent>
<!-- <groupId>net.sf.joafip</groupId> -->
<artifactId>joafip-4test</artifactId>
<packaging>jar</packaging>
- <version>4.0.0b8</version>
<url>http://joafip.sourceforge.net/</url>
<name>Joafip for test</name>
@@ -22,61 +21,51 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-asm</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-common</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-collection</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-heapfile</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-btreeplus</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-rbtree</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-file</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-callback</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-meminspector</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
@@ -88,7 +77,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-log4j</artifactId>
- <version>4.0.0b8</version>
</dependency>
</dependencies>
Modified: trunk/joafip-asm/pom.xml
===================================================================
--- trunk/joafip-asm/pom.xml 2012-05-24 04:28:02 UTC (rev 3092)
+++ trunk/joafip-asm/pom.xml 2012-05-25 03:44:11 UTC (rev 3093)
@@ -4,25 +4,19 @@
<parent>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-parent</artifactId>
- <version>1.0.0</version>
+ <version>4.0.0b8</version>
<relativePath>../joafip-parent</relativePath>
</parent>
- <!-- <groupId>net.sf.joafip</groupId> -->
<artifactId>joafip-asm</artifactId>
<packaging>jar</packaging>
- <version>4.0.0b8</version>
<url>http://joafip.sourceforge.net/</url>
<name>Joafip embedded asm</name>
- <!-- <sourceDirectory>src_maven/main/java</sourceDirectory> <testSourceDirectory>src_maven/test/java</testSourceDirectory>
- <resources><resource><directory>src_maven/main/resource</directory></resource></resources> -->
-
<dependencies>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-common</artifactId>
- <version>4.0.0b8</version>
</dependency>
</dependencies>
Modified: trunk/joafip-btreeplus/pom.xml
===================================================================
--- trunk/joafip-btreeplus/pom.xml 2012-05-24 04:28:02 UTC (rev 3092)
+++ trunk/joafip-btreeplus/pom.xml 2012-05-25 03:44:11 UTC (rev 3093)
@@ -4,13 +4,12 @@
<parent>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-parent</artifactId>
- <version>1.0.0</version>
+ <version>4.0.0b8</version>
<relativePath>../joafip-parent</relativePath>
</parent>
<!-- <groupId>net.sf.joafip</groupId> -->
<artifactId>joafip-btreeplus</artifactId>
<packaging>jar</packaging>
- <version>4.0.0b8</version>
<url>http://joafip.sourceforge.net/</url>
<name>Joafip storage using btree+</name>
@@ -22,13 +21,11 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-common</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-common</artifactId>
- <version>4.0.0b8</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
@@ -36,13 +33,11 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-kvstore</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-kvstore</artifactId>
- <version>4.0.0b8</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
@@ -50,7 +45,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-log4j</artifactId>
- <version>4.0.0b8</version>
<scope>test</scope>
</dependency>
Modified: trunk/joafip-callback/pom.xml
===================================================================
--- trunk/joafip-callback/pom.xml 2012-05-24 04:28:02 UTC (rev 3092)
+++ trunk/joafip-callback/pom.xml 2012-05-25 03:44:11 UTC (rev 3093)
@@ -4,13 +4,12 @@
<parent>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-parent</artifactId>
- <version>1.0.0</version>
+ <version>4.0.0b8</version>
<relativePath>../joafip-parent</relativePath>
</parent>
<!-- <groupId>net.sf.joafip</groupId> -->
<artifactId>joafip-callback</artifactId>
<packaging>jar</packaging>
- <version>4.0.0b8</version>
<url>http://joafip.sourceforge.net/</url>
<name>Joafip callback</name>
@@ -22,13 +21,11 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-common</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-log4j</artifactId>
- <version>4.0.0b8</version>
<scope>test</scope>
</dependency>
Modified: trunk/joafip-collection/pom.xml
===================================================================
--- trunk/joafip-collection/pom.xml 2012-05-24 04:28:02 UTC (rev 3092)
+++ trunk/joafip-collection/pom.xml 2012-05-25 03:44:11 UTC (rev 3093)
@@ -1,47 +1,42 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-parent</artifactId>
- <version>1.0.0</version>
+ <version>4.0.0b8</version>
<relativePath>../joafip-parent</relativePath>
</parent>
<!-- <groupId>net.sf.joafip</groupId> -->
<artifactId>joafip-collection</artifactId>
<packaging>jar</packaging>
- <version>4.0.0b8</version>
<url>http://joafip.sourceforge.net/</url>
<name>Joafip collection</name>
- <!-- <sourceDirectory>src_maven/main/java</sourceDirectory> <testSourceDirectory>src_maven/test/java</testSourceDirectory>
- <resources><resource><directory>src_maven/main/resource</directory></resource></resources> -->
+ <!-- <sourceDirectory>src_maven/main/java</sourceDirectory> <testSourceDirectory>src_maven/test/java</testSourceDirectory>
+ <resources><resource><directory>src_maven/main/resource</directory></resource></resources> -->
<dependencies>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-common</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-rbtree</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-meminspector</artifactId>
- <version>4.0.0b8</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-log4j</artifactId>
- <version>4.0.0b8</version>
<scope>test</scope>
</dependency>
Modified: trunk/joafip-common/pom.xml
===================================================================
--- trunk/joafip-common/pom.xml 2012-05-24 04:28:02 UTC (rev 3092)
+++ trunk/joafip-common/pom.xml 2012-05-25 03:44:11 UTC (rev 3093)
@@ -4,13 +4,11 @@
<parent>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-parent</artifactId>
- <version>1.0.0</version>
+ <version>4.0.0b8</version>
<relativePath>../joafip-parent</relativePath>
</parent>
- <!-- <groupId>net.sf.joafip</groupId> -->
<artifactId>joafip-common</artifactId>
<packaging>jar</packaging>
- <version>4.0.0b8</version>
<url>http://joafip.sourceforge.net/</url>
<name>Joafip common</name>
Modified: trunk/joafip-example-database/pom.xml
===================================================================
--- trunk/joafip-example-database/pom.xml 2012-05-24 04:28:02 UTC (rev 3092)
+++ trunk/joafip-example-database/pom.xml 2012-05-25 03:44:11 UTC (rev 3093)
@@ -4,13 +4,12 @@
<parent>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-parent</artifactId>
- <version>1.0.0</version>
+ <version>4.0.0b8</version>
<relativePath>../joafip-parent</relativePath>
</parent>
<!-- <groupId>net.sf.joafip</groupId> -->
<artifactId>joafip-example-database</artifactId>
<packaging>jar</packaging>
- <version>4.0.0b8</version>
<url>http://joafip.sourceforge.net/</url>
<name>Joafip database example</name>
@@ -22,13 +21,11 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-log4j</artifactId>
- <version>4.0.0b8</version>
<scope>test</scope>
</dependency>
Modified: trunk/joafip-example-hugemap/pom.xml
===================================================================
--- trunk/joafip-example-hugemap/pom.xml 2012-05-24 04:28:02 UTC (rev 3092)
+++ trunk/joafip-example-hugemap/pom.xml 2012-05-25 03:44:11 UTC (rev 3093)
@@ -4,13 +4,12 @@
<parent>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-parent</artifactId>
- <version>1.0.0</version>
+ <version>4.0.0b8</version>
<relativePath>../joafip-parent</relativePath>
</parent>
<!-- <groupId>net.sf.joafip</groupId> -->
<artifactId>joafip-example-hugemap</artifactId>
<packaging>jar</packaging>
- <version>4.0.0b8</version>
<url>http://joafip.sourceforge.net/</url>
<name>Joafip huge map example</name>
@@ -22,19 +21,16 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-meminspector</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-log4j</artifactId>
- <version>4.0.0b8</version>
<scope>test</scope>
</dependency>
Modified: trunk/joafip-example-simplestore/pom.xml
===================================================================
--- trunk/joafip-example-simplestore/pom.xml 2012-05-24 04:28:02 UTC (rev 3092)
+++ trunk/joafip-example-simplestore/pom.xml 2012-05-25 03:44:11 UTC (rev 3093)
@@ -4,13 +4,13 @@
<parent>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-parent</artifactId>
- <version>1.0.0</version>
+ <version>4.0.0b8</version>
<relativePath>../joafip-parent</relativePath>
</parent>
<!-- <groupId>net.sf.joafip</groupId> -->
<artifactId>joafip-example-simplestore</artifactId>
<packaging>jar</packaging>
- <version>4.0.0b8</version>
+
<url>http://joafip.sourceforge.net/</url>
<name>Joafip simple store example</name>
@@ -22,13 +22,11 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-log4j</artifactId>
- <version>4.0.0b8</version>
<scope>test</scope>
</dependency>
Modified: trunk/joafip-file/pom.xml
===================================================================
--- trunk/joafip-file/pom.xml 2012-05-24 04:28:02 UTC (rev 3092)
+++ trunk/joafip-file/pom.xml 2012-05-25 03:44:11 UTC (rev 3093)
@@ -4,13 +4,11 @@
<parent>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-parent</artifactId>
- <version>1.0.0</version>
+ <version>4.0.0b8</version>
<relativePath>../joafip-parent</relativePath>
</parent>
- <!-- <groupId>net.sf.joafip</groupId> -->
<artifactId>joafip-file</artifactId>
<packaging>jar</packaging>
- <version>4.0.0b8</version>
<url>http://joafip.sourceforge.net/</url>
<name>Joafip file</name>
@@ -22,13 +20,11 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-common</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-common</artifactId>
- <version>4.0.0b8</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
@@ -36,7 +32,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-log4j</artifactId>
- <version>4.0.0b8</version>
<scope>test</scope>
</dependency>
Modified: trunk/joafip-heapfile/pom.xml
===================================================================
--- trunk/joafip-heapfile/pom.xml 2012-05-24 04:28:02 UTC (rev 3092)
+++ trunk/joafip-heapfile/pom.xml 2012-05-25 03:44:11 UTC (rev 3093)
@@ -4,13 +4,12 @@
<parent>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-parent</artifactId>
- <version>1.0.0</version>
+ <version>4.0.0b8</version>
<relativePath>../joafip-parent</relativePath>
</parent>
<!-- <groupId>net.sf.joafip</groupId> -->
<artifactId>joafip-heapfile</artifactId>
<packaging>jar</packaging>
- <version>4.0.0b8</version>
<url>http://joafip.sourceforge.net/</url>
<name>Joafip heap file</name>
@@ -22,13 +21,11 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-common</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-common</artifactId>
- <version>4.0.0b8</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
@@ -36,56 +33,37 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-kvstore</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-kvstore</artifactId>
- <version>4.0.0b8</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
- <artifactId>joafip-collection</artifactId>
- <version>4.0.0b8</version>
- <type>test-jar</type>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>net.sf.joafip</groupId>
<artifactId>joafip-file</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-file</artifactId>
- <version>4.0.0b8</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>net.sf.joafip</groupId>
- <artifactId>joafip-rbtree</artifactId>
- <version>4.0.0b8</version>
- </dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-meminspector</artifactId>
- <version>4.0.0b8</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-log4j</artifactId>
- <version>4.0.0b8</version>
<scope>test</scope>
</dependency>
Modified: trunk/joafip-java-agent/pom.xml
===================================================================
--- trunk/joafip-java-agent/pom.xml 2012-05-24 04:28:02 UTC (rev 3092)
+++ trunk/joafip-java-agent/pom.xml 2012-05-25 03:44:11 UTC (rev 3093)
@@ -4,13 +4,12 @@
<parent>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-parent</artifactId>
- <version>1.0.0</version>
+ <version>4.0.0b8</version>
<relativePath>../joafip-parent</relativePath>
</parent>
<!-- <groupId>net.sf.joafip</groupId> -->
<artifactId>joafip-java-agent</artifactId>
<packaging>jar</packaging>
- <version>4.0.0b8</version>
<url>http://joafip.sourceforge.net/</url>
<name>Joafip java agent</name>
@@ -22,25 +21,21 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-common</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-callback</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-log4j</artifactId>
- <version>4.0.0b8</version>
<scope>test</scope>
</dependency>
Modified: trunk/joafip-jpa/pom.xml
===================================================================
--- trunk/joafip-jpa/pom.xml 2012-05-24 04:28:02 UTC (rev 3092)
+++ trunk/joafip-jpa/pom.xml 2012-05-25 03:44:11 UTC (rev 3093)
@@ -4,13 +4,12 @@
<parent>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-parent</artifactId>
- <version>1.0.0</version>
+ <version>4.0.0b8</version>
<relativePath>../joafip-parent</relativePath>
</parent>
<!-- <groupId>net.sf.joafip</groupId> -->
<artifactId>joafip-jpa</artifactId>
<packaging>jar</packaging>
- <version>4.0.0b8</version>
<url>http://joafip.sourceforge.net/</url>
<name>Joafip / JPA</name>
@@ -19,7 +18,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip</artifactId>
- <version>4.0.0b8</version>
</dependency>
<!-- pasted from datanucleus -->
@@ -39,7 +37,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-log4j</artifactId>
- <version>4.0.0b8</version>
<scope>test</scope>
</dependency>
Modified: trunk/joafip-kvstore/pom.xml
===================================================================
--- trunk/joafip-kvstore/pom.xml 2012-05-24 04:28:02 UTC (rev 3092)
+++ trunk/joafip-kvstore/pom.xml 2012-05-25 03:44:11 UTC (rev 3093)
@@ -4,13 +4,12 @@
<parent>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-parent</artifactId>
- <version>1.0.0</version>
+ <version>4.0.0b8</version>
<relativePath>../joafip-parent</relativePath>
</parent>
<!-- <groupId>net.sf.joafip</groupId> -->
<artifactId>joafip-kvstore</artifactId>
<packaging>jar</packaging>
- <version>4.0.0b8</version>
<url>http://joafip.sourceforge.net/</url>
<name>Joafip key value storage</name>
@@ -22,56 +21,42 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-common</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-common</artifactId>
- <version>4.0.0b8</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
- <artifactId>joafip-collection</artifactId>
- <version>4.0.0b8</version>
- <type>test-jar</type>
- <scope>test</scope>
+ <artifactId>joafip-rbtree</artifactId>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-file</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-file</artifactId>
- <version>4.0.0b8</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>net.sf.joafip</groupId>
- <artifactId>joafip-rbtree</artifactId>
- <version>4.0.0b8</version>
- </dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-meminspector</artifactId>
- <version>4.0.0b8</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-log4j</artifactId>
- <version>4.0.0b8</version>
<scope>test</scope>
</dependency>
Modified: trunk/joafip-log4j/target/joafip-log4j-4.0.0b8-sources.jar
===================================================================
(Binary files differ)
Modified: trunk/joafip-log4j/target/joafip-log4j-4.0.0b8-test-sources.jar
===================================================================
(Binary files differ)
Modified: trunk/joafip-log4j/target/joafip-log4j-4.0.0b8-tests.jar
===================================================================
(Binary files differ)
Modified: trunk/joafip-log4j/target/joafip-log4j-4.0.0b8.jar
===================================================================
(Binary files differ)
Modified: trunk/joafip-meminspector/pom.xml
===================================================================
--- trunk/joafip-meminspector/pom.xml 2012-05-24 04:28:02 UTC (rev 3092)
+++ trunk/joafip-meminspector/pom.xml 2012-05-25 03:44:11 UTC (rev 3093)
@@ -4,13 +4,12 @@
<parent>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-parent</artifactId>
- <version>1.0.0</version>
+ <version>4.0.0b8</version>
<relativePath>../joafip-parent</relativePath>
</parent>
<!-- <groupId>net.sf.joafip</groupId> -->
<artifactId>joafip-meminspector</artifactId>
<packaging>jar</packaging>
- <version>4.0.0b8</version>
<url>http://joafip.sourceforge.net/</url>
<name>Joafip memory inspector</name>
@@ -22,13 +21,11 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-common</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-file</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
@@ -40,7 +37,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-log4j</artifactId>
- <version>4.0.0b8</version>
<scope>test</scope>
</dependency>
Modified: trunk/joafip-parent/pom.xml
===================================================================
--- trunk/joafip-parent/pom.xml 2012-05-24 04:28:02 UTC (rev 3092)
+++ trunk/joafip-parent/pom.xml 2012-05-25 03:44:11 UTC (rev 3093)
@@ -1,10 +1,11 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
+
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-parent</artifactId>
- <version>1.0.0</version>
- <packaging>pom</packaging>
+ <version>4.0.0b8</version>
+ <packaging>pom</packaging>
<name>JOAFIP "Abstract" Parent Project</name>
<description>The project provides object persistence in file
</description>
@@ -14,7 +15,10 @@
to copy filtered resources, i.e. build is platform dependent! -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <joafip.version>4.0.0b8</joafip.version>
+
</properties>
+
<profiles>
<profile>
@@ -327,8 +331,181 @@
</build>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-example-simplestore</artifactId>
+ <version>${joafip.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-example-simplestore</artifactId>
+ <version>${joafip.version}</version>
+ <type>test-jar</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-example-hugemap</artifactId>
+ <version>${joafip.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-example-database</artifactId>
+ <version>${joafip.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip</artifactId>
+ <version>${joafip.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip</artifactId>
+ <version>${joafip.version}</version>
+ <type>test-jar</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-asm</artifactId>
+ <version>${joafip.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-common</artifactId>
+ <version>${joafip.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-common</artifactId>
+ <type>test-jar</type>
+ <version>${joafip.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-file</artifactId>
+ <version>${joafip.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-file</artifactId>
+ <version>${joafip.version}</version>
+ <type>test-jar</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-rbtree</artifactId>
+ <version>${joafip.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-rbtree</artifactId>
+ <version>${joafip.version}</version>
+ <type>test-jar</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-collection</artifactId>
+ <version>${joafip.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-collection</artifactId>
+ <version>${joafip.version}</version>
+ <type>test-jar</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-kvstore</artifactId>
+ <version>${joafip.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-kvstore</artifactId>
+ <version>${joafip.version}</version>
+ <type>test-jar</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-heapfile</artifactId>
+ <version>${joafip.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-heapfile</artifactId>
+ <version>${joafip.version}</version>
+ <type>test-jar</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-btreeplus</artifactId>
+ <version>${joafip.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-btreeplus</artifactId>
+ <version>${joafip.version}</version>
+ <type>test-jar</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-pmap</artifactId>
+ <version>${joafip.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-pmap</artifactId>
+ <version>${joafip.version}</version>
+ <type>test-jar</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-callback</artifactId>
+ <version>${joafip.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-java-agent</artifactId>
+ <version>${joafip.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-meminspector</artifactId>
+ <version>${joafip.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-meminspector</artifactId>
+ <version>${joafip.version}</version>
+ <type>test-jar</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-jpa</artifactId>
+ <version>${joafip.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-log4j</artifactId>
+ <version>${joafip.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-testsuite</artifactId>
+ <version>${joafip.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.joafip</groupId>
+ <artifactId>joafip-4test</artifactId>
+ <version>${joafip.version}</version>
+ </dependency>
+
+
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
-
+
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Modified: trunk/joafip-pmap/pom.xml
===================================================================
--- trunk/joafip-pmap/pom.xml 2012-05-24 04:28:02 UTC (rev 3092)
+++ trunk/joafip-pmap/pom.xml 2012-05-25 03:44:11 UTC (rev 3093)
@@ -4,13 +4,12 @@
<parent>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-parent</artifactId>
- <version>1.0.0</version>
+ <version>4.0.0b8</version>
<relativePath>../joafip-parent</relativePath>
</parent>
<!-- <groupId>net.sf.joafip</groupId> -->
<artifactId>joafip-pmap</artifactId>
<packaging>jar</packaging>
- <version>4.0.0b8</version>
<url>http://joafip.sourceforge.net/</url>
<name>Joafip map in file</name>
@@ -22,13 +21,11 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-common</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-common</artifactId>
- <version>4.0.0b8</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
@@ -36,7 +33,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-collection</artifactId>
- <version>4.0.0b8</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
@@ -44,13 +40,11 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-heapfile</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-log4j</artifactId>
- <version>4.0.0b8</version>
<scope>test</scope>
</dependency>
Modified: trunk/joafip-rbtree/pom.xml
===================================================================
--- trunk/joafip-rbtree/pom.xml 2012-05-24 04:28:02 UTC (rev 3092)
+++ trunk/joafip-rbtree/pom.xml 2012-05-25 03:44:11 UTC (rev 3093)
@@ -4,13 +4,12 @@
<parent>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-parent</artifactId>
- <version>1.0.0</version>
+ <version>4.0.0b8</version>
<relativePath>../joafip-parent</relativePath>
</parent>
<!-- <groupId>net.sf.joafip</groupId> -->
<artifactId>joafip-rbtree</artifactId>
<packaging>jar</packaging>
- <version>4.0.0b8</version>
<url>http://joafip.sourceforge.net/</url>
<name>Joafip red black tree</name>
@@ -22,13 +21,11 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-common</artifactId>
- <version>4.0.0b8</version>
</dependency>
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-log4j</artifactId>
- <version>4.0.0b8</version>
<scope>test</scope>
</dependency>
Modified: trunk/joafip-testsuite/pom.xml
===================================================================
--- trunk/joafip-testsuite/pom.xml 2012-05-24 04:28:02 UTC (rev 3092)
+++ trunk/joafip-testsuite/pom.xml 2012-05-25 03:44:11 UTC (rev 3093)
@@ -4,13 +4,12 @@
<parent>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-parent</artifactId>
- <version>1.0.0</version>
+ <version>4.0.0b8</version>
<relativePath>../joafip-parent</relativePath>
</parent>
<!-- <groupId>net.sf.joafip</groupId> -->
<artifactId>joafip-testsuite</artifactId>
<packaging>jar</packaging>
- <version>4.0.0b8</version>
<url>http://joafip.sourceforge.net/</url>
<name>Joafip test suite</name>
@@ -22,7 +21,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip</artifactId>
- <version>4.0.0b8</version>
<type>jar</type>
<scope>runtime</scope>
</dependency>
@@ -30,7 +28,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip</artifactId>
- <version>4.0.0b8</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
@@ -38,7 +35,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-asm</artifactId>
- <version>4.0.0b8</version>
<type>jar</type>
<scope>runtime</scope>
</dependency>
@@ -46,7 +42,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-common</artifactId>
- <version>4.0.0b8</version>
<type>jar</type>
<scope>runtime</scope>
</dependency>
@@ -54,7 +49,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-common</artifactId>
- <version>4.0.0b8</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
@@ -62,7 +56,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-collection</artifactId>
- <version>4.0.0b8</version>
<type>jar</type>
<scope>runtime</scope>
</dependency>
@@ -70,7 +63,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-collection</artifactId>
- <version>4.0.0b8</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
@@ -78,7 +70,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-heapfile</artifactId>
- <version>4.0.0b8</version>
<type>jar</type>
<scope>runtime</scope>
</dependency>
@@ -86,7 +77,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-heapfile</artifactId>
- <version>4.0.0b8</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
@@ -94,7 +84,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-btreeplus</artifactId>
- <version>4.0.0b8</version>
<type>jar</type>
<scope>runtime</scope>
</dependency>
@@ -102,7 +91,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-btreeplus</artifactId>
- <version>4.0.0b8</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
@@ -110,7 +98,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-kvstore</artifactId>
- <version>4.0.0b8</version>
<type>jar</type>
<scope>runtime</scope>
</dependency>
@@ -118,7 +105,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-kvstore</artifactId>
- <version>4.0.0b8</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
@@ -126,7 +112,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-rbtree</artifactId>
- <version>4.0.0b8</version>
<type>jar</type>
<scope>runtime</scope>
</dependency>
@@ -134,7 +119,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-rbtree</artifactId>
- <version>4.0.0b8</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
@@ -142,7 +126,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-file</artifactId>
- <version>4.0.0b8</version>
<type>jar</type>
<scope>runtime</scope>
</dependency>
@@ -150,7 +133,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-file</artifactId>
- <version>4.0.0b8</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
@@ -158,7 +140,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-callback</artifactId>
- <version>4.0.0b8</version>
<type>jar</type>
<scope>runtime</scope>
</dependency>
@@ -166,7 +147,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-example-simplestore</artifactId>
- <version>4.0.0b8</version>
<type>jar</type>
<scope>runtime</scope>
</dependency>
@@ -174,7 +154,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-example-simplestore</artifactId>
- <version>4.0.0b8</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
@@ -182,7 +161,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-meminspector</artifactId>
- <version>4.0.0b8</version>
<type>jar</type>
<scope>runtime</scope>
</dependency>
@@ -190,7 +168,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-meminspector</artifactId>
- <version>4.0.0b8</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
@@ -198,7 +175,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-pmap</artifactId>
- <version>4.0.0b8</version>
<type>jar</type>
<scope>runtime</scope>
</dependency>
@@ -206,7 +182,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-pmap</artifactId>
- <version>4.0.0b8</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
@@ -214,7 +189,6 @@
<dependency>
<groupId>net.sf.joafip</groupId>
<artifactId>joafip-log4j</artifactId>
- <version>4.0.0b8</version>
<type>jar</type>
<scope>test</scope>
</dependency>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <luc...@us...> - 2012-05-25 03:44:18
|
Revision: 3093
http://joafip.svn.sourceforge.net/joafip/?rev=3093&view=rev
Author: luc_peuvrier
Date: 2012-05-25 03:44:11 +0000 (Fri, 25 May 2012)
Log Message:
-----------
release maven management change
Modified Paths:
--------------
trunk/joafip/pom.xml
trunk/joafip-4test/pom.xml
trunk/joafip-asm/pom.xml
trunk/joafip-btreeplus/pom.xml
trunk/joafip-callback/pom.xml
trunk/joafip-collection/pom.xml
trunk/joafip-common/pom.xml
trunk/joafip-example-database/pom.xml
trunk/joafip-example-hugemap/pom.xml
trunk/joafip-example-simplestore/pom.xml
trunk/joafip-file/pom.xml
trunk/joafip-heapfile/pom.xml
trunk/joafip-java-agent/pom.xml
trunk/joafip-jpa/pom.xml
trunk/joafip-kvstore/pom.xml
trunk/joafip-log4j/target/joafip-log4j-4.0.0b8-sources.jar
trunk/joafip-log4j/target/joafip-log4j-4.0.0b8-test-sources.jar
trunk/joafip-log4j/target/joafip-log4j-4.0.0b8-tests.jar
trunk/joafip-log4j/target/joafip-log4j-4.0.0b8.jar
trunk/joafip-meminspector/pom.xml
trunk/joafip-parent/pom.xml
trunk/joafip-pmap/pom.xml
trunk/joafip-rbtree/pom.xml
trunk/joafip-testsuite/pom.xml
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <luc...@us...> - 2012-05-24 04:28:08
|
Revision: 3092
http://joafip.svn.sourceforge.net/joafip/?rev=3092&view=rev
Author: luc_peuvrier
Date: 2012-05-24 04:28:02 +0000 (Thu, 24 May 2012)
Log Message:
-----------
logs not in repository
Property Changed:
----------------
trunk/joafip-jpa/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|