code: private SibRaManagedConnection getAssociatedManagedConnection()
                      throws SIResourceException {
  
          try {
  
              if (_managedConnection == null) {
  
                  final ConnectionManager connectionManager = _connectionFactory
                                  .getConnectionManager();
                  if (connectionManager instanceof LazyAssociatableConnectionManager) {
  
                      ((LazyAssociatableConnectionManager) connectionManager)
                                      .associateConnection(this, _connectionFactory
                                                      .getManagedConnectionFactory(),
                                                           _requestInfo);
  
                  } else {
  
                      // We shouldn't have been dissociated if the connection
                      // manager does not support lazy enlistment
                      final ResourceException exception = new ResourceAdapterInternalException(
                                      NLS.getFormattedMessage(
                                                              "LAZY_ENLIST_NOT_SUPPORTED_CWSIV0154",
                                                              new Object[] { connectionManager }, null));
                      if (TraceComponent.isAnyTracingEnabled() && TRACE.isEventEnabled()) {
                          SibTr.exception(this, TRACE, exception);
                      }
                      throw exception;
  
                  }
  
              }
  
          } catch (ResourceException exception) {
  
              FFDCFilter
                              .processException(
                                                exception,
                                                "com.ibm.ws.sib.ra.impl.SibRaConnection.getAssociatedManagedConnection",
                                                "1:1843:1.41", this);
  
              if (TraceComponent.isAnyTracingEnabled() && TRACE.isEventEnabled()) {
                  SibTr.exception(this, TRACE, exception);
              }
              throw new SIResourceException(NLS.getFormattedMessage(
                                                                    "REASSOCIATION_FAILED_CWSIV0155",
                                                                    new Object[] { exception }, null), exception);
  
          }
  
          return _managedConnection;
  
      }
docs: Returns the managed connection associated with this connection. If the
  connection is not currently associated then calls the connection manager
  to be re-associated.
  
  @return the managed connection
  @throws SIResourceException
  if the re-association fails