[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[aspectj-users] Hi All ! Got a couple of questions regarding AspectJ
|
HI AspectJ users,
I am new to AOP, so just started to know info about aspectJ. Got
a basic idea with FAQ'S and some paper online. However got few
queries..Hope that you can help me in this regard.. The list follows
** Note:: Here my questions are related to development aspects.
Production aspects can be neglected. Of course few are general
questions.
1. I have compiled my application using javac. I develop few aspects
for this application. I only want to compile the aspects nothing else.
Is it possible?
2. If the answer to the above question is YES, can i use the new byte
code weaver with this aspect binaries and normal .class files [javac
output]??
3. If i want to instrument only few methods, which i dont know at
compile time of the aspect, what should i do? i.e is it possible to
provide pointcuts and advices for an aspect at run time??
i.e. I want only few methods of a particular class to be
instrumented, and i dont know these methods at compile time. I want the
user to select the methods and packages/classes at runtime via UI.
so that I can have a general aspect, which need not be
recompiled.
4. I have compiled sources and aspects with ajc compiler, and if want to
deliver to the customer, without the aspects that were introduced with
the compilation..how can I remove those?? Is selective removal of
aspects possible?? If so could you please let me know the option to be
used.
I hope that you will consider my queries and can help me in this
regard
Thank you
Reddy