added java wrapper for srl