code: void endpointDeactivation(ActivationSpec activationSpec, WSMessageEndpointFactory messageEndpointFactory) {
          ClassLoader previousClassLoader = jcasu.beginContextClassLoader(raClassLoader);
          try {
              BootstrapContextImpl bootstrapContext = bootstrapContextRef.getServiceWithException();
              bootstrapContext.resourceAdapter.endpointDeactivation(messageEndpointFactory, activationSpec);
          } finally {
              jcasu.endContextClassLoader(raClassLoader, previousClassLoader);
          }
          Tr.info(tc, "J2CA8804.act.spec.inactive", id, messageEndpointFactory.getJ2EEName());
      }
docs: Utility method to perform endpoint deactivation.
  
  @param activationSpec activation specification
  @param messageEndpointFactory message endpoint factory