Java 8, Custom Properties and Instance Suppliers
afterburner.fx was rewritten internally to use Java 8.
- Afterburner 1.5.1 uses Java 8 and will not run on Java 7 any more.
- Properties are no more limited to files and System.getProperties. You can provide your own function to provide you own configuration.
- Injector (prior name InjectionProvider) can use an external InstanceSupplier function which is going to be used to fetch models and services. You can "inject" you own instances and bypass the conventional mechanism
- Internal cache uses weak references. This prevents "memory leaks" -> no more referenced models and services are going to be GCed automatically.