On Sat, Mar 27, 2010 at 3:28 AM, Nicklas Karlsson <nickarls(a)gmail.com>wrote:
I think AfterBeanDiscovery is enough (which is already in the spec)
for the
autoenablement extension, right?
We could cast the BeanManager parameter to BeanManagerImpl and enable (and
perhaps sort) all org.seam.* interceptors etc that the BM is aware of. Since
there is a limited number of CDI implementations, we could also cast to
other implementations after checking (non-imported, reflection) which one we
are dealing with.
We could also throw in a
@AutoEnable(before="org.jboss.seam.foo.Interceptor")
annotation if want to control the order manually or if we want to
offer
others to use this feature (in a seam context)
True, we could go down that road.
-Dan
--
Dan Allen
Senior Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597
http://mojavelinux.com
http://mojavelinux.com/seaminaction
http://www.google.com/profiles/dan.j.allen