The call-by-value element was not being read correctly. This is simply a shortcut for 
specifying the call by value invoker interceptor stack. This example from the 
testsuite shows the custom call-by-value-jrmp invoker-proxy-binding that serializes 
calls between components:


  | <?xml version="1.0" encoding="UTF-8"?>
  | 
  | <jboss>
  |    <enterprise-beans>
  |       <session>
  |          <ejb-name>CalleeSessionBean</ejb-name>
  |          <jndi-name>ejbcts2/CalleeSessionHome</jndi-name>
  |          <invoker-bindings>
  |             <invoker>
  |                
<invoker-proxy-binding-name>call-by-value-jrmp</invoker-proxy-binding-name>
  |             </invoker>
  |          </invoker-bindings>
  |       </session>
  |    </enterprise-beans>
  | 
  |    <invoker-proxy-bindings>
  |       <invoker-proxy-binding>
  |          <name>call-by-value-jrmp</name>
  |          <invoker-mbean>jboss:service=invoker,type=jrmp</invoker-mbean>
  |          <proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
  |          <proxy-factory-config>
  |            <client-interceptors>
  |               <home>
  |                  <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
  |                  <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
  |                  <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
  |                  
<interceptor>org.jboss.invocation.ByValueInvokerInterceptor</interceptor>
  |               </home>
  |               <bean>
  |                  
<interceptor>org.jboss.proxy.ejb.StatelessSessionInterceptor</interceptor>
  |                  <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
  |                  <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
  |                  
<interceptor>org.jboss.invocation.ByValueInvokerInterceptor</interceptor>
  |               </bean>
  |            </client-interceptors>
  |          </proxy-factory-config>
  |       </invoker-proxy-binding>
  |    </invoker-proxy-bindings>
  | 
  | </jboss>
  | 
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842904#3842904

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842904


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to