code: public void setReference(final Reference reference) {
  
          if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
              SibTr.entry(this, TRACE, "setReference", reference);
          }
  
          // Make sure no-one can pull the rug from beneath us.
          synchronized (_properties) {
              _properties = JmsJcaReferenceUtils.getInstance()
                              .getMapFromReference(reference, defaultJNDIProperties);
          }
  
          if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
              SibTr.exit(this, TRACE, "setReference");
          }
  
      }
docs: Initializes this managed connection factory using the given reference.
  
  @param reference
  the reference