.com/en/java/javase/21/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a>&lt;T&gt;&nbsp;extensionClass)</span></div>
<div class="block">Obtains the container's instance of an Extension class declared in <code>META-INF/services</code>.</div>
<dl class="notes">
<dt>Type Parameters:</dt>
<dd><code>T</code> - the type of the extension</dd>
<dt>Parameters:</dt>
<dd><code>extensionClass</code> - the type of the extension class</dd>
<dt>Returns:</dt>
<d