javadoc plus some modifications on RessourcePool