public final class ChronicleInit extends Object
A Runnable fully qualified class name may be provided via chronicle.init.runnable property,
to be run before initialization of Jvm class.
A Runnable fully qualified class name may be provided via chronicle.postinit.runnable property,
to be run last in the Jvm initialization static block.
Alternatively, a ChronicleInitRunnable implementing class name may be listed in
META-INF/services/net.openhft.chronicle.core.ChronicleInitRunnable file in any JAR in classpath to be
discovered via ServiceLoader JVM facility. It may provide both init (via Runnable.run())
and post-init (via ChronicleInitRunnable.postInit(), see above).
This class may also be replaced with different concrete implementation. Code should reside in a static block to be run once. It should contain empty static init() method called to trigger class load.
public static final String CHRONICLE_INIT_CLASS
public static final String CHRONICLE_POSTINIT_CLASS
Copyright © 2024. All rights reserved.