Added getAllInstanceEOJ method to EOJ class.