code: SICoreConnectionFactory getCoreFactory()
              throws ResourceAdapterInternalException {
  
          if (TRACE.isEntryEnabled()) {
              SibTr.entry(this, TRACE, "getCoreFactory");
          }
  
          if (_coreFactory == null) {
              try {
  
                  _coreFactory = SICoreConnectionFactorySelector
                          .getSICoreConnectionFactory(FactoryType.TRM_CONNECTION);
  
              } catch (SIException exception) {
  
                  FFDCFilter
                          .processException(
                                  exception,
                                  "com.ibm.ws.sib.ra.impl.SibRaManagedConnectionFactory.getCoreFactory",
                                  FFDC_PROBE_1, this);
                  if (TRACE.isEventEnabled()) {
                      SibTr.exception(this, TRACE, exception);
                  }
                  throw new ResourceAdapterInternalException(NLS
                          .getFormattedMessage(
                                  "CONNECTION_FACTORY_ERROR_CWSIV0350",
                                  new Object[] { exception }, null), exception);
  
              } catch (SIErrorException exception) {
  
                  FFDCFilter
                          .processException(
                                  exception,
                                  "com.ibm.ws.sib.ra.impl.SibRaManagedConnectionFactory.getCoreFactory",
                                  FFDC_PROBE_4, this);
                  if (TRACE.isEventEnabled()) {
                      SibTr.exception(this, TRACE, exception);
                  }
                  throw new ResourceAdapterInternalException(NLS
                          .getFormattedMessage(
                                  "CONNECTION_FACTORY_ERROR_CWSIV0350",
                                  new Object[] { exception }, null), exception);
  
              }
          }
  
          if (TRACE.isEntryEnabled()) {
              SibTr.exit(this, TRACE, "getCoreFactory", _coreFactory);
          }
          return _coreFactory;
  
      }
docs: Returns the TRM <code>SICoreConnectionFactory</code>.
  
  @return the TRM <code>SICoreConnectionFactory</code>
  @throws ResourceAdapterInternalException
  if a TRM <code>SICoreConnectionFactory</code> cannot be
  obtained