docs: @Override
      protected boolean checkSFSBAccess( JPAJndiLookupInfo info, boolean isSFSB )
            throws InjectionException
      {
         ComponentMetaData cmd = ComponentMetaDataAccessorImpl.getComponentMetaDataAccessor().getComponentMetaData();
      
         final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
         if (isTraceOn && tc.isEntryEnabled())
            Tr.entry(tc, "checkSFSBAccess: " + info + ", " + (cmd == null ? null : cmd.getJ2EEName()));
      
         if ( cmd instanceof BeanMetaData )
         {
            BeanMetaData bmd = (BeanMetaData)cmd;
            if (isTraceOn && tc.isDebugEnabled())
               Tr.debug(tc, "stateful session bean");
      
            isSFSB = bmd.isStatefulSessionBean();
      
            String refName = info.getReferenceName();
            if ( isSFSB && !bmd.ivPersistenceRefNames.contains( refName ) ) // F743-30682
            {
               Tr.error(tc, "PERSISTENCE_REF_DEPENDENCY_NOT_DECLARED_CNTR0315E",
                        bmd.j2eeName.getComponent(),
                        bmd.j2eeName.getModule(),
                        bmd.j2eeName.getApplication(),
                        refName);
               String msg = Tr.formatMessage(tc, "PERSISTENCE_REF_DEPENDENCY_NOT_DECLARED_CNTR0315E",
                                             bmd.j2eeName.getComponent(),
                                             bmd.j2eeName.getModule(),
                                             bmd.j2eeName.getApplication(),
                                             refName);
               throw new InjectionException(msg);
            }
         } 
         else
         {
             // even though the resource ref may have been defined in a stateful bean, the lookup
             // was not within the context of a stateful bean.  if this is a lookup of an ExPC, it
             // should not be allowed (super will verify).
             isSFSB = false;
         }
      
         boolean result = super.checkSFSBAccess( info, isSFSB ); // F743-30682
      
         if (isTraceOn && tc.isEntryEnabled())
            Tr.exit(tc, "checkSFSBAccess: " + result);
         return result;
      }