code: @Override
     public boolean isSameRM(XAResource xaResource) throws XAException {
       if (xaResource == null)
         throw CpoXaError.createXAException(CpoXaError.XAER_INVAL, "Invalid parameter. xaResource cannot be null.");
  
       return xaResource instanceof JdbcCpoXaAdapter;
     }
docs: This method is called to determine if the resource manager instance represented by the target object is the same as the resouce manager
  instance represented by the parameter xares.
  
  @param xaResource - An XAResource object whose resource manager instance is to be compared with the resource manager instance of the target object.
  @return - true if it's the same RM instance; otherwise false.
  @throws XAException - An error has occurred. Possible exception values are XAER_RMERR and XAER_RMFAIL.