2 Replies Latest reply on Feb 4, 2004 4:51 PM by Bill Burke

    "Intercepting interfaces": is it possble with JBossAOP ?

    Maurizio Albari Newbie


      "malbari" wrote:
      "malbari" wrote:
      Is it possible to intercept calls that have as a target a specific interface i.e. all classes that implement such that interface ?

      Let's assume for example that I need to intercept all calls to HttpSession, let's say methods setAttribute and removeAttribute. Each application server have its own implementation of HttpSession (with is an Interface).

      I can discover the implementation only at runtime, with is too late for my needs, and also force my jboss-aop.xml configuration to be application server specific.

      Any idea ?