createJava

@JvmName(name = "create")
fun createJava(configConsumer: ReceiverConsumer<BConfigBuilder>): BContext(source)

Creates a new instance of the framework.

Return

The context for the newly created framework instance, while this is returned, using it usually is not a good idea, your architecture should rely on dependency injection and events instead.

See also