code: public Method getEndpointMethod() throws ResourceAdapterInternalException {
  
          final String methodName = "getEndpointMethod";
          if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
              SibTr.entry(this, TRACE, methodName);
          }
  
          if (ON_MESSAGE_METHOD == null) {
  
              try {
  
                  ON_MESSAGE_METHOD = MessageListener.class.getMethod(
                          "onMessage", new Class[] { Message.class });
  
              } catch (final Exception exception) {
  
                  FFDCFilter.processException(exception, CLASS_NAME + "."
                          + methodName, FFDC_PROBE_2, this);
                  if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
                      SibTr.exception(this, TRACE, exception);
                  }
                  throw new ResourceAdapterInternalException(NLS
                          .getFormattedMessage("ON_MESSAGE_CWSJR1483",
                                  new Object[] { exception }, null), exception);
  
              }
  
          }
  
          if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
              SibTr.exit(this, TRACE, methodName, ON_MESSAGE_METHOD);
          }
          return ON_MESSAGE_METHOD;
  
      }
docs: /*
  (non-Javadoc)
  
  @see com.ibm.ws.sib.ra.inbound.SibRaEndpointInvoker#getEndpointMethod()