Trying another approach for attaching a ResourceSetListener