Skip to content

Java 8, Custom Properties and Instance Suppliers

Compare
Choose a tag to compare
@AdamBien AdamBien released this 29 May 09:05
· 64 commits to master since this release

afterburner.fx was rewritten internally to use Java 8.

  1. Afterburner 1.5.1 uses Java 8 and will not run on Java 7 any more.
  2. Properties are no more limited to files and System.getProperties. You can provide your own function to provide you own configuration.
  3. 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
  4. Internal cache uses weak references. This prevents "memory leaks" -> no more referenced models and services are going to be GCed automatically.