Hi ,

I knew that , SF language is untyped language. but still i am looking for any work around.

Is there any way to get a "list of all atributes" which is a "TYPE of Component" .


For example,
___________________________________dado_example.sf_______________
myPC0 extends pointcut
    {
    param  "(object key, object o)";
    call "(* Cashe.put(object key, object o))&&";
    not-on  "(jphost)";
    }

    myPC1 extends pointcut
    {
   // sfProcessHost ATTRIB hostA;
    param  "method(..args)";
    execution "method";
    }

    easy_Hook extends hook
    {
  
    pc ATTRIB myPC1;
   pc2 ATTRIB myPC2;
   ..
   ...

    advice ##
            after() {
            System.out.println("after");
            }
        #;
    }
------------------------------------------------------------------------------

in hook.impl class, i would like to get the list of all attributes which is type of pointcut (or which extends pointcut).
(the number of  pc's may vary time to time.)


--
Thanks,
Kumaravel Ganesan
Research Student
Dr.MGR EDUCATIONAL AND RESEARCH INSTITUTE
Chennai , India
email : kumaravel@ieee.org