[jboss-dev-forums] [Design of EJB 3.0] - javax.ejb.SessionContext vs specs
wolfc
do-not-reply at jboss.com
Thu Jul 13 10:33:51 EDT 2006
I saw a couple of discrepancies between javax.ejb.SessionContext in CVS and in the EJB3 specs:
public Object getBusinessObject(Class businessInterface) throws IllegalStateException;
should be:
<T> T getBusinessObject(Class<T> businessInterface) throws IllegalStateException;
and
public Object getInvokedBusinessInterface() throws IllegalStateException;
should be:
Class getInvokedBusinessInterface() throws IllegalStateException;
The second is relatively easy to fix, but the first one requires the 1.5 compiler.
Shall I raise one or two issues in JIRA?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957758#3957758
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957758
More information about the jboss-dev-forums
mailing list