code: public void queryLiveness(ActivityHandle arg0) {
  		final SipActivityHandle handle = (SipActivityHandle) arg0;
  		final Wrapper activity = activityManagement.get(handle);
  		if (activity == null || activity.isEnding()) {
  		    sleeEndpoint.endActivity(handle);
  		}		
  	}
docs: /*
  (non-Javadoc)
  @see javax.slee.resource.ResourceAdaptor#queryLiveness(javax.slee.resource.ActivityHandle)