0 Replies Latest reply on Aug 25, 2006 3:08 PM by me bob

    Custom Interceptors

    me bob Newbie

      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


      <invoker-proxy-binding>
      <name>stateless-rmi-invoker</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 call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
      <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
      </home>
      <bean>
      <interceptor>com.dlens.security.DLWAuthorizationInterceptor</interceptor> <!-- added here! -->
      <interceptor>org.jboss.proxy.ejb.StatelessSessionInterceptor</interceptor>
      <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
      <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
      <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
      <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
      </bean>
      </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