[jboss-cvs] JBossAS SVN: r78712 - projects/ejb3/trunk/api/src/main/java/javax/ejb.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Sep 19 10:56:20 EDT 2008
Author: wolfc
Date: 2008-09-19 10:56:20 -0400 (Fri, 19 Sep 2008)
New Revision: 78712
Modified:
projects/ejb3/trunk/api/src/main/java/javax/ejb/EJBContext.java
Log:
Merged JBEE-4
Modified: projects/ejb3/trunk/api/src/main/java/javax/ejb/EJBContext.java
===================================================================
--- projects/ejb3/trunk/api/src/main/java/javax/ejb/EJBContext.java 2008-09-19 12:45:48 UTC (rev 78711)
+++ projects/ejb3/trunk/api/src/main/java/javax/ejb/EJBContext.java 2008-09-19 14:56:20 UTC (rev 78712)
@@ -150,11 +150,12 @@
public TimerService getTimerService() throws IllegalStateException;
/**
- * New from EJB 3.0. A JNDI lookup method that doesn't throw exceptions
+ * Lookup a resource within the component's private naming context.
*
- * @param name
- * @return returns null if JNDI lookup finds nothing
+ * @param name - Name of the entry (relative to java:comp/env).
+ * @throws IllegalArgumentException - The Container throws the exception if
+ * the given name does not match an entry within the component's environment.
*/
- public Object lookup(String name);
+ public Object lookup(String name) throws IllegalArgumentException;
}
More information about the jboss-cvs-commits
mailing list