[jboss-user] [Installation, Configuration & Deployment] - Custom Interceptors

kistler59 do-not-reply at jboss.com
Fri Aug 25 15:08:37 EDT 2006


I'm trying to develop an Interceptor that will be invoked upon executing a method up on an slsb (v2.x)  however, output statements are not printing to the log and therefore I don't think that they are acutally being executed.

I attempted this by adding an interceptor tag in the standardjboss.xml file

anonymous wrote : 
  | <invoker-proxy-binding>
  |   stateless-rmi-invoker
  |   <invoker-mbean>jboss:service=invoker,type=jrmp</invoker-mbean>
  |   <proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
  |   <proxy-factory-config>
  |     <client-interceptors>
  |       
  |         org.jboss.proxy.ejb.HomeInterceptor
  |         org.jboss.proxy.SecurityInterceptor
  |         org.jboss.proxy.TransactionInterceptor
  |         <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor
  |         <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor
  |       
  |       
  |         com.dlens.security.DLWAuthorizationInterceptor  <!--     added here!      -->
  |         org.jboss.proxy.ejb.StatelessSessionInterceptor
  |         org.jboss.proxy.SecurityInterceptor
  |         org.jboss.proxy.TransactionInterceptor
  |         <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor
  |         <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor
  |       
  |     </client-interceptors>
  |   </proxy-factory-config>
  | </invoker-proxy-binding>
  | 

Does anyone have any suggestions or can point me to some good documentation.  and at one point the compiled class was not in the classpath - but i fixed that.

-Keith

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

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



More information about the jboss-user mailing list