fuin.org
Small Open Source Java Tools and Libraries
Tips
Use annotations
Don't like the XML configuration? No problem, you can use the @Archived annotation to mark your old classes.
Here is an example of an archived class marked with @Deprecated and @Archived:package my.test.old.address.v1; @Deprecated @Archived(clasz = my.test.Address.class, converter = my.test.old.address.v1.AddressConverter.class) public class Address implements Serializable { : }The ArchivedHistoryBuilder will create a ClassesHistory by collecting all classes marked with the annotation:
ClassesHistory history = ArchivedHistoryBuilder.create("versionUID", new SimpleConverterFactory(), "my.test.old"); :