"external-link">Class</a>&lt;? extends <a href="../../../../context/spi/AlterableContext.html" title="interface in jakarta.enterprise.context.spi">AlterableContext</a>&gt;&nbsp;contextClass)</span></div>
<div class="block">Registers custom context for given <code>scopeAnnotation</code> and given <code>contextClass</code>.
 CDI container will create an instance of the context class once to obtain the context object.
 The context class must be <code>public</code> and have a <code>public</code> zero-parameter 