This content has been marked as final.
Show 3 replies
-
1. Re: BypassInterceptors
swd847 May 21, 2009 7:15 AM (in response to mvreddy.madhu)A component that is annotated with BypassInterceptors will not have access to any of the services that seam provides using intereceptors, such as bijection and transaction management. The main reason for using this is to improve performance.
-
2. Re: BypassInterceptors
toddiuszho.babyduck2000.hotmail.com Oct 13, 2010 6:34 PM (in response to mvreddy.madhu)Does this include bypassing initialization of the component itself inside components.xml?
Java source:
package com.example; ... @BypassInterceptors public class Foo { public void setBars(List<Integer> bars) {...} ... }
components.xml
<component name="foo" class="com.example.Foo"> <property name="bars"> <value>1</value> <value>2</value> <value>3</value> </property> </components>
Would using @BypassInterceptors make my component be populated with bars={1, 2, 3}? Or would this be skipped?
-
3. Re: BypassInterceptors
swd847 Oct 13, 2010 6:42 PM (in response to mvreddy.madhu)That will still work, as components.xml values are set at creation time, unlike injected values.