code: public void queryLiveness(ActivityHandle ah) {
  		if (tracer.isFineEnabled()) {
  			tracer.fine("queryLiveness( handle = "+ah+")");
  		}
  		// guard against activity leaks:
  		if (!activities.contains(ah)) {
  			raContext.getSleeEndpoint().endActivity(ah);
  		}			
  	}
docs: /*
  (non-Javadoc)
  @see javax.slee.resource.ResourceAdaptor#queryLiveness(javax.slee.resource.ActivityHandle)