code: @Override
      final public void associateConnection(Object object)
                      throws ResourceException {
  
          if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
              SibTr.entry(this, TRACE, "associateConnection", object);
          }
  
          if (object instanceof JmsJcaSessionImpl) {
  
              final JmsJcaSessionImpl session = (JmsJcaSessionImpl) object;
              session.associate(this);
              _sessions.add(session);
  
          } else {
  
              throw new ResourceAdapterInternalException(NLS.getFormattedMessage(
                                                                                 ("INVALID_SESSION_CWSJR1104"), new Object[] {
                                                                                                                              "associateConnection",
                                                                                                                              JmsJcaSessionImpl.class.getName(),
                                                                                                                              (object == null ? "null" : object.getClass()
                                                                                                                                              .getName()) }, null));
          }
  
          if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
              SibTr.exit(this, TRACE, "associateConnection");
          }
  
      }
docs: Associates the given session with this managed connection. Removes the
  session from its previous managed connection, if any, and adds it to the
  set for this connection. Sets this managed connection on the session.
  
  @param object
  the session to associate
  @throws ResourceException
  generic exception