code: public static void unregisterContextualInstance(EjbDescriptor<?> descriptor) {
          Set<Class<?>> classes = CONTEXTUAL_SESSION_BEANS.get();
          classes.remove(descriptor.getBeanClass());
          if (classes.isEmpty()) {
              CONTEXTUAL_SESSION_BEANS.remove();
          }
      }
docs: Indicates that contextual session bean instance has been constructed.