Java library to handle chain operations on beans