9.html
>
> Is it asking for static matching (vs runtime/dynamic matching) in join
> points related to enums, that feels like it could be done without new join
> points, just needs some improvements in the matching algorithm to recognize
> enums in use.
>
> cheers,
> Andy
&g
Hi,
https://bugs.eclipse.org/bugs/show_bug.cgi?id=248681#c2
This was a very old request I raised. I think the comment there means this
is already implemented.
But AJDT doesn't apply the pointcut. Was this implemented ?
Thanks,
Mohan
___
aspectj-users m
not on the list I’m
> afraid.
>
> Could be worth asking on stack overflow about how to achieve what you want
> in Spring AOP.
>
> cheers,
> Andy
>
> On Sep 19, 2016, at 6:42 AM, Mohan Radhakrishnan <
> radhakrishnan.mo...@gmail.com> wrote:
>
> Hi,
>
Hi,
This should be supported. Isn't it. I use Spring Tool Suite
and @EnableAspectJAutoProxy
Thanks,
Mohan
@Pointcut("execution(* com.pearson.nextgen.enterprise.service.CourseService.
getCoursesByInstitutionId(String)) && if()")
public static boolean courseSearch() {
return Bo
t; On Jul 9, 2015, at 12:37 AM, Mohan Radhakrishnan <
> radhakrishnan.mo...@gmail.com> wrote:
>
> I don't see the @DeclareAnnotation warning with this pom.xml
>
> But now I am debugging this field pointcut expressions. Is this correct ?
>
> @Aspect
>
org.aspectj
aspectjtools
1.8.6
Thanks,
Mohan
On Wed, Jul 8, 2015 at 12:16 PM, Mohan Radhakrishnan <
radhakrishnan.mo...@gmail.com> wrote:
> Hi,
>
> I see this warning when I use this code.
>
> @Aspect
> public class InterType {
&
t
it (se
e 'com.hrg.logger.aspect.InterType')
The AspectJ dependency is this
org.aspectj
aspectjrt
1.8.5
org.aspectj
aspectjtools
1.8.5
Thanks,
Mohan
On Wed, Jul 8, 2015 at 11:27 AM,
l 7, 2015 at 9:51 PM, Andy Clement
wrote:
> Not quite sure which bit of syntax you are after, but if you are trying to
> find the annotation style equivalent of "declare @method", I’m afraid there
> isn’t one. It hasn’t been implemented yet.
>
> cheers,
> Andy
>
Hi,
I am introducing JSR 303/349 annotations to JAXB generated code to
leverage the validations mechanism.
@DeclareMethod( "* AccountService.*(..):
@Transactional(Propagation.Required)" );
Is this how it is done ?
Thanks,
Mohan
___
aspectj-use
Hi,
I was following GlassBox inspector for a long time. It has good
AspectJ code to study .Is there anything else like that with a large
AspectJ codebase ?
Thanks,
Mohan
___
aspectj-users mailing list
aspectj-users@eclipse.org
To change your del
ne who might know more but you
> would get more visibility on SO for the question.
>
> cheers,
> Andy
>
> > On Jun 25, 2015, at 6:45 AM, Mohan Radhakrishnan <
> radhakrishnan.mo...@gmail.com> wrote:
> >
> > Hi,
> > Can I ask here instead of SO ? Wh
Hi,
Can I ask here instead of SO ? What are the debugging options in
STS that can help me figure out why the aspect is not applied ? AJDT does
not show the markers. It is a Spring boot AOP starter project. I am trying
to call the weaved code in the Spring bootstrap Java code.
@Component
pu
There is also no support in AspectJ yet for matching on type
> annotations. In your case there you could of course put around advice on
> the call to toCollection().
>
> cheers,
>
> Andy
>
> On 23 September 2014 02:28, Mohan Radhakrishnan <
> radhakrishnan.mo...@gm
Hi,
I have used AspectJ in the past.. I came across this discussion
http://mail.openjdk.java.net/pipermail/mlvm-dev/2013-January/005196.html
Does AspectJ inject behavior into an annotation like this one ?
(e.g) If I have a predicate which is annotated I can intercept the
predicate and inj
Hi,
When will AspectJ support Lambdas ? Will there be community support
required for this engineering effort ?
Thanks,
Mohan
___
aspectj-users mailing list
aspectj-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/aspectj-users
Hi,
I was recently asked if I had come across large-scale business
cross-cutting concerns or use cases. I think the questioner meant AOP
usecases that were more involved than logging, security etc.
Does this question make sense ?
Thanks,
Mohan
_
dback. Probably the first real efforts will happen once Eclipse
> JDT provides Java 8 compilation and AspectJ can pick that up.
>
> cheers,
> Andy
>
>
> On 10 January 2013 18:30, Mohan Radhakrishnan <
> radhakrishnan.mo...@gmail.com> wrote:
>
>> Hi,
>
Hi,
Is there a particular task or support activity required for
supporting lambdas in aspectj at this time ? The other thread "Selecting
arithmetic operation join points. Is it possible?" seemed to indicate that
this is a high priority task.
Thanks,
Mohan
___
Hi Nils,
The following code advices both the constructor and the 'test' method.
Class:
public class Constructor {
public Constructor(){
}
public static void main( String[] argv ){
try{
new
Hi Bhaskar,
I am using a simple around advice. The argument is printed. Is this
simiilar to what you are looking for ?
pointcut test() : call( * com.test.TestClass.test1(..) );
void around() : test(){
System.out.println( thisJoinPoint.getArgs()[ 0
Hi,
I am using 'execution' here but this format shows the markers properly.
pointcut traceGetSQLResultset( Connection dbConn, String sql,
JdbcParm... values) :
Object[][] around(Connection dbConn, String sql, JdbcParm[] values) :
execution( Object[][] *.getResult
Hi,
Don't mean to divert the OP but I just tried this using 1.6.9
and I am not using the annotation style and
pointcut p1() : call(* *.invoke(..)) && !within( is(AnonymousType) );
does not match and
pointcut p1() : call(* *.invoke(..)) && within( is(AnonymousType) );
matc
Hi ,
I remember that I used the ANT task to pre-compile the JSP's first.
The jasper compiler can do that.
Once you do this you get 'generated_web.xml' and the source code of
the servlet. The servlet section from the generated_web.xml can be
included in the web.xml because that is the generate s
It simply inherits it. I
> wish to catch calls to b.m() where b is an instance of class B. thanks
>
> -Arvind
>
>
> Mohan Radhakrishnan wrote:
>>
>> Hi Ashank,
>>
>> Is this pointcut what you are looking for ?
>>
>> pointcut p() : execu
Hi Ashank,
Is this pointcut what you are looking for ?
pointcut p() : execution(* B.m());
public class A {
public void m(){
System.out.println( "Test A" );
}
}
public class B extends A {
public void m(){
System.out.println( "Test B" )
Hi,
This joinpoint matches both methods with Covariant return
types properly. Is it possible to match only one ?
Thanks,
Mohan
declare warning: execution(Collection *.test( .. )) :
"Covariant";
public class CovariantSuper {
public Collection test(){
return null;
Hi,
It would be a good idea to use eclipse and AJDT mentioned in
http://www.eclipse.org/ajdt/gettingstarted.php so that the initial
learning is smooth.
Thanks,
Mohan
On 10/21/08, Varun Gupta <[EMAIL PROTECTED]> wrote:
> Hi all
>
> I have downloaded aspectj-1.6.2.jar file from aspectj.
> I h
Hi,
The following aspect actually shows those arrows to the left. I
have not run it though.
package com.aspect;
import javax.jms.Message;
public aspect MessageDrivenBeanAspect {
pointcut handleException(Message i):
execution (* com.test.plug.*.onMessage(Message)) &&
Hi,
Is this the only way to match a particular enum value ? I thought
there would be a enum wildcard value matching or something like that.
@Pointcut(
"execution(List getSameValue()) && target(testEnum) && if()")
public static boolean testPointcut1( TestEnum testEnum ){
Hi,
Aspectj matches against the erasure (e.g) Erasure of
List is List.
How would AspectJ change if Generics without erasure is
implemented as everyone is demanding it ?
Thanks,
Mohan
___
aspectj-users mailing list
aspectj-users@ecli
Hi,
I tried it and it works. Is the incremental compilation bug
still there ? AJDT still shows that X.TLInterface cannot be resolved
to a type.
Thanks,
Mohan
On 7/8/08, Andy Clement <[EMAIL PROTECTED]> wrote:
> Example:
> --- Test.java ---
> public class Test {
>
> public static voi
Hi,
Good question.
Actually I think some type of AspectJ weaving is already going
on in many popular servers like Portal servers. This weaving can also
affect the code that you write and deploy without you knowing anything
about it. It is tricky. In our case we want to weave into p
Have you tried PointcutDoctor ? http://pointcutdoctor.cs.ubc.ca/
PointcutDoctor provides two kinds of information:
- Almost matched join point (shadows), i.e. jp shadows that are not
matched by the pointcut but very similar to the ones that are matched;
- Highlighting and in-place explanation, i
Hi,
I would like to dynamically undeploy aspects at runtime. I know
that LTW deploys aspects at load time. I had to change the classpath
of WebSphere Portal and restart it so that it detected by new aspects.
Can I deploy and undeploy aspects at runtime ? Something like
OSGI does for
Hi,
How do I deploy and undeploy aspects on a running J2EE server ?
I am using LTW on WebSphere Portal.
Thanks,
Mohan
___
aspectj-users mailing list
aspectj-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/aspectj-users
ice instead.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mohan Radhakrishnan
Sent: Sunday, July 15, 2007 8:32 AM
To: aspectj-users@eclipse.org
Subject: [aspectj-users] AspectJ with aspectwerkz
Hi,
I am not sure which one is the proper forum t
Hi,
I am not sure which one is the proper forum to ask about
using AOP LTW with websphere 6. It is a combination of aspectj and
aspectwerkz and websphere.
I have done the following for the boot classpath approach. java.lang
ClassLoader is patched to preprocess the classes using aspectwerk
wrong version of the files. I will rebuild
and
> post a correct version as soon as possible.
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Mohan
Radhakrishnan
> Sent: Sunday, March 18, 2007 10:28 AM
> To: aspectj-users@eclips
at
aj.weaver.WasWeavingPlugin.preDefineApplicationClass(WasWeavingPlugin.java:34)
at
com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled
Code))
Thanks,
Mohan
On 3/18/07, Mohan Radhakrishnan <[EMAIL PROTECTED]> wrote:
Hi,
I am trying to configure LTW in WebSphere 6.0. I have my
Hi,
I am trying to configure LTW in WebSphere 6.0. I have my aspect
in a JAR with a aop.xml file in the META-INF folder. Is it enough If
this JAR is in the classpath ?
Apart from that I have also done what is mentioned here
https://bugs.eclipse.org/bugs/show_bug.cgi?id=111027
I don'
Hi,
Is there any way to check if aspects match patterns in a .class file
? I think an aspect browser would be helpful if we don't have the source
code.
AJDT can mark places if the Java souce files are there. What about
.class files ?
Thanks,
Mohan
___
d)
Is it possible to bore into the api to trace something like this if we know
only that method 1 exists ?
Thanks,
Mohan
On 12/3/06, Alexandru Popescu <[EMAIL PROTECTED]> wrote:
On 12/3/06, Mohan Radhakrishnan <[EMAIL PROTECTED]> wrote:
> Hi,
> Can we trace a method call
Hi,
Can we trace a method call through the codebase using pointcuts like
this
pointcut callStaticMethod ():
call (* com.test.MyObject.callStaticMethod(..));
before(): callStaticMethod() {
System.out.println( thisJoinPointStaticPart.
getSourceLocation().getWithin
43 matches
Mail list logo