What if my intention is to pass a reference to the java class, and not the
EJB (say I pass 'this' to a DAO that interacts with the database in a BMP
scenario and populates the entity bean's fields)? Could you make this
configurable, as there are cases when the code is not wrong even if 'this'