3 Replies Latest reply on May 20, 2003 1:03 AM by thomasra

    Client interceptor dependencies

    thomasra

      What is a recommended way of doing client-side interceptors that require other classes when not running in-vm?

        • 1. Re: Client interceptor dependencies
          bill.burke

          > What is a recommended way of doing client-side
          > interceptors that require other classes when not
          > running in-vm?

          With AOP remoting you can specify a stack of interceptors to add to the created proxy. Currently,
          JBoss AOP does not work standalone. We hope to alleviate soon.

          Can you expand on your requirements? How exactly do you want it to function? Thanks.

          • 2. Re: Client interceptor dependencies
            thomasra

            Thanks for the quick response, Bill.

            Yeah, I've been using the interceptor stack for a while, but I had a couple of questions about some things I want to do. First, I would like the client-side interceptor to have a configuration. How would I do that, since the configuration would most likely not be passed on in the stack? Could it be initialized on the server side before being passed to the client? (Is that in fact how it works?)

            ...and this also brings me to interceptors on the client side that require the use of other classes (not interceptors). How would this work, since those classes are possibly not in the client vm.

            • 3. Re: Client interceptor dependencies
              thomasra

              Could a 3.x client-side interceptor implement XmlLoadable like the HEAD server-side interceptors can, be instantiated on the server and thereby acquire configuration data?