docs: @Override
      protected void checkAccess() throws ResourceException {
          BootstrapContextImpl bootstrapContext = bootstrapContextRef.getServiceWithException();
          ResourceAdapterMetaData metadata = bootstrapContext.getResourceAdapterMetaData();
          if (metadata != null && metadata.isEmbedded()) { // metadata is null for SIB/MQ
              ComponentMetaData cData = ComponentMetaDataAccessorImpl.getComponentMetaDataAccessor().getComponentMetaData();
              String currentApp = null;
              if (cData != null)
                  currentApp = cData.getJ2EEName().getApplication();
              String adapterName = bootstrapContext.getResourceAdapterName();
              String embeddedApp = metadata.getJ2EEName().getApplication();
              Utils.checkAccessibility(jndiName, adapterName, embeddedApp, currentApp, false);
          }
      }