ofContextClass

Creates an ApplicationContextFactory that will create contexts by instantiating the given contextClass through its primary constructor.

Return

the factory that will instantiate the context class

Parameters

contextClass

the context class

See also