I've always assumed DefinitionException (or subclass) where something
is forbidden, but not explicitly stated.
Gavin. WDYT?
On 19 Jan 2009, at 13:00, David Allen wrote:
In section 8.5 of the spec, it states:
An observer method must be a method of a simple bean implementation
class or session bean implementation class. An
observer method may be either static or non-static. If the bean is a
session bean, the observer method must be a business
method of the EJB or a static method of the bean class.
In the case of the latter, what is the behavior of the container if
a session bean violates that statement? Perhaps
DefinitionException? Usually the spec is explicit about the
exception thrown.
Thanks,
--
David Allen <drallendc(a)gmail.com>
_______________________________________________
webbeans-dev mailing list
webbeans-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/webbeans-dev