Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] How can I intercept every call to EntityManager.<somemethod>(arg)

Hello,

I don't know if I understood what you meant but.. does the following
help you?

before() :
execution(* EntityManager.*(..)) {
// ...
}

Regards,

Paulo Zenida




Meir Yanovich wrote:
> Hello all
> Im trying hard to find pattern to intercept every instance in my code 
> Inside methods that is looks like this: 
>
> EntityManager.<some_kind_of_method>(arg(
>
> I need to change the arg in this method and insert new one based on some
> checks 
>
> Thanks allot
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>   

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Back to the top