By default, all decorators are disabled. We need to enable our decorator in the beans.xml descriptor of a bean
archive. This activation only applies to the beans in that archive.
By default, all interceptors are disabled. We need to enable our interceptor in the beans.xml descriptor of a bean
archive. This activation only applies to the beans in that archive.
source: Weld 1.0.0 ref doc
Why not have them all enabled by default?
What does archive
mean exactly in this context? JAR?
archive = jar or war or anything with a beans.xml file or programmatically added during bootstrap
Don't know about the design choice to disable them. I myself prefer disabled.