-
Notifications
You must be signed in to change notification settings - Fork 1
Bootstrapping Confort
Magnus Leßmann (aka. mark332) edited this page Jul 9, 2019
·
1 revision
Applications that define the runtime classpath (for example, frameworks) need to bootstrap Confort when the -lang
module should be available during use of the library. They can do that using a simple one-liner call:
RegisterLoaders.registerLoaders();
This will automatically register all stock loaders from the -lang
module.
When your application does not use the -lang
module or you want to register custom loaders, use LoaderFactory.registerLoader()
to register custom loaders.
After that, the API can be used.