code: @Override
      public Object getObjectInstance(Object refObj, Name name, Context nameCtx, Hashtable env) throws Exception {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
              Tr.entry(tc, "getObjectInstance", "" + name);
          }
  
          ExtendedJTATransaction extJTATran = null;
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
              Tr.debug(tc, "class name: " + (refObj instanceof Reference ? ((Reference) refObj).getClassName() : null));
          }
  
          extJTATran = refObj instanceof Reference && ((Reference) refObj).getFactoryClassName() == null ? createExtendedJTATransaction() : null;
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
              Tr.exit(tc, "getObjectInstance: " + extJTATran);
          }
  
          return extJTATran;
      }
docs: Return the ExtendedJTATransaction object.