code: @Override
      public void discardObject(EJBCache wrapperCache, Object key, Object ele)
      {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              Tr.entry(tc, "discardObject", new Object[] { key, ele });
  
          EJSWrapperCommon wrapperCommon = (EJSWrapperCommon) ele;
          wrapperCommon.disconnect(); // @MD20022C, F58064
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              Tr.exit(tc, "discardObject");
      }
docs: Unregister a wrapper instance when it is castout of the wrapper
  cache.