Let's take your three types of container (again this is pseudo code): 1) No container
| <bean name="SimpleBean1" bean="org.jboss.test.SimpleBeanImpl"/> | 2) Container per bean type | <bean name="SimpleBeanInterceptors" bean="org.jboss.container.bean.BeanList"> | <bean bean="org.jboss.test.AnInterceptor"/> | <bean bean="org.jboss.test.AnotherInterceptor"/> | </bean> | <bean name="SimpleBean1" | bean="org.jboss.proxy.Proxy"> | <attribute name="interfaces">org.jboss.test.SimpleBean</attribute> | <attribute name="handler"> | <bean bean="org.jboss.container.bean.BeanContainer"> | <attribute name="Interceptors"> | <depends name="SimpleBeanInterceptors"/> | </attribute> | <attribute name="Target"> | <bean bean="org.jboss.test.SimpleBeanImpl"/> | </attribute> | </bean> | </attribute> | </bean> | 3) Container per bean | <bean name="SimpleBean1" | bean="org.jboss.proxy.Proxy"> | <attribute name="interfaces">org.jboss.test.SimpleBean</attribute> | <attribute name="handler"> | <bean bean="org.jboss.container.bean.BeanContainer"> | <attribute name="Interceptors"> | <bean bean="org.jboss.test.AnInterceptor"/> | <bean bean="org.jboss.test.AnotherInterceptor"/> | </attribute> | <attribute name="Target"> | <bean bean="org.jboss.test.SimpleBeanImpl"/> | </attribute> | </bean> | </attribute> | </bean> | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861120#3861120 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861120 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ JBoss-Development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
