org.jboss.ejb.EnterpriseContext is the abstract base class of any 
javax.ejb.EJBContext in JBoss currently. However, you have to
cast to a derived class like StatefulSessionEnterpriseContext to be
able to get hold of the EJBContext object. Does anyone object to
adding

public abstract EJBContext getContext();

to org.jboss.ejb.EnterpriseContext and having each subclass return their
ctx instance variable?



Reply via email to