regular Java class, so it can work
with that instance.
- Last, but not least, I would like to do this from Eclipse 3.2 with
AJDT installed. I could not come up with a project and start
configuration properly addressing this issue.
Regards
--
Alexander Kriegisch
If it uses AspectJ, it *does* need the aspectjrt.jar.
Yes, and by the way, Marcos: the 'rt' in 'aspectjrt' means 'runtime',
becaute the library is needed - you may have guessed already - at
runtime. ;-)
I'm trying to create a jar file from two projects, one java project
and one aspectj
' pointcuts might be
what you are looking for, others might be helpful as well, depending on
what you are trying to do and to intercept (calls, executions,
initialisations, exceptions, ...).
--
Alexander Kriegisch
___
aspectj-users mailing list
aspectj
in the stackoverflow.com link [1] I posted in my original
question here, I have solved the problem in a rather ugly way via an
extended (parametrisable) version of Ramnivas Laddad's worker object
pattern. But actually this is not what I want because it feels really
inelegant.
--
Alexander Kriegisch
to Andy Clement:
There is always a way to work around limitations, and I found one. But
work-arounds are (at least for me) also always some kind of mental
breakpoint to stop and think about possible alternatives which might
not even exist yet, but be desireable.
Regards
--
Alexander Kriegisch
.
--
Alexander Kriegisch
___
aspectj-users mailing list
aspectj-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/aspectj-users
, but *not*
pass them through (i.e. catch them)?
c) just avoid code duplication with try/catch blocks in your test
cases?
d) anything else?
--
Alexander Kriegisch
xianglong, 30.08.2012 11:46:
could you help me to make a simple demo of my example ?(caseName is a
method name of one testcase)
I
Like this?
# some JUnit 4 tests #
package de.scrum_master.aop.demo;
import static org.junit.Assert.*;
import org.junit.Test;
public class MyTestCase {
@Test public void testOne() {
assertEquals(scrum-master.de, scrum- + master + .de);
}
@Test public void testTwo()
?
Sorry, this is my first time being so deep into the internal LTW process.
--
Alexander Kriegisch
Silviu Andrica wrote in 2009:
Hello,
I looked through AspectJ's Load Time Weaver and I combined it with your code
suggestion.
This is what I got out
import
classloader and load a class with the same
package and class name in an isolated container, but that is another story.
--
Alexander Kriegisch
Am 11.09.2012 um 08:51 schrieb Valerian Galeru v.gal...@interconcept.de:
What about class name conflict: how decides JVM which class to take (it will
be one
Cool idea. I would be guessing this might not be the highest priority in
AspectJ development, considering other parts of AspectJ and especially AJDT
that need attention, but still if you ask WDYT: cool. ;-)
--
Alexander Kriegisch
Am 05.10.2012 um 16:56 schrieb Matthew Adams matt
(), which is wrong. In order to pass arguments to proceed() you need to
refer to them via args(), which I have demonstrated above. Please note the
syntax for retrieving the first vs. second String argument in the two aspects.
This should solve your problem.
--
Alexander Kriegisch
Certified Scrum
As an alternative if you do not lile the Map idea, you might want to use a
non-singleton instantiation model like perthis or pertarget in combination
with a normal (non-static) member variable for the Timer.
Alexander Kriegisch
http://scrum-master.de
Am 06.11.2012 um 11:31 schrieb Romain
code right now, but
maybe you knkw where to go from here by reading documentation or googling. :-)
--
Alexander Kriegisch
Am 23.11.2012 um 11:10 schrieb Brian Toal brian.t...@gmail.com:
I want to share contextual information between Around advice invocations for
the same thread. For example
Speculation. Just give it a try. There are other workarounds, but clean code is
also something IMHO. ;)
Alexander Kriegisch
Am 23.11.2012 um 17:11 schrieb Brian Toal brian.t...@gmail.com:
My concern with thread local is the cost of gets and puts.
I'm not sure If the per* solution will help
in my tracing classes.
2) Just give thisEnclosingJoinPointStaticPart a try. Might be just right for
your special case.
Alexander Kriegisch
Am 23.11.2012 um 18:51 schrieb Brian Toal brian.t...@gmail.com:
In my case I'm willing to trade off clean code for performance. Can you
elaborate
actually be fun to
try and measure the respective effects. ;-)
Alexander Kriegisch
Am 23.11.2012 um 20:47 schrieb Brian Toal brian.t...@gmail.com:
Thanks Alexander,
The benchmarks I've seen show thread local get/put take ~30ns per call. To
be fair I need to validate this my self
. ;-)
Alexander Kriegisch
Am 23.11.2012 um 17:11 schrieb Brian Toal brian.t...@gmail.com:
My concern with thread local is the cost of gets and puts.
I'm not sure If the per* solution will help as it would create a lot of
garbage if aspect instances are generated at a high frequency.
On Friday
And if you want to detect myMethod() on A and all its subclasses, overridden or
not, use this:
execution(* mypackage.A+.myMethod())
--
Alexander Kriegisch
Am 07.12.2012 um 22:48 schrieb Andy Clement andrew.clem...@gmail.com:
Yep that is normal behaviour. The joinpoint for the method is only
, it is not possible.
2. Would this be possible to implement? How? Effort?
3. Is something like this planned for future AspectJ versions?
I cannot speak for the developers, but I do not think you will ever see this
feature in AspectJ.
Regards
--
Alexander Kriegisch
http://scrum-master.de
in so e rare and special cases, I just think it is way to fine-granular
for AOP purposes. I think your example is rather academic than useful in daily
work.
Alexander Kriegisch
Am 07.01.2013 um 10:34 schrieb M. P. free...@abv.bg:
For example I'd like to be able to select integer subtraction
Maybe you should have a look into other bytecode instrumentation frameworks
such as BCEL, if you need to work on such a low level of granularity. The
effort should be justifiedmfor you if you do have a real world use case and
cannot solve it in another way. Good luck!
Alexander Kriegisch
Am
the Map approach to keep track of object
instantiation and verify that object life cycles are actually as you expect
them to be.
The other way around might also work: use perthis/pertarget for each instance,
but a global map to track the status of equal instances.
Alexander Kriegisch
Am
logging
from within aspects and some in your core code, both using the same Logger
instance? And is your logger identified by something else than the class name?
Alexander Kriegisch
Am 12.02.2013 um 16:11 schrieb Kempff, Malte malte.kem...@de.equens.com:
Hi to all,
I am pretty new to AspectJ
As Matthew said, you could use reflection, but the factory method
Logger.getLogger is probably faster and will return the very same Logger
instance as the one stored in your static field.
As for the AspectJ runtime, you need it at runtime, thus the name.
Alexander Kriegisch
all I would like
private philosophy or wisdom. Still it it my opinion.
Alexander Kriegisch
___
aspectj-users mailing list
aspectj-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/aspectj-users
Would you mind providing some minimal sample code to reproduce the situation?
It is always a good idea to provide the code you ask others to help you fix. ;-)
Alexander Kriegisch
Am 12.03.2013 um 00:23 schrieb Jaco le Roux jabal...@gmail.com:
Hi,
I have an Advice class that declares
actually
compile and run?
Alexander Kriegisch
Am 12.03.2013 um 11:34 schrieb Jaco le Roux jabal...@gmail.com:
Apologies. It was 1:30am and I think my brain turned to jelly after a
long day of doing computery things :)
Here is a sample aspect I am building:
@Aspect
@Configurable
public
there is something obvious I missed, with respect to logging or
advice, something I don't understand. Thank you for the help
nonetheless. I will get back to you with a more concrete example.
On Tue, Mar 12, 2013 at 1:03 PM, Alexander Kriegisch
alexan...@kriegisch.name wrote:
LOL, now you are asking us
)
com.nested.my.concurrent..* is(InnerType)
cheers,
Andy
On 2 April 2013 07:51, Alexander Kriegisch alexan...@kriegisch.name wrote:
com.nested.my.concurrent.*
No, this does neither capture inner classes nor classes in subpackages. You
can capture both
Sorry, it has gotten late here... I totally overlooked the is(InnerType)
part. Mea culpa.
Reminder to myself: read more carefully, then answer. And maybe get some sleep.
Alexander Kriegisch
Am 02.04.2013 um 19:35 schrieb Alexander Kriegisch alexan...@kriegisch.name:
True
(iPad
only here on the road).
@Andy: I guess it would be nice to include is() into the AJ documentation
beyond 1.6.9 release notes, e.g. developer tutorial or cheat sheets like
http://www.eclipse.org/aspectj/doc/released/quick5.pdf.
Alexander Kriegisch
Am 02.04.2013 um 20:00 schrieb Jean
() + ');
}
--
Alexander Kriegisch
http://scrum-master.de
- Original Message -
From: chatell...@codelutin.com
To: aspectj-users@eclipse.org
Date: 05.04.2013 10:40:08
Subject: [aspectj-users] Runtime weaving without agent
Hi,
I'm maintaining a project that is still using unmaintained
Is it just me on my mobile device missing the actual code samples?
Am 05.04.2013 um 17:18 schrieb Matthew Adams matt...@matthewadams.me:
/NB: contrived example; pay attention to form, not substance here, please./
Consider this annotation:
Consider this annotated class:
How do I
My spontaneous impulse upon reading the sugared variant was to dislike it more
than the other one which at least bears schematic similarity to known method
parameter matching patterns.
Alexander Kriegisch
Am 05.04.2013 um 21:53 schrieb Andy Clement andrew.clem...@gmail.com:
As we kind
How about compile-time weaving aspects and (de-)activating them using if()
pointcuts? Try not to overcomplicate your setup, keep it simple.
Alexander Kriegisch
Am 08.04.2013 um 17:45 schrieb Eric Chatellier chatell...@codelutin.com:
Le 05/04/2013 11:15, Alexander Kriegisch a écrit :
Check
if this is what you need or want. It was just a
suggestion.
Alexander Kriegisch
Am 12.04.2013 um 10:57 schrieb Eric Chatellier chatell...@codelutin.com:
Le 08/04/2013 19:31, Alexander Kriegisch a écrit :
How about compile-time weaving aspects and (de-)activating them using if()
pointcuts? Try
Theoretically you can use ajc from aspectjtools.jar and compile on the fly,
even thought this does not sound so nice.
See my answer at http://stackoverflow.com/a/15837624/1082681 for a code sample.
Alexander Kriegisch
Am 16.04.2013 um 14:16 schrieb Ron DiFrango rdifra...@captechconsulting.com
to influence the start parameters of the
target platform.
Now it is your choice. After having chosen, the recipe comes next. There is
no one size fits all, you have options.
Alexander Kriegisch
Am 16.04.2013 um 15:09 schrieb Jean Andre jean.an...@intact.net:
Good morning,
I've dig
you want to try
execution( (@ImmutableCollection (*)) *(..) )
If I am wrong probably Andy Clement or Andrew Eisenberg will correct me anyway.
:-)
Regards
Alexander Kriegisch
Am 06.05.2013 um 19:32 schrieb Jay Roberts puda...@gmail.com:
I have a simple test case that isn't working
The error message says it: You are intercepting a call which does not return
void (but ClassA). Consequently, your around advice should also return ClassA.
Alexander Kriegisch
Am 04.06.2013 um 11:33 schrieb Sojan Mathew sojanmat...@gmail.com:
Hi AspectJ Community Members,
I'm using AOP
() instead of creating arrays and
iterating over them if just your pointcuts were a bit smarter or more precise.
Bottom line: AspectJ is for adding cross-cutting behaviour to your application.
What kind of behaviour do you want?
Kind regards
--
Alexander Kriegisch
http://scrum-master.de
Am 03.07.2013
/
It was much easier than I thought. There is a little how-to at
http://git.eclipse.org/c/aspectj/org.aspectj.git/plain/build/readme-build-and-test-aspectj.html
- enjoy!
--
Alexander Kriegisch
http://scrum-master.de
- Original Message -
From: kurt.peterschm...@pearson.com
To: aspectj
Hello.
With all due respect: Ramnivas has answered the question before on SO quite
patiently. So as not to waste any more of his precious time I recommend you to
- read his answer,
- think again, especially about Q1 and
- learn some basic Java.
Sorry if it sounds rude, but you seem not to
ProceedingJoinPoint is only necessary with @AspectJ syntax, not with native
syntax.
Alexander Kriegisch
Am 17.07.2013 um 17:29 schrieb Archie Cobbs arc...@dellroad.org:
Thank you both for the very helpful suggestions.
It appears that the following simple pattern works
Invalid absolute type name kind of says it all. Try java.util.ArrayList
instead.
Alexander Kriegisch
http://scrum-master.de
Am 12.08.2013 um 01:11 schrieb ujuarez ujuare...@gmail.com:
Hi guys,
I’m getting the message “no match for this type name: ArrayList
[Xlint:invalidAbsoluteTypeName
-Daj.weaving.loadersToSkip=org.apache.felix.framework.ModuleImpl\$ModuleClassLoader,org.springframework.osgi.util.BundleDelegatingClassLoader
Have you really done that?
Alexander Kriegisch
http://scrum-master.de
Am 12.08.2013 um 05:15 schrieb Eric Benzacar e...@benzacar.ca:
export CATALINA_OPTS
What Laddad calls an object identifier is just the variable name a context
object is bound to in a pointcut via args(), this() or target().
--
Alexander Kriegisch
http://scrum-master.de
Am 31.08.2013 um 14:43 schrieb Jozsef Hegedus jhegedu...@gmail.com:
Dear List members,
Laddas' is using
trouble.
--
Alexander Kriegisch
Am 07.11.2013 um 21:56 schrieb Jonathan Mace jcm...@cs.brown.edu:
Thanks for your response Andy.
Consider the following alternative approach to 'marking' the instances I'm
interested in. I maintain a WeakHashSetFilterInputStream to reference all
input
rt.jar.
--
Alexander Kriegisch
Am 07.11.2013 um 23:22 schrieb Alexander Kriegisch alexan...@kriegisch.name:
Your intention is to profile low level calls. Whether you like it or not, I
think weaving rt.jar is the best choice because it does not have as much
overhead as the solutions you
finally publish it sometime
during the weekend. In today's light I would have tried to mavenise the
approach than describe how to do it manually. But I guess it might be helpful
even so.
--
Alexander Kriegisch
Am 07.11.2013 um 23:58 schrieb Jonathan Mace jcm...@cs.brown.edu:
Thanks
Oh, I just read this message after answering the previous one. Only to produce
output for woven files sounds like a smart idea. I would love to see that as a
feature.
--
Alexander Kriegisch
Am 08.11.2013 um 01:53 schrieb Andy Clement andrew.clem...@gmail.com:
Before I previously responded
packages or classes or if you want to
match boolean methods returning false, int methods returning 0 etc.
--
Alexander Kriegisch
Sean Patrick Floyd schrieb am 06.01.2014 14:53:
Hi,
is there any way for me to match return null statements statically?
I would like to create a policy enforcement
using a byte code analyser, I recommend Findbugs.
--
Alexander Kriegisch
Am 06.01.2014 um 15:50 schrieb Sean Patrick Floyd seanpfl...@googlemail.com:
On 06.01.2014 15:26, Alexander Kriegisch wrote:
You can neither match return null nor assignments to local variables, only
assignments
One '*' too many.
Furthermore, I guess 'connection' is a variable. A valid method signature
should contain a class name, though.
--
Alexander Kriegisch
Am 07.01.2014 um 07:53 schrieb Shanmuga Priya R
shanmugapriya1...@cse.ssn.edu.in:
Hi,
I created web services using java
Hi Krishna.
You mean catch, not cache.
What you can do is intercept the method which is actually throwing the
exception if it is accessible/weavable for you. I.e. if that joinpoint is in an
external library, you need to weave the library. If it is in the JRE, you need
to weave the JRE. That
option
-Xbootclasspath/p:path/to/my_rt.jar
Think twice before doing that, is my advice.
--
Alexander Kriegisch
http://scrum-master.de
Am 10.01.2014 um 10:01 schrieb Krishna Jasty krishna.ja...@tcs.com:
Hi,
Yes Catch, i did the correction in below code snippet.
Yes i want to weave
nice. KISS! Keep it really
simple. ;-)
--
Alexander Kriegisch
Am 06.02.2014 um 17:59 schrieb Muhammad Adinata mail.die...@gmail.com:
Hello!
Thanks for very fast response.
Alexander,
I'm currently trying to generate an aspect based from annotation information
in java source code
strongly support.
Unit tests and more integrarive tests are not mutually exclusive, both of them
are needed and - pun intended - just different aspects of testing.
Having said that, I am failing to see a contradiction between my suggestion and
yours, dear Félix.
--
Alexander Kriegisch
Am
Am 06.02.2014 um 23:02 schrieb Félix-Antoine Bourbonnais
fbourbonn...@rubico.info:
Having said that, I am failing to see a contradiction between my suggestion
and yours, dear Félix.
There is none... I was just exposing my thoughts and the alternatives. :)
Sorry if my comment was
though, so if you
want to stay there I cannot help.
--
Alexander Kriegisch
http://scrum-master.de
Am 14.05.2014 um 16:47 schrieb Andy Clement andrew.clem...@gmail.com:
The build process really ought to be cleaned, though...
Couldn't agree more - and the whole build should be automated
Hello,
I hope it is not against this group's etiquette to link to a new
Bugzilla ticket:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=435446
If anybody can comment on the problem here or on Bugzilla, thanks in
advance.
--
Alexander Kriegisch
http://scrum-master.de
smime.p7s
Description: S
). ;-)
--
Alexander Kriegisch
http://scrum-master.de
smime.p7s
Description: S/MIME Cryptographic Signature
___
aspectj-users mailing list
aspectj-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/aspectj-users
:
pointcut jdkType() :
if(thisJoinPointStaticPart.getSignature().getDeclaringTypeName().startsWith(java.));
But for the reasons I mentioned on StackOverflow this does not (and cannot)
work reliably for two out of four cases.
Thank you anyway :-)
--
Alexander Kriegisch
http://scrum-master.de
Andy
An afterthought: As for Signature.getDeclaringTypeName(), the acceptance
criteria do not seem to involve
Am 23.05.2014 um 00:55 schrieb Alexander Kriegisch
alexan...@kriegisch.name:
Okay, so you had the same thoughts ('if' pointcut and stacktrace check) as I
and also the same results
to enhance
that method, add a toggle or similarly named method for dynamic resolution?
Alexander Kriegisch schrieb am 23.05.2014 00:55:
Okay, so you had the same thoughts ('if' pointcut and stacktrace check) as I
and also the same results. We would need something like a sneek peek towards
method
Actually and unfortunately, contrary to your assumption
Signature.getDeclaringType() does not yield the same type as
thisJoinPoint.getTarget().getClass().
That isn't exactly what I was saying. I was saying this new method
you wanted to add, how would its return value differ from
which involves Java Dynamic Proxies
and/or CGLIB proxies.
Regards
--
Alexander Kriegisch
http://scrum-master.de
马leon schrieb am 04.06.2014 11:10:
I know there're 3 ways to weaving: compile-time, post compile time and
load-time
I'd like to know is there any performance comparison
I think this is not possible. But maybe Andy Clement knows better. It would not
be the first time he surprised me. Meanwhile, check out my workaround at
http://stackoverflow.com/a/24797868/1082681.
--
Alexander Kriegisch
http://scrum-master.de
Eric B schrieb am 17.07.2014 07:12:
Thanks
ugly, but it was fun to develop.
Hopefully someone else can come up with something better.
--
Alexander Kriegisch
http://scrum-master.de
Eric B schrieb am 16.07.2014 18:51:
I've posted this question on StackOverflow
(http://stackoverflow.com/q/24786391/827480
http://stackoverflow.com/q
to work nicely AFAIK. I even
found and answered a related question on StackOverflow, not without giving you
credit for pointing me to the solution:
http://stackoverflow.com/a/25543865/1082681
Best regards
--
Alexander Kriegisch
http://scrum-master.de
Andy Clement schrieb am 28.08.2014 00:38:
I
quick hints/questions to get us started.
--
Alexander Kriegisch
http://scrum-master.de
Am 17.09.2014 um 14:02 schrieb ajUnit ajunit.cont...@fail-early.com:
Hello,
I've got a strange compiler crash (using aspectj maven plugin). After
correcting an mistake (no compiler has been prodcued
problem) or even the
Java version (downgraded quick dirty to Java 1.7 incl. a few source code
changes). The ajc core dump always occurs.
Alexander Kriegisch schrieb am 17.09.2014 14:24:
I have not cloned the repo yet (I have no access to a PC now), but have a
question: You seem
. It seems that
only the before aspect has no problem at all.
thx for your support, anyway.
Marko
Am 17.09.2014 um 15:08 schrieb Alexander Kriegisch
alexan...@kriegisch.name:
Okay, I tried via remote access from my tablet and cloned the repo. I
guess you have uncovered
Yes, the default compliance level is 1.4 according to
http://mojo.codehaus.org/aspectj-maven-plugin/compile-mojo.html#complianceLevel,
even in the current plugin version 1.7 (you still use 1.5, I recommend an
update there as well, not just in the AspectJ runtime).
--
Alexander Kriegisch
http
I forgot to mention that AspectJ Maven Plugin 1.7 automatically uses
aspectjtools 1.8.2 by default, see
http://mojo.codehaus.org/aspectj-maven-plugin/dependencies.html
Am 14.10.2014 um 23:19 schrieb Alexander Kriegisch alexan...@kriegisch.name:
Yes, the default compliance level is 1.4
such a feature in the future?
--
Alexander Kriegisch
http://scrum-master.de
___
aspectj-users mailing list
aspectj-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo
the mocks' existence within the
compiler would be the magic solution for me - you would have all the work, I
would have none ;-) - but I guess that this is too esoteric for me to ever
expect you to take time to implement it.
Thanks for your thoughts and great ideas.
--
Alexander Kriegisch
/SO_AJ_MavenMultiModule
Andy, I would appreciate your feedback. Maybe you have ideas about how to make
it even simpler or more elegant.
Cheers
--
Alexander Kriegisch
http://scrum-master.de
Alexander Kriegisch schrieb am 27.10.2014 09:14:
I finally got around to trying the ITD/interfac/decp
overweening
You made my day. I am so tired, but this was funny. :)))
___
aspectj-users mailing list
aspectj-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
to actually switch on my home office PC (which can be days
from now). My hint is just quick and first-aidish.
Regards
--
Alexander Kriegisch
http://scrum-master.de
Am 04.03.2015 um 17:05 schrieb Savoja Luca luca.sav...@studenti.unimi.it:
Hello everyone,
I found a situation where i get
for each method declared
by the interface.
--
Alexander Kriegisch
http://scrum-master.de
Am 05.03.2015 um 11:33 schrieb Savoja Luca luca.sav...@studenti.unimi.it:
Hi and thanks for the reply,
Well I think that adding an interface with declare parents and not specifying
an implementation
to override the plugin
dependency to aspectjtools with version 1.8.3 and see if solves the problem.
An example for overriding the plugin dependency can be found here:
https://github.com/kriegaex/SO_AJ_MavenMultiModule/blob/master/pom.xml#L54
--
Alexander Kriegisch
http://scrum-master.de
Am
Romain,
I was just curious, it is not necessary to dig deeper. It was just an idea, I
did not expect it to work anyway. Compilation errors exist for a reason. ;-)
--
Alexander Kriegisch
http://scrum-master.de
Romain Primet schrieb am 11.04.2015 15:03:
Le 11/04/2015 14:47, Alexander
which rely on each other's methods being present. It does not show any
errors during compilation from either Eclipse or command line though. So
probably you need to analyse the real project. To me it definitely looks like a
bug.
Regards
--
Alexander Kriegisch
http://scrum-master.de
Andy
in a simple project, but have failed to do so.
Do you have a test case for it? Well, probably I should just look at your Git
repo and check the latest commits (if you have pushed them already).
Regards
--
Alexander Kriegisch
Schillerplatz 6, 91315 Höchstadt, Germany
Tel +49 (9193) 52 76, Mob +49 (176
Hi Eric.
Please find my answer at http://stackoverflow.com/a/30954233/1082681. Basically
I have added a default M2E lifecycle mapping for AspectJ Maven Plugin and now
it works.
Enjoy
--
Alexander Kriegisch
http://scrum-master.de
Eric B schrieb am 20.06.2015 21:43:
Hi Alexander
Hi Sina.
I have answered about a week ago on StackOverflow, maybe you have not noticed:
http://stackoverflow.com/a/30828293/1082681
Regards
--
Alexander Kriegisch
http://scrum-master.de
Sina schrieb am 01.06.2015 20:13:
Hi Andy,
In fact my SampleImpl class is a stateless EJB which
I have one or two test cases somewhere, not for my own use but rather prepared
to answer other people's questions. Maybe I can quickly run them during the
weekend. Probably the coverage will be rather superficial though, especially
with regard to Java 8 features.
--
Alexander Kriegisch
Am
snapshot based on Eclipse Mars.
Regards
--
Alexander Kriegisch
http://scrum-master.de
___
aspectj-users mailing list
aspectj-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https
I do not know which post you are referring to, but I have just created this
ticket:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=471347
Feel free to improve the description, I could only vaguely describe it in the
subject.
--
Alexander Kriegisch
http://scrum-master.de
Andy Clement schrieb
defined value will be used.
Maybe this helps.
--
Alexander Kriegisch
http://scrum-master.de
Am 26.08.2015 um 13:29 schrieb Rallavagu rallav...@gmail.com:
After making aop.xml available to classloader by copying it into
WEB-INF/classes/META-INF it is picked up. However, none
.. Includes sub-packages, while . does not.
--
Alexander Kriegisch
http://scrum-master.de
Am 27.08.2015 um 05:10 schrieb Rallavagu rallav...@gmail.com:
After a long debug session it turns out that the include config was
incorrect.
Changed include within=com.sample.* / to include
I am afraid you posted your Java class twice, but the aspect not at all.
--
Alexander Kriegisch
http://scrum-master.de
> Am 07.09.2015 um 18:13 schrieb xeonmailinglist <xeonmailingl...@gmail.com>:
>
> Hi,
>
> I am developing my first AspectJ example, and I want to
Yes, kind of. You do not want to trace all flows because it would be expensive,
slow and a lot of information. Maybe your container also offers nice tracing
options. You want to fine-tune your pointcuts so as to pick out just the stuff
you are interested in.
Good luck :-)
--
Alexander
in
order to (de-)activate advice execution at will during runtime.
Regards
--
Alexander Kriegisch
http://scrum-master.de
> Am 08.09.2015 um 09:46 schrieb xeon Mailinglist <xeonmailingl...@gmail.com>:
>
> I forgot to mention that the mapreduce jar is in byte code. If the answer to
Please read Spring manual, chapter 10.8, in order to learn how to use full
AspectJ via load-time weaving from within Spring. LTW works for non-Spring
classes as well because it does not rely on dynamic proxies as simple Spring
AOP does.
--
Alexander Kriegisch
http://scrum-master.de
Am
Yes, it is, so it is good enough for logging, copying etc. But if you want to
modify the result before passing it on to the caller you need to use an
'around' advice.
--
Alexander Kriegisch
http://scrum-master.de
> Am 16.09.2015 um 15:59 schrieb Rallavagu <rallav...@gmail.com>:
, only AspectJ Maven.
@Andy Clement: Please also read my comment there because the '-parameters' support in Ajc seems to be hard-coded. Is this intentional? Is it worth a bug ticket?
Regards
--
Alexander Kriegisch
http://scrum-master.de
Andrei Ivanov schrieb am 26.11.2015 11:46:
Hi
classes, but probably you do not want to go that far. I have done that in
the past just for the fun of it.
--
Alexander Kriegisch
https://scrum-master.de
> Am 20.07.2016 um 05:42 schrieb ants <anto.aravinth@gmail.com>:
>
> Hi All,
>
> Is there a way to hook to thread
1 - 100 of 248 matches
Mail list logo