[webbeans-dev] Clarification of behavior
Pete Muir
pmuir at redhat.com
Fri Jan 23 09:29:45 EST 2009
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 at gmail.com>
>
> _______________________________________________
> webbeans-dev mailing list
> webbeans-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/webbeans-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20090123/84de46ca/attachment.html
More information about the weld-dev
mailing list