code: public ActivityHandle getActivityHandle(Object arg0) {
          if (arg0 instanceof HttpClientActivityImpl) {
              HttpClientActivityHandle handle = new HttpClientActivityHandle(
                      ((HttpClientActivityImpl) arg0).getSessionId());
              if (activities.containsKey(handle)) {
                  return handle;
              }
          }
          return null;
      }
docs: /*
  (non-Javadoc)
  
  @see
  javax.slee.resource.ResourceAdaptor#getActivityHandle(java.lang.Object)