code: public synchronized boolean ifAcceptingWorkIncrementActivityCount()
      {
          if (tc.isDebugEnabled()) Tr.debug(tc, "isAcceptingWork", new Boolean(!_disabled));
          if(!_disabled)
          {   
              _activityCount++;
              if (tc.isDebugEnabled()) Tr.debug(tc, "_activityCount", new Object[]{this, new Integer(_activityCount)});
              return true;
          } 
          return false;
      }
docs: NOTE this does not include active transactions.