public void queryLiveness(ActivityHandle arg0) {
        // if the activity is not in the map end it, its a leak
        if (!activities.contains(arg0)) {
            resourceAdaptorContext.getSleeEndpoint().endActivity(arg0);
        }
    }
public void queryLiveness ( ActivityHandle arg0 ) { if ( ! activities . contains ( arg0 ) ) { resourceAdaptorContext . getSleeEndpoint ( ) . endActivity ( arg0 ) ; } }
/*
(non-Javadoc)

@see
javax.slee.resource.ResourceAdaptor#queryLiveness(javax.slee.resource
.ActivityHandle)