1 Reply Latest reply on May 17, 2004 5:26 PM by Bill Burke

    Passing parameters to Aspects

    rkadayam Newbie

      Apart from Meta-data is there a provision to define some name-value pairs in the jboss-aop.xml file that could be rendered by the interceptors or advice classes ? It was'nt obvious to me from the documentation. Any possibility of adding that feature ?

      thanks
      -rajiv

        • 1. Re: Passing parameters to Aspects
          Bill Burke Master

          I haven't documented it yet, but if the Interceptor class implements org.jboss.util.xml.XmlLoadable then the importXml will be called at interceptor creation time. I will eventually add this to the creation of aspects as well.

          public interface XmlLoadable
          {
          
           // Public --------------------------------------------------------
           public void importXml(Element element);
          }