code: void deactivate() {
  
          final String methodName = "deactivate";
          if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
              SibTr.entry(this, TRACE, methodName);
          }
  
          synchronized (_endpointActivations) {
  
              // Only one EndpointActivation is stored in the ResourceAdapterImpl during endpoint
              // activation so only one deactivate will be called when the resource adapater has its
              // endpointDeactivate method called. We then get hold of the array of endpointActivations
              // we are using and deactivate them all one by one (by calling the SibRaEndpointArray's
              // deactivateAll method.
              SibRaEndpointArray epArray = (SibRaEndpointArray) _endpointActivations.remove(_j2eeName);
              if (epArray != null) {
  
                  // Cycle through and call internalDeactivate on all endpoint activations
                  epArray.deactivateAll ();
              }
  
          }
  
          if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
              SibTr.exit(this, TRACE, methodName);
          }
  
      }
docs: Called on deactivation of this endpoint.