1 Reply Latest reply on Nov 16, 2009 8:17 AM by nickarls

    disabling interceptors and decorators by default

    asookazian

      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?