Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] help

You can use a "get()" pointcut with either a "before" or "around" advise.


On Fri, Feb 18, 2011 at 5:33 AM, shahzar shamsi <shahzar.shamsi@xxxxxxxxx> wrote:
Hi,

I m struck with Aspect J. I m new in this and i want to check Non Null for different pojo classes. 
My requirement is to check not-null for some field in different classes

for example: 

public class student{

private String a;
private String b;
                         }



public class teacher{

private String c;
private String d;
                         }

In these classes fields a and d should not be null.

How to implement this with AspectsJ

Thanks in advance. P;ease provide me solution of this.






_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users




--
Ramin

Back to the top