Added getAllInstanceEOJ method to ClassEOJ class.