@Override
    public EntityDescriptor getEntityDescriptorForEntityId(final String entityId) {
        buildMetadataResolverAggregate(entityId);
        return super.getEntityDescriptorForEntityId(entityId);
    }
Instantiates a new static metadata resolver adapter.

@param metadataResources the metadata resources
support/cas-server-support-saml-mdui-core/src/main/java/org/apereo/cas/support/saml/mdui/DynamicMetadataResolverAdapter.java